15 #ifndef __vtkMRMLVolumeRenderingDisplayNode_h 16 #define __vtkMRMLVolumeRenderingDisplayNode_h 19 #include "vtkSlicerVolumeRenderingModuleMRMLExport.h" 38 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
44 virtual void WriteXML(ostream& of,
int indent) VTK_OVERRIDE;
49 const char* GetVolumeNodeID();
50 void SetAndObserveVolumeNodeID(
const char *volumeNodeID);
53 const char* GetVolumePropertyNodeID();
54 void SetAndObserveVolumePropertyNodeID(
const char *volumePropertyNodeID);
57 const char* GetROINodeID();
58 void SetAndObserveROINodeID(
const char *roiNodeID);
63 double GetSampleDistance();
65 vtkSetMacro(CroppingEnabled,
int);
66 vtkGetMacro(CroppingEnabled,
int);
67 vtkBooleanMacro(CroppingEnabled,
int);
69 vtkSetVector2Macro(Threshold,
double);
70 vtkGetVectorMacro(Threshold,
double, 2);
72 vtkGetMacro(FollowVolumeDisplayNode,
int);
73 vtkSetMacro(FollowVolumeDisplayNode,
int);
75 vtkGetMacro(IgnoreVolumeDisplayNodeThreshold,
int);
76 vtkSetMacro(IgnoreVolumeDisplayNodeThreshold,
int);
78 vtkGetMacro(UseSingleVolumeProperty,
int);
79 vtkSetMacro(UseSingleVolumeProperty,
int);
81 vtkSetVector2Macro(WindowLevel,
double);
82 vtkGetVectorMacro(WindowLevel,
double, 2);
90 virtual void ProcessMRMLEvents(vtkObject *caller,
unsigned long event,
void *callData) VTK_OVERRIDE;
112 double WindowLevel[2];
static const char * ROINodeReferenceRole
int CroppingEnabled
Flag indicating whether cropping is enabled.
static const char * VolumePropertyNodeReferenceMRMLAttributeName
virtual void Copy(vtkMRMLNode *node) VTK_OVERRIDE
Copy the node's attributes to this object.
int UseSingleVolumeProperty
virtual void ProcessMRMLEvents(vtkObject *caller, unsigned long event, void *callData) VTK_OVERRIDE
static const char * ROINodeReferenceMRMLAttributeName
static const char * VolumeNodeReferenceMRMLAttributeName
static const char * VolumePropertyNodeReferenceRole
static const char * VolumeNodeReferenceRole
int FollowVolumeDisplayNode
Follow window/level and thresholding setting in volume display node.
void operator=(const vtkMRMLDisplayNode &)
MRML node for representing a volume (image stack).
MRML node to represent a 3D view.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual void WriteXML(ostream &of, int indent) VTK_OVERRIDE
Abstract class that contains graphical display properties for displayable nodes.
int IgnoreVolumeDisplayNodeThreshold
Abstract Superclass for all specific types of MRML nodes.
vtkMRMLVolumePropertyNode contains the transfer functions (scalar opacity, color and gradient opacity...
virtual void ReadXMLAttributes(const char **atts) VTK_OVERRIDE