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

◆ element_count()

size_t MayaFlux::Kakshya::VolumeField::element_count ( ) const
inline

Number of cells represented, dispatched on variant.

One element per cell in both cases, so this is a cell count and not a component count.

Definition at line 49 of file VolumeData.hpp.

50 {
51 return std::visit(
52 [](const auto& vec) { return vec.size(); },
53 values);
54 }

References values.

Referenced by MayaFlux::IO::VolumeReader::materialize().

+ Here is the caller graph for this function: