Slicer  4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkMRMLMeasurementVolume Class Reference

Measurement class calculating Volume enclosed in a ROI. More...

#include <Modules/Loadable/Markups/MRML/vtkMRMLMeasurementVolume.h>

Inheritance diagram for vtkMRMLMeasurementVolume:
Inheritance graph
[legend]
Collaboration diagram for vtkMRMLMeasurementVolume:
Collaboration graph
[legend]

Public Types

typedef vtkMRMLMeasurement Superclass
 
- Public Types inherited from vtkMRMLMeasurement
enum  ComputationResult { NoChange =0, OK, InsufficientInput, InternalError }
 
typedef vtkObject Superclass
 

Public Member Functions

void Compute () override
 Calculate Volume of. More...
 
virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
- Public Member Functions inherited from vtkMRMLMeasurement
virtual void ClearValue (ComputationResult computationResult=NoChange)
 
virtual void Copy (vtkMRMLMeasurement *aEntry)
 Copy one type into another (deep copy) More...
 
virtual void EnabledOff ()
 
virtual void EnabledOn ()
 
std::string GetAsString ()
 Get content of the object as a single machine-readable string. More...
 
virtual vtkDoubleArray * GetControlPointValues ()
 
virtual vtkCodedEntryGetDerivationCode ()
 
virtual std::string GetDescription ()
 Informal description of the measurement. More...
 
virtual bool GetEnabled ()
 
vtkMRMLNodeGetInputMRMLNode ()
 Get input MRML node used for calculating the measurement. More...
 
virtual int GetLastComputationResult ()
 Get last computation result. More...
 
const char * GetLastComputationResultAsPrintableString ()
 Get last computation result as human-readable string. More...
 
virtual vtkCodedEntryGetMethodCode ()
 
virtual std::string GetName ()
 Measurement name. More...
 
virtual std::string GetPrintFormat ()
 Formatting string for displaying measurement value and units. More...
 
virtual vtkCodedEntryGetQuantityCode ()
 
virtual std::string GetUnits ()
 Measurement unit. More...
 
virtual vtkCodedEntryGetUnitsCode ()
 
virtual double GetValue ()
 Measured quantity value. More...
 
virtual bool GetValueDefined ()
 Value defined flag (whether a computed value has been set or not) More...
 
std::string GetValueWithUnitsAsPrintableString ()
 Get measurement value and units as a single human-readable string. More...
 
virtual void Initialize ()
 Reset state of object. More...
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void SetControlPointValues (vtkDoubleArray *inputValues)
 Set the per-control point measurement values. More...
 
void SetDerivationCode (vtkCodedEntry *entry)
 Copy content of coded entry. More...
 
virtual void SetDescription (std::string)
 
virtual void SetEnabled (bool)
 Enabled. More...
 
bool SetFromString (const std::string &content)
 
void SetInputMRMLNode (vtkMRMLNode *node)
 Set input MRML node used for calculating the measurement. More...
 
void SetMethodCode (vtkCodedEntry *entry)
 Copy content of coded entry. More...
 
virtual void SetName (std::string)
 
virtual void SetPrintFormat (std::string)
 
void SetQuantityCode (vtkCodedEntry *entry)
 Copy content of coded entry. More...
 
virtual void SetUnits (std::string)
 
void SetUnitsCode (vtkCodedEntry *entry)
 Copy content of coded entry. More...
 
void SetValue (double value)
 
void SetValue (double value, const std::string &units, const std::string &printFormat, int lastComputationResult)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkMRMLMeasurementVolumeNew ()
 
static vtkMRMLMeasurementVolumeSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkMRMLMeasurement
static int IsTypeOf (const char *type)
 
static vtkMRMLMeasurementSafeDownCast (vtkObject *o)
 

Protected Member Functions

void operator= (const vtkMRMLMeasurementVolume &)
 
 vtkMRMLMeasurementVolume ()
 
 vtkMRMLMeasurementVolume (const vtkMRMLMeasurementVolume &)
 
 ~vtkMRMLMeasurementVolume () override
 
- Protected Member Functions inherited from vtkMRMLMeasurement
void operator= (const vtkMRMLMeasurement &)
 
 vtkMRMLMeasurement ()
 
 vtkMRMLMeasurement (const vtkMRMLMeasurement &)
 
 ~vtkMRMLMeasurement () override
 

Additional Inherited Members

- Protected Attributes inherited from vtkMRMLMeasurement
vtkDoubleArray * ControlPointValues {nullptr}
 Per-control point measurements. More...
 
vtkCodedEntryDerivationCode {nullptr}
 
std::string Description
 
bool Enabled {true}
 
vtkWeakPointer< vtkMRMLNodeInputMRMLNode
 MRML node used to calculate the measurement. More...
 
ComputationResult LastComputationResult {InsufficientInput}
 
vtkCodedEntryMethodCode {nullptr}
 
std::string Name
 
std::string PrintFormat
 
vtkCodedEntryQuantityCode {nullptr}
 
std::string Units
 
vtkCodedEntryUnitsCode {nullptr}
 
double Value {0.0}
 
bool ValueDefined {false}
 

Detailed Description

Measurement class calculating Volume enclosed in a ROI.

Definition at line 29 of file vtkMRMLMeasurementVolume.h.

Member Typedef Documentation

◆ Superclass

Definition at line 33 of file vtkMRMLMeasurementVolume.h.

Constructor & Destructor Documentation

◆ vtkMRMLMeasurementVolume() [1/2]

vtkMRMLMeasurementVolume::vtkMRMLMeasurementVolume ( )
protected

◆ ~vtkMRMLMeasurementVolume()

vtkMRMLMeasurementVolume::~vtkMRMLMeasurementVolume ( )
overrideprotected

◆ vtkMRMLMeasurementVolume() [2/2]

vtkMRMLMeasurementVolume::vtkMRMLMeasurementVolume ( const vtkMRMLMeasurementVolume )
protected

Member Function Documentation

◆ Compute()

void vtkMRMLMeasurementVolume::Compute ( )
overridevirtual

Calculate Volume of.

See also
InputMRMLNode markups ROI node and store the result internally

Implements vtkMRMLMeasurement.

◆ GetClassName()

virtual const char* vtkMRMLMeasurementVolume::GetClassName ( )
virtual

Reimplemented from vtkMRMLMeasurement.

◆ IsA()

virtual int vtkMRMLMeasurementVolume::IsA ( const char *  type)
virtual

Reimplemented from vtkMRMLMeasurement.

◆ IsTypeOf()

static int vtkMRMLMeasurementVolume::IsTypeOf ( const char *  type)
static

◆ New()

static vtkMRMLMeasurementVolume* vtkMRMLMeasurementVolume::New ( )
static

◆ operator=()

void vtkMRMLMeasurementVolume::operator= ( const vtkMRMLMeasurementVolume )
protected

◆ PrintSelf()

void vtkMRMLMeasurementVolume::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
override

◆ SafeDownCast()

static vtkMRMLMeasurementVolume* vtkMRMLMeasurementVolume::SafeDownCast ( vtkObject *  o)
static

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