00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkPolygonsPainter.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 =========================================================================*/ 00022 #ifndef __vtkPolygonsPainter_h 00023 #define __vtkPolygonsPainter_h 00024 00025 #include "vtkPrimitivePainter.h" 00026 00027 class VTK_RENDERING_EXPORT vtkPolygonsPainter : public vtkPrimitivePainter 00028 { 00029 public: 00030 static vtkPolygonsPainter* New(); 00031 vtkTypeRevisionMacro(vtkPolygonsPainter, vtkPrimitivePainter); 00032 void PrintSelf(ostream& os, vtkIndent indent); 00033 00034 protected: 00035 vtkPolygonsPainter(); 00036 ~vtkPolygonsPainter(); 00037 00039 00041 virtual int RenderPrimitive(unsigned long flags, vtkDataArray* n, 00042 vtkUnsignedCharArray* c, vtkDataArray* t, vtkRenderer* ren); 00044 00045 private: 00046 vtkPolygonsPainter(const vtkPolygonsPainter&); // Not implemented. 00047 void operator=(const vtkPolygonsPainter&); // Not implemented. 00048 00049 }; 00050 00051 00052 #endif 00053