1 /*=========================================================================
2 
3   Program:   Visualization Toolkit
4   Module:    vtkVolumeNode.h
5 
6   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7   All rights reserved.
8   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10      This software is distributed WITHOUT ANY WARRANTY; without even
11      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12      PURPOSE.  See the above copyright notice for more information.
13 
14 =========================================================================*/
15 /**
16  * @class   vtkVolumeNode
17  * @brief   vtkViewNode specialized for vtkActors
18  *
19  * State storage and graph traversal for vtkActor/Mapper and Property
20  * Made a choice to merge actor, mapper and property together. If there
21  * is a compelling reason to separate them we can.
22  */
23 
24 #ifndef vtkVolumeNode_h
25 #define vtkVolumeNode_h
26 
27 #include "vtkRenderingSceneGraphModule.h" // For export macro
28 #include "vtkViewNode.h"
29 
30 class VTKRENDERINGSCENEGRAPH_EXPORT vtkVolumeNode : public vtkViewNode
31 {
32 public:
33   static vtkVolumeNode* New();
34   vtkTypeMacro(vtkVolumeNode, vtkViewNode);
35   void PrintSelf(ostream& os, vtkIndent indent) override;
36 
37   /**
38    * Build containers for our child nodes.
39    */
40   void Build(bool prepass) override;
41 
42 protected:
43   vtkVolumeNode();
44   ~vtkVolumeNode() override;
45 
46 private:
47   vtkVolumeNode(const vtkVolumeNode&) = delete;
48   void operator=(const vtkVolumeNode&) = delete;
49 };
50 
51 #endif
52