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 vtkGetMacro(BoxVisible,
int);
57 vtkSetMacro(BoxVisible,
int);
60 vtkGetMacro(AxisLabelsVisible,
int);
61 vtkSetMacro(AxisLabelsVisible,
int);
64 vtkGetMacro(AxisLabelsCameraDependent,
int);
65 vtkSetMacro(AxisLabelsCameraDependent,
int);
68 vtkGetMacro(FiducialsVisible,
int);
69 vtkSetMacro(FiducialsVisible,
int);
71 vtkGetMacro(FiducialLabelsVisible,
int);
72 vtkSetMacro(FiducialLabelsVisible,
int);
75 vtkGetMacro(FieldOfView,
double);
76 vtkSetMacro(FieldOfView,
double);
79 vtkGetMacro(LetterSize,
double);
80 vtkSetMacro(LetterSize,
double);
83 vtkGetMacro(AnimationMode,
int);
84 vtkSetMacro(AnimationMode,
int);
85 static const char* GetAnimationModeAsString(
int id);
86 static int GetAnimationModeFromString(
const char* name);
88 vtkGetMacro(ViewAxisMode,
int);
89 vtkSetMacro(ViewAxisMode,
int);
90 static const char* GetViewAxisModeAsString(
int id);
91 static int GetViewAxisModeFromString(
const char* name);
94 vtkGetMacro(SpinDirection,
int);
95 vtkSetMacro(SpinDirection,
int);
96 static const char* GetSpinDirectionAsString(
int id);
97 static int GetSpinDirectionFromString(
const char* name);
100 vtkGetMacro(SpinDegrees,
double);
101 vtkSetMacro(SpinDegrees,
double);
103 vtkGetMacro(RotateDegrees,
double);
104 vtkSetMacro(RotateDegrees,
double);
107 vtkGetMacro(AnimationMs,
int);
108 vtkSetMacro(AnimationMs,
int);
111 vtkGetMacro(RockLength,
int);
112 vtkSetMacro(RockLength,
int);
115 vtkGetMacro(RockCount,
int);
116 vtkSetMacro(RockCount,
int);
119 vtkGetMacro(StereoType,
int);
120 vtkSetMacro(StereoType,
int);
121 static const char* GetStereoTypeAsString(
int id);
122 static int GetStereoTypeFromString(
const char* name);
125 vtkGetMacro(RenderMode,
int);
126 vtkSetMacro(RenderMode,
int);
127 static const char* GetRenderModeAsString(
int id);
128 static int GetRenderModeFromString(
const char* name);
132 vtkGetMacro(UseDepthPeeling,
int);
133 vtkSetMacro(UseDepthPeeling,
int);
137 vtkGetMacro(FPSVisible,
int);
138 vtkSetMacro(FPSVisible,
int);
142 vtkGetMacro(GPUMemorySize,
int);
143 vtkSetMacro(GPUMemorySize,
int);
151 vtkSetMacro(AutoReleaseGraphicsResources,
bool);
152 vtkGetMacro(AutoReleaseGraphicsResources,
bool);
153 vtkBooleanMacro(AutoReleaseGraphicsResources,
bool);
158 vtkSetMacro(ExpectedFPS,
double);
159 vtkGetMacro(ExpectedFPS,
double);
161 vtkSetMacro(VolumeRenderingQuality,
int);
162 vtkGetMacro(VolumeRenderingQuality,
int);
163 static const char* GetVolumeRenderingQualityAsString(
int id);
164 static int GetVolumeRenderingQualityFromString(
const char* name);
167 vtkGetMacro(RaycastTechnique,
int);
168 vtkSetMacro(RaycastTechnique,
int);
169 static const char* GetRaycastTechniqueAsString(
int id);
170 static int GetRaycastTechniqueFromString(
const char* name);
175 vtkGetMacro(VolumeRenderingSurfaceSmoothing,
bool);
176 vtkSetMacro(VolumeRenderingSurfaceSmoothing,
bool);
182 vtkSetMacro(VolumeRenderingOversamplingFactor,
double);
183 vtkGetMacro(VolumeRenderingOversamplingFactor,
double);
242 VolumeRenderingQuality_Last
254 RaycastTechnique_Last
260 GraphicalResourcesCreatedEvent = 19001,
269 void SetInteracting(
int);
270 vtkGetMacro(Interacting,
int);
271 vtkBooleanMacro(Interacting,
int);
298 vtkGetMacro (LinkedControl,
int );
299 vtkSetMacro (LinkedControl,
int );
300 vtkBooleanMacro(LinkedControl,
int);
307 void SetInteractionFlags(
unsigned int);
308 vtkGetMacro(InteractionFlags,
unsigned int);
int AnimationMode
Parameters of automatic spin.
double ExpectedFPS
Expected frame per second rendered.
good image quality at reasonable speed
high image quality, rendering time is not considered
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
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
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