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

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 =========================================================================*/
00060 #ifndef __vtkAssemblyNode_h
00061 #define __vtkAssemblyNode_h
00062 
00063 #include "vtkObject.h"
00064 
00065 class vtkProp;
00066 class vtkMatrix4x4;
00067 
00068 class VTK_COMMON_EXPORT vtkAssemblyNode : public vtkObject
00069 {
00070 public:
00072   static vtkAssemblyNode *New();
00073 
00074   vtkTypeRevisionMacro(vtkAssemblyNode,vtkObject);
00075   void PrintSelf(ostream& os, vtkIndent indent);
00076 
00078 
00079   void SetProp(vtkProp *prop);
00080   vtkGetObjectMacro(Prop, vtkProp);
00082   
00084 
00089   void SetMatrix(vtkMatrix4x4 *matrix);
00090   vtkGetObjectMacro(Matrix, vtkMatrix4x4);
00092   
00095   virtual unsigned long GetMTime();
00096 
00097 protected:
00098   vtkAssemblyNode();
00099   ~vtkAssemblyNode();
00100 
00101 private:
00102   vtkProp *Prop; //reference to vtkProp
00103   vtkMatrix4x4 *Matrix; //associated matrix
00104   
00105 private:
00106   void operator=(const vtkAssemblyNode&); // Not implemented.
00107   vtkAssemblyNode(const vtkAssemblyNode&); // Not implemented.
00108 };
00109 
00110 #endif