19 #include "mitkCalculateVolumetryTool.xpm"
40 return mitkCalculateVolumetryTool_xpm;
50 return "Volume could not be calculated for these nodes:";
61 if (image->GetDimension() == 4)
67 volumetryFilter->SetImage(image);
68 volumetryFilter->SetThreshold(1);
71 volumetryFilter->ComputeVolume();
73 float volumeInTimeStep0 = volumetryFilter->GetVolume();
88 Superclass::FinishProcessingAllData();
89 m_ToolManager->NodePropertiesChanged();
#define MITKSEGMENTATION_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
BaseData * GetData() const
Get the data object (instance of BaseData, e.g., an Image) managed by this DataNode.
Image class for storing images.
void SetProperty(const char *propertyKey, BaseProperty *property, const mitk::BaseRenderer *renderer=nullptr)
Set the property (instance of BaseProperty) with key propertyKey in the PropertyList of the renderer ...
Class for nodes of the DataTree.