00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkOpenGLActor.h 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 =========================================================================*/ 00022 #ifndef __vtkOpenGLActor_h 00023 #define __vtkOpenGLActor_h 00024 00025 #include "vtkActor.h" 00026 00027 class vtkOpenGLRenderer; 00028 00029 class VTK_RENDERING_EXPORT vtkOpenGLActor : public vtkActor 00030 { 00031 protected: 00032 00033 public: 00034 static vtkOpenGLActor *New(); 00035 vtkTypeMacro(vtkOpenGLActor,vtkActor); 00036 virtual void PrintSelf(ostream& os, vtkIndent indent); 00037 00039 void Render(vtkRenderer *ren, vtkMapper *mapper); 00040 00041 protected: 00042 vtkOpenGLActor() {}; 00043 ~vtkOpenGLActor() {}; 00044 00045 private: 00046 vtkOpenGLActor(const vtkOpenGLActor&); // Not implemented. 00047 void operator=(const vtkOpenGLActor&); // Not implemented. 00048 }; 00049 00050 #endif 00051