MeVisLab Toolbox Reference
ml::MultiFileVolumeListImageOutput::OutputImageProperties Struct Reference

Helper container to manage fields related to an image output. More...

#include <mlMultiFileVolumeListImageOutput.h>

Public Member Functions

void addFields (Module &mod, const std::string suffix="")
 Create fields and add their pointers for field container of mod; suffix is appended to all field names to simplify usage for further image outputs. More...
 
void readAndSetFromPagedImage (const PagedImage *pagedImage)
 Reads field contents from pagedImage if that one is not nullptr, otherwise the field values are reset to 0 or empty strings. More...
 

Public Attributes

IntFieldextFld [6] = {nullptr, nullptr, nullptr, nullptr, nullptr, nullptr}
 Image extent of the currently selected volume, defaults are 0. More...
 
IntFieldnumVolVoxelsFld = nullptr
 Shows the number of voxels of the current volume, default is 0. More...
 
StringFielddataTypeFld = nullptr
 String field containing the voxel data type of the currently selected volume, default is "". More...
 
DoubleFieldminVoxelValueFld = nullptr
 This read-only field shows the minimum voxel value in the currently selected volume, default is 0. More...
 
DoubleFieldmaxVoxelValueFld = nullptr
 This read-only field shows the maximum voxel value in the currently selected volume, default is 0. More...
 

Detailed Description

Helper container to manage fields related to an image output.

Definition at line 82 of file mlMultiFileVolumeListImageOutput.h.

Member Function Documentation

◆ addFields()

void ml::MultiFileVolumeListImageOutput::OutputImageProperties::addFields ( Module mod,
const std::string  suffix = "" 
)
inline

Create fields and add their pointers for field container of mod; suffix is appended to all field names to simplify usage for further image outputs.

Definition at line 100 of file mlMultiFileVolumeListImageOutput.h.

References ml::FieldContainer::addDouble(), ml::FieldContainer::addInt(), and ml::FieldContainer::addString().

◆ readAndSetFromPagedImage()

Member Data Documentation

◆ dataTypeFld

StringField* ml::MultiFileVolumeListImageOutput::OutputImageProperties::dataTypeFld = nullptr

String field containing the voxel data type of the currently selected volume, default is "".

Definition at line 90 of file mlMultiFileVolumeListImageOutput.h.

◆ extFld

IntField* ml::MultiFileVolumeListImageOutput::OutputImageProperties::extFld[6] = {nullptr, nullptr, nullptr, nullptr, nullptr, nullptr}

Image extent of the currently selected volume, defaults are 0.

Definition at line 84 of file mlMultiFileVolumeListImageOutput.h.

◆ maxVoxelValueFld

DoubleField* ml::MultiFileVolumeListImageOutput::OutputImageProperties::maxVoxelValueFld = nullptr

This read-only field shows the maximum voxel value in the currently selected volume, default is 0.

Definition at line 96 of file mlMultiFileVolumeListImageOutput.h.

◆ minVoxelValueFld

DoubleField* ml::MultiFileVolumeListImageOutput::OutputImageProperties::minVoxelValueFld = nullptr

This read-only field shows the minimum voxel value in the currently selected volume, default is 0.

Definition at line 93 of file mlMultiFileVolumeListImageOutput.h.

◆ numVolVoxelsFld

IntField* ml::MultiFileVolumeListImageOutput::OutputImageProperties::numVolVoxelsFld = nullptr

Shows the number of voxels of the current volume, default is 0.

Definition at line 87 of file mlMultiFileVolumeListImageOutput.h.


The documentation for this struct was generated from the following file: