VTK
vtkPolygonsPainter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPolygonsPainter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
22 #ifndef vtkPolygonsPainter_h
23 #define vtkPolygonsPainter_h
24 
25 #include "vtkRenderingOpenGLModule.h" // For export macro
26 #include "vtkPrimitivePainter.h"
27 
29 {
30 public:
31  static vtkPolygonsPainter* New();
33  void PrintSelf(ostream& os, vtkIndent indent);
34 
35 protected:
38 
40 
42  virtual int RenderPrimitive(unsigned long flags, vtkDataArray* n,
45 
46 private:
47  vtkPolygonsPainter(const vtkPolygonsPainter&); // Not implemented.
48  void operator=(const vtkPolygonsPainter&); // Not implemented.
49 
50 };
51 
52 
53 #endif
superclass for class that handle single privmitives.
virtual int RenderPrimitive(unsigned long flags, vtkDataArray *n, vtkUnsignedCharArray *c, vtkDataArray *t, vtkRenderer *ren)=0
abstract specification for renderers
Definition: vtkRenderer.h:63
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKRENDERINGOPENGL_EXPORT
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
dynamic, self-adjusting array of unsigned char
this painter paints polygons.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkObject * New()