Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkMRMLCPURayCastVolumeRenderingDisplayNode.h
Go to the documentation of this file.
1 /*==============================================================================
2 
3  Program: 3D Slicer
4 
5  Copyright (c) Kitware Inc.
6 
7  See COPYRIGHT.txt
8  or http://www.slicer.org/copyright/copyright.txt for details.
9 
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15 
16  This file was originally developed by Julien Finet, Kitware Inc.
17  and was partially funded by NIH grant 3P41RR013218-12S1
18 
19 ==============================================================================*/
20 
21 #ifndef __vtkMRMLCPURayCastVolumeRenderingDisplayNode_h
22 #define __vtkMRMLCPURayCastVolumeRenderingDisplayNode_h
23 
24 // Volume Rendering includes
26 
30 class VTK_SLICER_VOLUMERENDERING_MODULE_MRML_EXPORT vtkMRMLCPURayCastVolumeRenderingDisplayNode
32 {
33 public:
36  virtual void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
37 
38  virtual vtkMRMLNode* CreateNodeInstance() VTK_OVERRIDE;
39 
40  // Description:
41  // Set node attributes
42  virtual void ReadXMLAttributes( const char** atts) VTK_OVERRIDE;
43 
44  // Description:
45  // Write this node's information to a MRML file in XML format.
46  virtual void WriteXML(ostream& of, int indent) VTK_OVERRIDE;
47 
48  // Description:
49  // Copy the node's attributes to this object
50  virtual void Copy(vtkMRMLNode *node) VTK_OVERRIDE;
51 
52  // Description:
53  // Get node XML tag name (like Volume, Model)
54  virtual const char* GetNodeTagName() VTK_OVERRIDE {return "CPURayCastVolumeRendering";}
55 
56  vtkGetMacro (RaycastTechnique, int);
57  vtkSetMacro (RaycastTechnique, int);
58 
59 protected:
64 
65  /* techniques in GPU ray cast
66  * 0: composite with directional lighting (default)
67  * 1: composite with fake lighting (edge coloring, faster)
68  * 2: MIP
69  * 3: MINIP
70  * 4: Gradient Magnitude Opacity Modulation
71  * 5: Illustrative Context Preserving Exploration
72  * */
74 };
75 
76 #endif
77 
virtual vtkMRMLNode * CreateNodeInstance()=0
Create instance of the default node. Like New only virtual.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
void operator=(const vtkMRMLVolumeRenderingDisplayNode &)
Abstract Superclass for all specific types of MRML nodes.
Definition: vtkMRMLNode.h:135