VTK
dox/Rendering/Core/vtkPolygonsPainter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkPolygonsPainter.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 __vtkPolygonsPainter_h
00023 #define __vtkPolygonsPainter_h
00024 
00025 #include "vtkRenderingCoreModule.h" // For export macro
00026 #include "vtkPrimitivePainter.h"
00027 
00028 class VTKRENDERINGCORE_EXPORT vtkPolygonsPainter : public vtkPrimitivePainter
00029 {
00030 public:
00031   static vtkPolygonsPainter* New();
00032   vtkTypeMacro(vtkPolygonsPainter, vtkPrimitivePainter);
00033   void PrintSelf(ostream& os, vtkIndent indent);
00034 
00035 protected:
00036   vtkPolygonsPainter();
00037   ~vtkPolygonsPainter();
00038 
00040 
00042   virtual int RenderPrimitive(unsigned long flags, vtkDataArray* n,
00043     vtkUnsignedCharArray* c, vtkDataArray* t, vtkRenderer* ren);
00045 
00046 private:
00047   vtkPolygonsPainter(const vtkPolygonsPainter&); // Not implemented.
00048   void operator=(const vtkPolygonsPainter&); // Not implemented.
00049 
00050 };
00051 
00052 
00053 #endif
00054