00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkMesaPolyDataMapper.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 =========================================================================*/ 00033 #ifndef __vtkMesaPolyDataMapper_h 00034 #define __vtkMesaPolyDataMapper_h 00035 00036 #include "vtkPolyDataMapper.h" 00037 00038 class vtkProperty; 00039 class vtkRenderWindow; 00040 class vtkMesaRenderer; 00041 class vtkTimerLog; 00042 00043 class VTK_RENDERING_EXPORT vtkMesaPolyDataMapper : public vtkPolyDataMapper 00044 { 00045 public: 00046 static vtkMesaPolyDataMapper *New(); 00047 vtkTypeRevisionMacro(vtkMesaPolyDataMapper,vtkPolyDataMapper); 00048 virtual void PrintSelf(ostream& os, vtkIndent indent); 00049 00051 virtual void RenderPiece(vtkRenderer *ren, vtkActor *a); 00052 00056 void ReleaseGraphicsResources(vtkWindow *); 00057 00059 virtual int Draw(vtkRenderer *ren, vtkActor *a); 00060 00061 protected: 00062 vtkMesaPolyDataMapper(); 00063 ~vtkMesaPolyDataMapper(); 00064 00065 int ListId; 00066 vtkRenderWindow *RenderWindow; // RenderWindow used for the previous render 00067 private: 00068 vtkMesaPolyDataMapper(const vtkMesaPolyDataMapper&); // Not implemented. 00069 void operator=(const vtkMesaPolyDataMapper&); // Not implemented. 00070 }; 00071 00072 #endif