15 #ifndef __vtkMRMLViewNode_h 16 #define __vtkMRMLViewNode_h 30 void PrintSelf(ostream& os, vtkIndent indent)
override;
42 void WriteXML(ostream& of,
int indent)
override;
52 static double* defaultBackgroundColor();
53 static double* defaultBackgroundColor2();
56 static void GetDefaultBoxColor(
double color[3]);
59 vtkGetMacro(BoxVisible,
int);
60 vtkSetMacro(BoxVisible,
int);
63 vtkSetVector3Macro(BoxColor,
double);
64 vtkGetVector3Macro(BoxColor,
double);
67 vtkGetMacro(AxisLabelsVisible,
int);
68 vtkSetMacro(AxisLabelsVisible,
int);
71 vtkGetMacro(AxisLabelsCameraDependent,
int);
72 vtkSetMacro(AxisLabelsCameraDependent,
int);
75 vtkGetMacro(FiducialsVisible,
int);
76 vtkSetMacro(FiducialsVisible,
int);
78 vtkGetMacro(FiducialLabelsVisible,
int);
79 vtkSetMacro(FiducialLabelsVisible,
int);
82 vtkGetMacro(FieldOfView,
double);
83 vtkSetMacro(FieldOfView,
double);
86 vtkGetMacro(LetterSize,
double);
87 vtkSetMacro(LetterSize,
double);
90 vtkGetMacro(AnimationMode,
int);
91 vtkSetMacro(AnimationMode,
int);
92 static const char* GetAnimationModeAsString(
int id);
93 static int GetAnimationModeFromString(
const char* name);
95 vtkGetMacro(ViewAxisMode,
int);
96 vtkSetMacro(ViewAxisMode,
int);
97 static const char* GetViewAxisModeAsString(
int id);
98 static int GetViewAxisModeFromString(
const char* name);
101 vtkGetMacro(SpinDirection,
int);
102 vtkSetMacro(SpinDirection,
int);
103 static const char* GetSpinDirectionAsString(
int id);
104 static int GetSpinDirectionFromString(
const char* name);
107 vtkGetMacro(SpinDegrees,
double);
108 vtkSetMacro(SpinDegrees,
double);
110 vtkGetMacro(RotateDegrees,
double);
111 vtkSetMacro(RotateDegrees,
double);
114 vtkGetMacro(AnimationMs,
int);
115 vtkSetMacro(AnimationMs,
int);
118 vtkGetMacro(RockLength,
int);
119 vtkSetMacro(RockLength,
int);
122 vtkGetMacro(RockCount,
int);
123 vtkSetMacro(RockCount,
int);
126 vtkGetMacro(StereoType,
int);
127 vtkSetMacro(StereoType,
int);
128 static const char* GetStereoTypeAsString(
int id);
129 static int GetStereoTypeFromString(
const char* name);
132 vtkGetMacro(RenderMode,
int);
133 vtkSetMacro(RenderMode,
int);
134 static const char* GetRenderModeAsString(
int id);
135 static int GetRenderModeFromString(
const char* name);
139 vtkGetMacro(UseDepthPeeling,
int);
140 vtkSetMacro(UseDepthPeeling,
int);
144 vtkGetMacro(FPSVisible,
int);
145 vtkSetMacro(FPSVisible,
int);
149 vtkGetMacro(GPUMemorySize,
int);
150 vtkSetMacro(GPUMemorySize,
int);
158 vtkSetMacro(AutoReleaseGraphicsResources,
bool);
159 vtkGetMacro(AutoReleaseGraphicsResources,
bool);
160 vtkBooleanMacro(AutoReleaseGraphicsResources,
bool);
165 vtkSetMacro(ExpectedFPS,
double);
166 vtkGetMacro(ExpectedFPS,
double);
168 vtkSetMacro(VolumeRenderingQuality,
int);
169 vtkGetMacro(VolumeRenderingQuality,
int);
170 static const char* GetVolumeRenderingQualityAsString(
int id);
171 static int GetVolumeRenderingQualityFromString(
const char* name);
174 vtkGetMacro(RaycastTechnique,
int);
175 vtkSetMacro(RaycastTechnique,
int);
176 static const char* GetRaycastTechniqueAsString(
int id);
177 static int GetRaycastTechniqueFromString(
const char* name);
182 vtkGetMacro(VolumeRenderingSurfaceSmoothing,
bool);
183 vtkSetMacro(VolumeRenderingSurfaceSmoothing,
bool);
189 vtkSetMacro(VolumeRenderingOversamplingFactor,
double);
190 vtkGetMacro(VolumeRenderingOversamplingFactor,
double);
249 VolumeRenderingQuality_Last
261 RaycastTechnique_Last
267 GraphicalResourcesCreatedEvent = 19001,
276 void SetInteracting(
int);
277 vtkGetMacro(Interacting,
int);
278 vtkBooleanMacro(Interacting,
int);
306 vtkGetMacro (LinkedControl,
int );
307 vtkSetMacro (LinkedControl,
int );
308 vtkBooleanMacro(LinkedControl,
int);
315 void SetInteractionFlags(
unsigned int);
316 vtkGetMacro(InteractionFlags,
unsigned int);
int AnimationMode
Parameters of automatic spin.
double ExpectedFPS
Expected frame per second rendered.
void operator=(const vtkMRMLAbstractViewNode &)
virtual vtkMRMLNode * CreateNodeInstance()=0
Create instance of the default node. Like New only virtual.
bool AutoReleaseGraphicsResources
Immediately release graphics resources when they are not in use.
bool VolumeRenderingSurfaceSmoothing
Make surface appearance smoother in volume rendering. Off by default.
int FPSVisible
Show the Frame per second as text on the lower right part of the view.
Abstract MRML node to represent a view. The class holds the properties common to any view type (3D...
void ReadXMLAttributes(const char **atts) override
MRMLNode methods.
int VolumeRenderingQuality
int FiducialLabelsVisible
good image quality at reasonable speed
double VolumeRenderingOversamplingFactor
int StereoType
Parameters for stereo viewing.
int RenderMode
Specifies orthographic or perspective rendering.
unsigned int InteractionFlags
MRML node to represent a 3D view.
vtkMRMLCopyContentMacro(vtkMRMLAbstractViewNode)
void PrintSelf(ostream &os, vtkIndent indent) override
int UseDepthPeeling
Use the depth peeling rendering mode.
virtual const char * GetNodeTagName()=0
high image quality, rendering time is not considered
Abstract Superclass for all specific types of MRML nodes.
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
int RockLength
Parameters of automatic rock.
int AxisLabelsCameraDependent