cee::pt::DatasetHeader

class DatasetHeader

Format-agnostic metadata for a particle dataset.

Contains the global bounding box, scalar range, frame count, maximum particle count, scalar field names and the currently active scalar field.

The header is populated when the dataset is opened and is progressively refined as frames are read during playback.

See also

ParticleDatasetReader and FrameData

Public Members

uint32_t maxParticleCount = 0
uint32_t frameCount = 0
BoundingBox bbox
float scalarRangeMin = 0.0f
float scalarRangeMax = 0.0f
bool scalarRangeValid = false
std::vector<Str> scalarFieldNames
Str activeScalarField