VTK
vtkTStripsPainter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTStripsPainter.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 =========================================================================*/
20 #ifndef vtkTStripsPainter_h
21 #define vtkTStripsPainter_h
22 
23 #include "vtkRenderingOpenGLModule.h" // For export macro
24 #include "vtkPrimitivePainter.h"
25 
26 class VTKRENDERINGOPENGL_EXPORT vtkTStripsPainter : public vtkPrimitivePainter
27 {
28 public:
29  static vtkTStripsPainter* New();
31  void PrintSelf(ostream& os, vtkIndent indent);
32 
33 protected:
36 
41  virtual int RenderPrimitive(unsigned long flags, vtkDataArray* n,
43 
44 private:
45  vtkTStripsPainter(const vtkTStripsPainter&) VTK_DELETE_FUNCTION;
46  void operator=(const vtkTStripsPainter&) VTK_DELETE_FUNCTION;
47 };
48 
49 #endif
superclass for class that handle single privmitives.
virtual int RenderPrimitive(unsigned long flags, vtkDataArray *n, vtkUnsignedCharArray *c, vtkDataArray *t, vtkRenderer *ren)=0
The actual rendering happens here.
abstract specification for renderers
Definition: vtkRenderer.h:63
a simple class to control print indentation
Definition: vtkIndent.h:39
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
painter for triangle strips.
dynamic, self-adjusting array of unsigned char
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...