MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ get_topology()

std::optional< PrimitiveTopology > MayaFlux::IO::SpatialReader::get_topology ( const std::string &  stream_name) const

Topology a stream is read as: POINT_LIST or LINE_STRIP.

Returns
nullopt for an unknown stream.

Definition at line 369 of file SpatialReader.cpp.

370{
371 const auto it = m_impl->records.find(stream_name);
372 if (it == m_impl->records.end()) {
373 return std::nullopt;
374 }
375 return it->second.topology;
376}
std::unique_ptr< Impl > m_impl

References m_impl.