VTK
vtkAssemblyNode.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkAssemblyNode.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 =========================================================================*/
45 #ifndef vtkAssemblyNode_h
46 #define vtkAssemblyNode_h
47 
48 #include "vtkRenderingCoreModule.h" // For export macro
49 #include "vtkObject.h"
50 
51 class vtkProp;
52 class vtkMatrix4x4;
53 
55 {
56 public:
58  static vtkAssemblyNode *New();
59 
60  vtkTypeMacro(vtkAssemblyNode, vtkObject);
61  void PrintSelf(ostream& os, vtkIndent indent);
62 
64 
65  virtual void SetViewProp(vtkProp* prop);
66  vtkGetObjectMacro(ViewProp, vtkProp);
68 
70 
75  void SetMatrix(vtkMatrix4x4 *matrix);
76  vtkGetObjectMacro(Matrix, vtkMatrix4x4);
78 
81  virtual unsigned long GetMTime();
82 
83 protected:
85  ~vtkAssemblyNode();
86 
87 private:
88  vtkProp *ViewProp; //reference to vtkProp
89  vtkMatrix4x4 *Matrix; //associated matrix
90 
91 private:
92  void operator=(const vtkAssemblyNode&); // Not implemented.
93  vtkAssemblyNode(const vtkAssemblyNode&); // Not implemented.
94 };
95 
96 #endif
abstract superclass for all actors, volumes and annotations
Definition: vtkProp.h:52
abstract base class for most VTK objects
Definition: vtkObject.h:61
represent and manipulate 4x4 transformation matrices
Definition: vtkMatrix4x4.h:38
virtual void PrintSelf(ostream &os, vtkIndent indent)
virtual unsigned long GetMTime()
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKRENDERINGCORE_EXPORT
static vtkObject * New()
represent a node in an assembly