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 
61  void PrintSelf(ostream& os, vtkIndent indent);
62 
64 
65  virtual void SetViewProp(vtkProp* prop);
68 
70 
78 
81  virtual unsigned long GetMTime();
82 
83 protected:
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
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkAssemblyNode
represent a node in an assembly
Definition: vtkAssemblyNode.h:55
vtkAssemblyNode::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkAssemblyNode::vtkAssemblyNode
vtkAssemblyNode()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:62
vtkAssemblyNode::SetViewProp
virtual void SetViewProp(vtkProp *prop)
vtkAssemblyNode::SetMatrix
void SetMatrix(vtkMatrix4x4 *matrix)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkMatrix4x4
represent and manipulate 4x4 transformation matrices
Definition: vtkMatrix4x4.h:39
vtkRenderingCoreModule.h
vtkObject.h
vtkAssemblyNode::~vtkAssemblyNode
~vtkAssemblyNode()
vtkProp
abstract superclass for all actors, volumes and annotations
Definition: vtkProp.h:50
vtkgl::matrix
GLuint GLenum matrix
Definition: vtkgl.h:16451
VTKRENDERINGCORE_EXPORT
#define VTKRENDERINGCORE_EXPORT
Definition: vtkRenderingCoreModule.h:15
vtkAssemblyNode::GetMTime
virtual unsigned long GetMTime()
vtkAssemblyNode::New
static vtkAssemblyNode * New()