MeVisLab Toolbox Reference
ml::PagedImageProperties Class Reference

PagedImageProperties extends the MedicalImageProperties with the page extent. More...

#include <mlModuleBackgroundTask.h>

Inheritance diagram for ml::PagedImageProperties:
ml::MedicalImageProperties ml::ImageProperties

Public Member Functions

 PagedImageProperties ()
 
 PagedImageProperties (const PagedImage &pagedImage)
 
const ImageVectorgetPageExtent () const
 Get the page extent. More...
 
- Public Member Functions inherited from ml::MedicalImageProperties
 MedicalImageProperties ()
 Constructor. More...
 
 ~MedicalImageProperties () override
 Destructor. Cleans up dynamically allocated memory. More...
 
 MedicalImageProperties (const MedicalImageProperties &medicalImageProperties)
 Copy constructor from an existing medicalImageProperties object to get a copy. More...
 
MedicalImagePropertiesoperator= (const MedicalImageProperties &medicalImageProperties)
 Assignment operator from an existing edicalImageProperties object to get a copy. More...
 
void setImageProperties (const MedicalImageProperties &medicalImageProperties)
 Sets a copy of the passed image properties medicalImageProperties. More...
 
bool operator== (const MedicalImageProperties &medicalImageProperties) const
 Returns true if *this and medicalImageProperties are identical, otherwise false. More...
 
bool operator!= (const MedicalImageProperties &medicalImageProperties) const
 Returns true if *this and medicalImageProperties differ, otherwise false. More...
 
void setVoxelSize (MLdouble dx, MLdouble dy, MLdouble dz)
 Sets the voxel size to dx, dy and dz. This changes the voxelToWorld matrix. More...
 
void setVoxelSize (const Vector3 &voxelSize)
 Sets the voxel size to voxelSize. The transformation matrix is adapted adequately. More...
 
Vector3 getVoxelSize () const
 Returns the voxel size. More...
 
double getVoxelVolumeInCubicMillimeters () const
 Returns the volume of a single voxel in cubic millimeters (mm3). More...
 
double getVoxelVolumeInMilliliters () const
 Returns the volume of a single voxel in milliliters (ml). More...
 
bool isVoxelToWorldMatrixValid () const
 Shows the validity state of the VoxelToWorldMatrix (default=true=valid). More...
 
void setVoxelToWorldMatrixValid (bool valid)
 Validates/Invalidates the VoxelToWorld matrix by passing true/false as valid. More...
 
const Matrix4getVoxelToWorldMatrix () const
 Returns the voxelToWorld matrix. More...
 
void setVoxelToWorldMatrix (const Matrix4 &matrix)
 Sets the matrix which transforms voxel to world coordinates to matrix. More...
 
const Matrix4getWorldToVoxelMatrix () const
 Returns the worlToVoxel matrix. More...
 
Vector3 mapVoxelToWorld (const Vector3 &voxelPosition) const
 Maps the voxelPosition vector to world coordinates and returns it. More...
 
Vector3 mapWorldToVoxel (const Vector3 &worldPosition) const
 Maps the worldPosition vector to voxel coordinates and returns it. More...
 
void scaleVoxelToWorldMatrix (const Vector3 &scaleFactors)
 Scales the voxelToWorld matrix by the vector scaleFactors and updates the image's voxel size. More...
 
void translateVoxelToWorldMatrix (const Vector3 &offsetVector)
 Translates the voxelToWorld matrix by the offsetVector. More...
 
std::vector< std::string > & getCDimensionInfos ()
 Permits access to the additional information for subimages on the c-, t- and u-dimensions. More...
 
std::vector< DateTime > & getTDimensionInfos ()
 
std::vector< std::string > & getUDimensionInfos ()
 
const std::vector< std::string > & getCDimensionInfos () const
 
const std::vector< DateTime > & getTDimensionInfos () const
 
const std::vector< std::string > & getUDimensionInfos () const
 
ImagePropertyExtensionContainergetImagePropertyContainer ()
 Permits access to the container for user image properties. More...
 
const ImagePropertyExtensionContainergetConstImagePropertyContainer () const
 
- Public Member Functions inherited from ml::ImageProperties
MLEXPORT ImageProperties ()
 Constructor. More...
 
virtual MLEXPORT ~ImageProperties ()
 Virtual destructor to suppress compiler warnings. More...
 
MLEXPORT ImageProperties (ImageVector extent, MLDataType dataType, MLdouble minValue, MLdouble maxValue)
 Constructor to set extent to extent, data type to dataType, minimum value to minValue and maximum value to maxValue. More...
 
MLEXPORT ImageProperties (const ImageProperties &imageProperties)
 Copy constructor from an existing imageProperties object to get an identical copy. More...
 
MLEXPORT ImagePropertiesoperator= (const ImageProperties &imageProperties)
 Assignment operator from an existing imageProperties object to get an identical copy. More...
 
MLEXPORT void setImageProperties (const ImageProperties &imageProperties)
 Copy property parameters from another image property instance imageProperties. More...
 
MLEXPORT bool operator== (const ImageProperties &imageProperties) const
 Returns true if *this and imageProperties are identical, otherwise false. More...
 
MLEXPORT bool operator!= (const ImageProperties &imageProperties) const
 Returns true if *this and imageProperties differ, otherwise false. More...
 
MLEXPORT void setImageExtent (const ImageVector &extent)
 Sets the extent of the (sub)image. More...
 
ImageVector getImageExtent () const
 Returns the extent of the (sub)image. More...
 
SubImageBox getBoxFromImageExtent () const
 Returns size of image as box with origin 0. More...
 
bool hasValidExtent () const
 Returns if the image has a valid extent (which means that all components are greater than 0). More...
 
MLint getNumVoxels () const
 Returns number of voxels in (sub)image. More...
 
MLint getSizeInBytes () const
 Returns number of potential bytes in (sub)image. More...
 
virtual MLEXPORT void setDataType (MLDataType dataType)
 Sets type of data to dataType. More...
 
MLDataType getDataType () const
 Returns the data type of the image. More...
 
void setMinVoxelValue (MLdouble minval)
 Sets assumed minimum value to minval. More...
 
MLdouble getMinVoxelValue () const
 Returns the assumed minimum value in data. More...
 
void setMaxVoxelValue (MLdouble maxval)
 Sets assumed maximum value to maxval. More...
 
MLdouble getMaxVoxelValue () const
 Returns the assumed maximum value in data. More...
 

Protected Attributes

ImageVector _pageExtent
 

Detailed Description

PagedImageProperties extends the MedicalImageProperties with the page extent.

Definition at line 26 of file mlModuleBackgroundTask.h.

Constructor & Destructor Documentation

◆ PagedImageProperties() [1/2]

ml::PagedImageProperties::PagedImageProperties ( )
inline

Definition at line 28 of file mlModuleBackgroundTask.h.

◆ PagedImageProperties() [2/2]

ml::PagedImageProperties::PagedImageProperties ( const PagedImage pagedImage)
inline

Member Function Documentation

◆ getPageExtent()

const ImageVector& ml::PagedImageProperties::getPageExtent ( ) const
inline

Get the page extent.

Definition at line 38 of file mlModuleBackgroundTask.h.

Member Data Documentation

◆ _pageExtent

ImageVector ml::PagedImageProperties::_pageExtent
protected

Definition at line 41 of file mlModuleBackgroundTask.h.


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