00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkOpenGLActor.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 =========================================================================*/ 00040 #ifndef __vtkOpenGLActor_h 00041 #define __vtkOpenGLActor_h 00042 00043 #include "vtkActor.h" 00044 00045 class vtkOpenGLRenderer; 00046 00047 class VTK_RENDERING_EXPORT vtkOpenGLActor : public vtkActor 00048 { 00049 protected: 00050 00051 public: 00052 static vtkOpenGLActor *New(); 00053 vtkTypeRevisionMacro(vtkOpenGLActor,vtkActor); 00054 virtual void PrintSelf(ostream& os, vtkIndent indent); 00055 00057 void Render(vtkRenderer *ren, vtkMapper *mapper); 00058 00059 protected: 00060 vtkOpenGLActor() {}; 00061 ~vtkOpenGLActor() {}; 00062 00063 private: 00064 vtkOpenGLActor(const vtkOpenGLActor&); // Not implemented. 00065 void operator=(const vtkOpenGLActor&); // Not implemented. 00066 }; 00067 00068 #endif 00069