15 #ifndef __vtkMRMLViewNode_h 16 #define __vtkMRMLViewNode_h 30 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
39 virtual
void ReadXMLAttributes( const
char** atts) VTK_OVERRIDE;
42 virtual
void WriteXML(ostream& of,
int indent) VTK_OVERRIDE;
48 virtual const
char* GetNodeTagName() VTK_OVERRIDE;
51 static
double* defaultBackgroundColor();
52 static
double* defaultBackgroundColor2();
55 vtkGetMacro(BoxVisible,
int);
56 vtkSetMacro(BoxVisible,
int);
59 vtkGetMacro(AxisLabelsVisible,
int);
60 vtkSetMacro(AxisLabelsVisible,
int);
63 vtkGetMacro(AxisLabelsCameraDependent,
int);
64 vtkSetMacro(AxisLabelsCameraDependent,
int);
67 vtkGetMacro(FiducialsVisible,
int);
68 vtkSetMacro(FiducialsVisible,
int);
70 vtkGetMacro(FiducialLabelsVisible,
int);
71 vtkSetMacro(FiducialLabelsVisible,
int);
74 vtkGetMacro(FieldOfView,
double);
75 vtkSetMacro(FieldOfView,
double);
78 vtkGetMacro(LetterSize,
double);
79 vtkSetMacro(LetterSize,
double);
82 vtkGetMacro(AnimationMode,
int);
83 vtkSetMacro(AnimationMode,
int);
84 static const
char* GetAnimationModeAsString(
int id);
85 static
int GetAnimationModeFromString(const
char* name);
87 vtkGetMacro(ViewAxisMode,
int);
88 vtkSetMacro(ViewAxisMode,
int);
89 static const
char* GetViewAxisModeAsString(
int id);
90 static
int GetViewAxisModeFromString(const
char* name);
93 vtkGetMacro(SpinDirection,
int);
94 vtkSetMacro(SpinDirection,
int);
95 static const
char* GetSpinDirectionAsString(
int id);
96 static
int GetSpinDirectionFromString(const
char* name);
99 vtkGetMacro(SpinDegrees,
double);
100 vtkSetMacro(SpinDegrees,
double);
102 vtkGetMacro(RotateDegrees,
double);
103 vtkSetMacro(RotateDegrees,
double);
106 vtkGetMacro(AnimationMs,
int);
107 vtkSetMacro(AnimationMs,
int);
110 vtkGetMacro(RockLength,
int);
111 vtkSetMacro(RockLength,
int);
114 vtkGetMacro(RockCount,
int);
115 vtkSetMacro(RockCount,
int);
118 vtkGetMacro(StereoType,
int);
119 vtkSetMacro(StereoType,
int);
120 static const
char* GetStereoTypeAsString(
int id);
121 static
int GetStereoTypeFromString(const
char* name);
124 vtkGetMacro(RenderMode,
int);
125 vtkSetMacro(RenderMode,
int);
126 static const
char* GetRenderModeAsString(
int id);
127 static
int GetRenderModeFromString(const
char* name);
131 vtkGetMacro(UseDepthPeeling,
int);
132 vtkSetMacro(UseDepthPeeling,
int);
136 vtkGetMacro(FPSVisible,
int);
137 vtkSetMacro(FPSVisible,
int);
141 vtkGetMacro(GPUMemorySize,
int);
142 vtkSetMacro(GPUMemorySize,
int);
145 vtkSetMacro(ExpectedFPS,
double);
146 vtkGetMacro(ExpectedFPS,
double);
148 vtkSetMacro(VolumeRenderingQuality,
int);
149 vtkGetMacro(VolumeRenderingQuality,
int);
150 static const
char* GetVolumeRenderingQualityAsString(
int id);
151 static
int GetVolumeRenderingQualityFromString(const
char* name);
154 vtkGetMacro(RaycastTechnique,
int);
155 vtkSetMacro(RaycastTechnique,
int);
156 static const
char* GetRaycastTechniqueAsString(
int id);
157 static
int GetRaycastTechniqueFromString(const
char* name);
162 vtkGetMacro(VolumeRenderingSurfaceSmoothing,
bool);
163 vtkSetMacro(VolumeRenderingSurfaceSmoothing,
bool);
169 vtkSetMacro(VolumeRenderingOversamplingFactor,
double);
170 vtkGetMacro(VolumeRenderingOversamplingFactor,
double);
229 VolumeRenderingQuality_Last
241 RaycastTechnique_Last
247 GraphicalResourcesCreatedEvent = 19001,
256 void SetInteracting(
int);
257 vtkGetMacro(Interacting,
int);
258 vtkBooleanMacro(Interacting,
int);
284 vtkGetMacro (LinkedControl,
int );
285 vtkSetMacro (LinkedControl,
int );
286 vtkBooleanMacro(LinkedControl,
int);
293 void SetInteractionFlags(
unsigned int);
294 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.
good image quality at reasonable speed
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...
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.
int UseDepthPeeling
Use the depth peeling rendering mode.
Abstract Superclass for all specific types of MRML nodes.
high image quality, rendering time is not considered
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
int RockLength
Parameters of automatic rock.
int AxisLabelsCameraDependent