20 #ifndef __vtkMRMLMultiVolumeRenderingDisplayNode_h 21 #define __vtkMRMLMultiVolumeRenderingDisplayNode_h 24 #include "vtkSlicerMultiVolumeRenderingModuleMRMLExport.h" 41 void PrintSelf(ostream& os, vtkIndent indent);
51 virtual void WriteXML(ostream& of,
int indent);
59 virtual const char*
GetNodeTagName() {
return "MultiVolumeRenderingParameters";};
74 virtual void ProcessMRMLEvents ( vtkObject *caller,
unsigned long event,
void *callData);
78 vtkGetStringMacro (BgVolumeNodeID);
79 void SetAndObserveBgVolumeNodeID(
const char *volumeNodeID);
83 vtkGetStringMacro (FgVolumeNodeID);
84 void SetAndObserveFgVolumeNodeID(
const char *volumeNodeID);
88 vtkGetStringMacro (LabelmapVolumeNodeID);
89 void SetAndObserveLabelmapVolumeNodeID(
const char *volumeNodeID);
105 vtkGetStringMacro (BgVolumePropertyNodeID);
106 void SetAndObserveBgVolumePropertyNodeID(
const char *volumePropertyNodeID);
110 vtkGetStringMacro (FgVolumePropertyNodeID);
111 void SetAndObserveFgVolumePropertyNodeID(
const char *volumePropertyNodeID);
123 vtkGetStringMacro (BgROINodeID);
124 void SetAndObserveBgROINodeID(
const char *rOINodeID);
128 vtkGetStringMacro (FgROINodeID);
129 void SetAndObserveFgROINodeID(
const char *rOINodeID);
133 vtkGetStringMacro (LabelmapROINodeID);
134 void SetAndObserveLabelmapROINodeID(
const char *rOINodeID);
144 vtkSetMacro(BgCroppingEnabled,
int);
145 vtkGetMacro(BgCroppingEnabled,
int);
146 vtkBooleanMacro(BgCroppingEnabled,
int);
150 vtkSetMacro(FgCroppingEnabled,
int);
151 vtkGetMacro(FgCroppingEnabled,
int);
152 vtkBooleanMacro(FgCroppingEnabled,
int);
156 vtkSetMacro(LabelmapCroppingEnabled,
int);
157 vtkGetMacro(LabelmapCroppingEnabled,
int);
158 vtkBooleanMacro(LabelmapCroppingEnabled,
int);
162 vtkSetMacro(EstimatedSampleDistance,
double);
163 vtkGetMacro(EstimatedSampleDistance,
double);
167 vtkSetMacro(ExpectedFPS,
double);
168 vtkGetMacro(ExpectedFPS,
double);
170 vtkSetMacro(PerformanceControl,
int);
171 vtkGetMacro(PerformanceControl,
int);
179 vtkSetMacro(MultiVolumeRenderingMode,
int);
180 vtkGetMacro(MultiVolumeRenderingMode,
int);
182 vtkGetMacro (GPUMemorySize,
int);
183 vtkSetMacro (GPUMemorySize,
int);
192 IllustrativeContextPreservingExploration
195 vtkGetMacro (BgRaycastTechnique,
int);
196 vtkSetMacro (BgRaycastTechnique,
int);
198 vtkGetMacro (FgRaycastTechnique,
int);
199 vtkSetMacro (FgRaycastTechnique,
int);
208 vtkGetMacro (MultiVolumeFusionMethod,
int);
209 vtkSetMacro (MultiVolumeFusionMethod,
int);
211 vtkGetMacro (BgFgRatio,
float);
212 vtkSetMacro (BgFgRatio,
float);
214 vtkGetMacro(BgFollowVolumeDisplayNode,
int);
215 vtkSetMacro(BgFollowVolumeDisplayNode,
int);
217 vtkGetMacro(FgFollowVolumeDisplayNode,
int);
218 vtkSetMacro(FgFollowVolumeDisplayNode,
int);
220 vtkGetMacro(BgIgnoreVolumeDisplayNodeThreshold,
int);
221 vtkSetMacro(BgIgnoreVolumeDisplayNodeThreshold,
int);
223 vtkGetMacro(FgIgnoreVolumeDisplayNodeThreshold,
int);
224 vtkSetMacro(FgIgnoreVolumeDisplayNodeThreshold,
int);
226 vtkGetMacro(BgVisibility,
bool);
227 vtkSetMacro(BgVisibility,
bool);
229 vtkGetMacro(FgVisibility,
bool);
230 vtkSetMacro(FgVisibility,
bool);
232 vtkGetMacro(LabelmapVisibility,
bool);
233 vtkSetMacro(LabelmapVisibility,
bool);
237 void UpdateVisibility();
248 virtual void SetBgVolumeNodeID(
const char* arg);
252 virtual void SetFgVolumeNodeID(
const char* arg);
256 virtual void SetLabelmapVolumeNodeID(
const char* arg);
260 virtual void SetBgVolumePropertyNodeID(
const char* arg);
264 virtual void SetFgVolumePropertyNodeID(
const char* arg);
268 virtual void SetBgROINodeID(
const char* arg);
272 virtual void SetFgROINodeID(
const char* arg);
276 virtual void SetLabelmapROINodeID(
const char* arg);
vtkMRMLVolumeNode * FgVolumeNode
vtkMRMLAnnotationROINode * FgROINode
vtkMRMLAnnotationROINode * LabelmapROINode
double EstimatedSampleDistance
virtual void Copy(vtkMRMLNode *node) VTK_OVERRIDE
Copy the node's attributes to this object.
char * LabelmapVolumeNodeID
virtual void UpdateReferences() VTK_OVERRIDE
virtual void ProcessMRMLEvents(vtkObject *caller, unsigned long event, void *callData) VTK_OVERRIDE
char * BgVolumePropertyNodeID
int BgFollowVolumeDisplayNode
MultiVolumeRenderingModeType
virtual void UpdateReferenceID(const char *oldID, const char *newID) VTK_OVERRIDE
Update the stored reference to another node in the scene.
vtkMRMLVolumePropertyNode * FgVolumePropertyNode
virtual vtkMRMLNode * CreateNodeInstance()=0
Create instance of the default node. Like New only virtual.
int MultiVolumeRenderingMode
vtkMRMLVolumeNode * LabelmapVolumeNode
int MultiVolumeFusionMethod
int FgIgnoreVolumeDisplayNodeThreshold
A set of MRML Nodes that supports serialization and undo/redo.
vtkMRMLVolumeNode * BgVolumeNode
vtkIntArray * ObservedEvents
char * FgVolumePropertyNodeID
void operator=(const vtkMRMLDisplayNode &)
vtkMRMLAnnotationROINode * BgROINode
int LabelmapCroppingEnabled
MRML node for representing a volume (image stack).
virtual const char * GetNodeTagName()
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual void WriteXML(ostream &of, int indent) VTK_OVERRIDE
vtkMRMLVolumePropertyNode * BgVolumePropertyNode
Abstract class that contains graphical display properties for displayable nodes.
Abstract Superclass for all specific types of MRML nodes.
int BgIgnoreVolumeDisplayNodeThreshold
vtkMRMLVolumePropertyNode contains the transfer functions (scalar opacity, color and gradient opacity...
virtual void UpdateScene(vtkMRMLScene *scene) VTK_OVERRIDE
Finds the storage node and read the data.
int FgFollowVolumeDisplayNode
virtual void ReadXMLAttributes(const char **atts) VTK_OVERRIDE