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=========================================================================*/
23#ifndef vtkPolygonsPainter_h
24#define vtkPolygonsPainter_h
25
26#include "vtkRenderingOpenGLModule.h" // For export macro
27#include "vtkPrimitivePainter.h"
28
29class VTKRENDERINGOPENGL_EXPORT vtkPolygonsPainter : public vtkPrimitivePainter
30{
31public:
34 void PrintSelf(ostream& os, vtkIndent indent);
35
36protected:
39
44 virtual int RenderPrimitive(unsigned long flags, vtkDataArray* n,
46
47private:
48 vtkPolygonsPainter(const vtkPolygonsPainter&) VTK_DELETE_FUNCTION;
49 void operator=(const vtkPolygonsPainter&) VTK_DELETE_FUNCTION;
50
51};
52
53
54#endif
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:55
a simple class to control print indentation
Definition: vtkIndent.h:40
this painter paints polygons.
virtual int RenderPrimitive(unsigned long flags, vtkDataArray *n, vtkUnsignedCharArray *c, vtkDataArray *t, vtkRenderer *ren)
The actual rendering happens here.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkPolygonsPainter * New()
superclass for class that handle single privmitives.
abstract specification for renderers
Definition: vtkRenderer.h:64
dynamic, self-adjusting array of unsigned char