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

vtkAssemblyNode.h

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