VTK
vtkHardwareSelectionPolyDataPainter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkHardwareSelectionPolyDataPainter.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 =========================================================================*/
25 #ifndef vtkHardwareSelectionPolyDataPainter_h
26 #define vtkHardwareSelectionPolyDataPainter_h
27 
28 #include "vtkRenderingOpenGLModule.h" // For export macro
30 
33 {
34 public:
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
40 
42  vtkSetMacro(EnableSelection, int);
43  vtkGetMacro(EnableSelection, int);
44  vtkBooleanMacro(EnableSelection, int);
46 
48 
53  vtkSetStringMacro(PointIdArrayName);
54  vtkGetStringMacro(PointIdArrayName);
55  vtkSetStringMacro(CellIdArrayName);
56  vtkGetStringMacro(CellIdArrayName);
58 
60 
63  vtkSetStringMacro(ProcessIdArrayName);
64  vtkGetStringMacro(ProcessIdArrayName);
66 
68 
75  vtkSetStringMacro(CompositeIdArrayName);
76  vtkGetStringMacro(CompositeIdArrayName);
78 
79 //BTX
80 protected:
83 
85 
87  virtual void RenderInternal(vtkRenderer* renderer, vtkActor* actor,
88  unsigned long typeflags, bool forceCompileOnly);
90 
91  void DrawCells(int mode, vtkCellArray *connectivity,
92  vtkIdType startCellId, vtkRenderer *renderer);
93 
100 
101 private:
103  void operator=(const vtkHardwareSelectionPolyDataPainter&); // Not implemented.
104 //ETX
105 };
106 
107 #endif
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:50
A standard implementation of vtkPolyDataPainter.
painter used to render polydata for selection passes.
virtual void PrintSelf(ostream &os, vtkIndent indent)
abstract specification for renderers
Definition: vtkRenderer.h:63
void DrawCells(int mode, vtkCellArray *connectivity, vtkIdType startCellId, vtkShaderDeviceAdapter2 *shaderDevice2, vtkRenderer *renderer, int buildnormals, int interpolation)
int vtkIdType
Definition: vtkType.h:275
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKRENDERINGOPENGL_EXPORT
object to represent cell connectivity
Definition: vtkCellArray.h:49
virtual void RenderInternal(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
static vtkStandardPolyDataPainter * New()