Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkMRMLGPURayCastVolumeRenderingDisplayNode.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 __vtkMRMLGPURayCastVolumeRenderingDisplayNode_h
22 #define __vtkMRMLGPURayCastVolumeRenderingDisplayNode_h
23 
24 // Volume Rendering includes
26 
30 class VTK_SLICER_VOLUMERENDERING_MODULE_MRML_EXPORT vtkMRMLGPURayCastVolumeRenderingDisplayNode
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 "GPURayCastVolumeRendering";}
55 
56  // Description:
57  // Ray cast technique
58  vtkGetMacro (RaycastTechnique, int);
59  vtkSetMacro (RaycastTechnique, int);
60 
61 protected:
66 
67  /* techniques in GPU ray cast
68  * 0: composite with directional lighting (default)
69  * 2: MIP
70  * 3: MINIP
71  * */
73 };
74 
75 #endif
76 
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