Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Common/vtkAssemblyNode.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkAssemblyNode.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00049 #ifndef __vtkAssemblyNode_h 00050 #define __vtkAssemblyNode_h 00051 00052 #include "vtkObject.h" 00053 00054 class vtkProp; 00055 class vtkMatrix4x4; 00056 00057 class VTK_COMMON_EXPORT vtkAssemblyNode : public vtkObject 00058 { 00059 public: 00061 static vtkAssemblyNode *New(); 00062 00063 vtkTypeRevisionMacro(vtkAssemblyNode,vtkObject); 00064 void PrintSelf(ostream& os, vtkIndent indent); 00065 00067 00068 void SetProp(vtkProp *prop); 00069 vtkGetObjectMacro(Prop, vtkProp); 00071 00073 00078 void SetMatrix(vtkMatrix4x4 *matrix); 00079 vtkGetObjectMacro(Matrix, vtkMatrix4x4); 00081 00084 virtual unsigned long GetMTime(); 00085 00086 protected: 00087 vtkAssemblyNode(); 00088 ~vtkAssemblyNode(); 00089 00090 private: 00091 vtkProp *Prop; //reference to vtkProp 00092 vtkMatrix4x4 *Matrix; //associated matrix 00093 00094 private: 00095 void operator=(const vtkAssemblyNode&); // Not implemented. 00096 vtkAssemblyNode(const vtkAssemblyNode&); // Not implemented. 00097 }; 00098 00099 #endif