15#ifndef __vtkMRMLVolumeRenderingDisplayNode_h
16#define __vtkMRMLVolumeRenderingDisplayNode_h
19#include "vtkSlicerVolumeRenderingModuleMRMLExport.h"
38 void PrintSelf(ostream& os, vtkIndent indent)
override;
44 void WriteXML(ostream& of,
int indent)
override;
72 vtkSetMacro(CroppingEnabled,
int);
73 vtkGetMacro(CroppingEnabled,
int);
74 vtkBooleanMacro(CroppingEnabled,
int);
76 vtkSetVector2Macro(Threshold,
double);
77 vtkGetVectorMacro(Threshold,
double, 2);
79 vtkGetMacro(FollowVolumeDisplayNode,
int);
80 vtkSetMacro(FollowVolumeDisplayNode,
int);
82 vtkGetMacro(IgnoreVolumeDisplayNodeThreshold,
int);
83 vtkSetMacro(IgnoreVolumeDisplayNodeThreshold,
int);
85 vtkGetMacro(UseSingleVolumeProperty,
int);
86 vtkSetMacro(UseSingleVolumeProperty,
int);
88 vtkSetVector2Macro(WindowLevel,
double);
89 vtkGetVectorMacro(WindowLevel,
double, 2);
95 vtkSetClampMacro(ClippingSoftEdgeVoxels,
double, 0.0, VTK_DOUBLE_MAX);
96 vtkGetMacro(ClippingSoftEdgeVoxels,
double);
127 double WindowLevel[2];
129 double ClippingSoftEdgeVoxels{ 0.0 };
Abstract class that contains graphical display properties for displayable nodes.
MRML node to represent an ROI markup.
Abstract Superclass for all specific types of MRML nodes.
A set of MRML Nodes that supports serialization and undo/redo.
vtkMRMLShaderPropertyNode volume shader custom code and custom uniform variables defined by users or ...
MRML node to represent a 3D view.
MRML node for representing a volume (image stack).
vtkMRMLVolumePropertyNode contains the transfer functions (scalar opacity, color and gradient opacity...
int IgnoreVolumeDisplayNodeThreshold
const char * GetVolumeNodeID()
int FollowVolumeDisplayNode
Follow window/level and thresholding setting in volume display node.
vtkMRMLVolumeRenderingDisplayNode(const vtkMRMLVolumeRenderingDisplayNode &)
int CroppingEnabled
Flag indicating whether cropping is enabled.
vtkMRMLShaderPropertyNode * GetShaderPropertyNode()
void PrintSelf(ostream &os, vtkIndent indent) override
static const char * ROINodeReferenceMRMLAttributeName
static const char * ROINodeReferenceRole
vtkMRMLVolumeNode * GetVolumeNode()
vtkMRMLShaderPropertyNode * GetOrCreateShaderPropertyNode(vtkMRMLScene *mrmlScene)
void operator=(const vtkMRMLVolumeRenderingDisplayNode &)
vtkMRMLVolumePropertyNode * GetVolumePropertyNode()
const char * GetVolumePropertyNodeID()
vtkMRMLViewNode * GetFirstViewNode()
int UseSingleVolumeProperty
static const char * VolumePropertyNodeReferenceRole
const char * GetROINodeID()
vtkMRMLMarkupsROINode * GetMarkupsROINode()
void Copy(vtkMRMLNode *node) override
Copy the node's attributes to this object.
static const char * ShaderPropertyNodeReferenceRole
~vtkMRMLVolumeRenderingDisplayNode() override
void SetAndObserveVolumePropertyNodeID(const char *volumePropertyNodeID)
vtkMRMLDisplayableNode * GetROINode()
vtkMRMLAnnotationROINode * GetAnnotationROINode()
Deprecated. Use GetROINode() instead for retrieving the markups ROI node.
vtkMRMLVolumeRenderingDisplayNode()
void SetAndObserveROINodeID(const char *roiNodeID)
double GetSampleDistance()
const char * GetShaderPropertyNodeID()
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
void ProcessMRMLEvents(vtkObject *caller, unsigned long event, void *callData) override
void SetAndObserveShaderPropertyNodeID(const char *shaderPropertyNodeID)
static const char * ShaderPropertyNodeReferenceMRMLAttributeName
void ReadXMLAttributes(const char **atts) override
Set node attributes.
static const char * VolumePropertyNodeReferenceMRMLAttributeName