VTK
vtkLinesPainter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkLinesPainter.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 vtkLinesPainter_h
28 #define vtkLinesPainter_h
29 
30 #include "vtkRenderingOpenGLModule.h" // For export macro
31 #include "vtkPrimitivePainter.h"
32 
34 {
35 public:
36  static vtkLinesPainter* New();
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
40 protected:
42  ~vtkLinesPainter();
43 
44  int RenderPolys; // Flag indicating if the line loops are to be closed.
45 
47 
49  virtual void RenderInternal(vtkRenderer* renderer, vtkActor* actor,
50  unsigned long typeflags, bool forceCompileOnly);
52 
54 
56  virtual int RenderPrimitive(unsigned long flags, vtkDataArray* n,
58 private:
59  vtkLinesPainter(const vtkLinesPainter&); // Not implemented.
60  void operator=(const vtkLinesPainter&); // Not implemented.
61 };
63 
64 
65 
66 #endif
superclass for class that handle single privmitives.
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:50
virtual void RenderInternal(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
virtual int RenderPrimitive(unsigned long flags, vtkDataArray *n, vtkUnsignedCharArray *c, vtkDataArray *t, vtkRenderer *ren)=0
painter that paints lines.
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
void PrintSelf(ostream &os, vtkIndent indent)
static vtkObject * New()