15 #ifndef __vtkMRMLVolumeRenderingDisplayNode_h 16 #define __vtkMRMLVolumeRenderingDisplayNode_h 19 #include "vtkSlicerVolumeRenderingModuleMRMLExport.h" 39 void PrintSelf(ostream& os, vtkIndent indent)
override;
45 void WriteXML(ostream& of,
int indent)
override;
50 const char* GetVolumeNodeID();
53 const char* GetVolumePropertyNodeID();
54 void SetAndObserveVolumePropertyNodeID(
const char *volumePropertyNodeID);
57 const char* GetShaderPropertyNodeID();
58 void SetAndObserveShaderPropertyNodeID(
const char *shaderPropertyNodeID);
62 const char* GetROINodeID();
63 void SetAndObserveROINodeID(
const char *roiNodeID);
69 double GetSampleDistance();
71 vtkSetMacro(CroppingEnabled,
int);
72 vtkGetMacro(CroppingEnabled,
int);
73 vtkBooleanMacro(CroppingEnabled,
int);
75 vtkSetVector2Macro(Threshold,
double);
76 vtkGetVectorMacro(Threshold,
double, 2);
78 vtkGetMacro(FollowVolumeDisplayNode,
int);
79 vtkSetMacro(FollowVolumeDisplayNode,
int);
81 vtkGetMacro(IgnoreVolumeDisplayNodeThreshold,
int);
82 vtkSetMacro(IgnoreVolumeDisplayNodeThreshold,
int);
84 vtkGetMacro(UseSingleVolumeProperty,
int);
85 vtkSetMacro(UseSingleVolumeProperty,
int);
87 vtkSetVector2Macro(WindowLevel,
double);
88 vtkGetVectorMacro(WindowLevel,
double, 2);
96 void ProcessMRMLEvents(vtkObject *caller,
unsigned long event,
void *callData)
override;
118 double WindowLevel[2];
static const char * ROINodeReferenceRole
vtkMRMLShaderPropertyNode volume shader custom code and custom uniform variables defined by users or ...
MRML node to represent an ROI markup.
void PrintSelf(ostream &os, vtkIndent indent) override
int CroppingEnabled
Flag indicating whether cropping is enabled.
static const char * VolumePropertyNodeReferenceMRMLAttributeName
static const char * ShaderPropertyNodeReferenceMRMLAttributeName
int UseSingleVolumeProperty
static const char * ShaderPropertyNodeReferenceRole
void ReadXMLAttributes(const char **atts) override
static const char * ROINodeReferenceMRMLAttributeName
virtual void Copy(vtkMRMLNode *node)
Copy node contents from another node of the same type. Does not copy node ID and Scene. Performs deep copy - an independent copy is created from all data, including bulk data.
A set of MRML Nodes that supports serialization and undo/redo.
void WriteXML(ostream &of, int indent) override
static const char * VolumePropertyNodeReferenceRole
int FollowVolumeDisplayNode
Follow window/level and thresholding setting in volume display node.
void operator=(const vtkMRMLDisplayNode &)
MRML node for representing a volume (image stack).
void ProcessMRMLEvents(vtkObject *caller, unsigned long event, void *callData) override
MRML node to represent a 3D view.
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...