VTK
vtkPointsPainter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPointsPainter.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 =========================================================================*/
27 #ifndef vtkPointsPainter_h
28 #define vtkPointsPainter_h
29 
30 #include "vtkRenderingOpenGLModule.h" // For export macro
31 #include "vtkPrimitivePainter.h"
32 
33 class VTKRENDERINGOPENGL_EXPORT vtkPointsPainter : public vtkPrimitivePainter
34 {
35 public:
36  static vtkPointsPainter* New();
38  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
39 
40 protected:
42  ~vtkPointsPainter() VTK_OVERRIDE;
43 
48  int RenderPrimitive(unsigned long flags, vtkDataArray* n,
49  vtkUnsignedCharArray* c, vtkDataArray* t, vtkRenderer* ren) VTK_OVERRIDE;
50 
51 private:
52  vtkPointsPainter(const vtkPointsPainter&) VTK_DELETE_FUNCTION;
53  void operator=(const vtkPointsPainter&) VTK_DELETE_FUNCTION;
54 };
55 
56 #endif
superclass for class that handle single privmitives.
abstract specification for renderers
Definition: vtkRenderer.h:57
this painter paints verts.
a simple class to control print indentation
Definition: vtkIndent.h:33
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:48
dynamic, self-adjusting array of unsigned char
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.