|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| uint32_t MayaFlux::Kakshya::PlotContainer::add_series | ( | std::string | name, |
| uint64_t | count, | ||
| DataDimension::Role | role = DataDimension::Role::CUSTOM, |
||
| DataModality | modality = DataModality::TENSOR_ND |
||
| ) |
Add a named series with a given capacity, zero-initialised.
| name | Series name. Used as the DataDimension name and for lookup. |
| count | Number of samples. Sets the DataDimension size. |
| role | Semantic role of this series. Used by DomainMapping to locate series by axis intent rather than by index. e.g. SPATIAL_X, SPATIAL_Y, SPATIAL_Z, TIME, FREQUENCY, COLOR, CHANNEL, CUSTOM. |
| modality | Data modality of this series. Describes the nature of the scalar sequence: AUDIO_1D for time-domain waveforms, SPECTRAL_2D for frequency bins, SCALAR_F32 for generic scalar data, TENSOR_ND when no closer modality applies. |
Definition at line 38 of file PlotContainer.cpp.
References count, MayaFlux::Kakshya::ContainerDataStructure::dimensions, m_data, m_processed_data, m_structure, MF_INFO, MayaFlux::Kakshya::ContainerDataStructure::modality, MayaFlux::Kakshya::modality_to_string(), and MayaFlux::Kakshya::TENSOR_ND.
Here is the call graph for this function: