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=========================================================================*/
26#ifndef vtkHardwareSelectionPolyDataPainter_h
27#define vtkHardwareSelectionPolyDataPainter_h
28
29#include "vtkRenderingOpenGLModule.h" // For export macro
31
32class VTKRENDERINGOPENGL_EXPORT vtkHardwareSelectionPolyDataPainter :
34{
35public:
38 void PrintSelf(ostream& os, vtkIndent indent);
39
41
45 vtkSetMacro(EnableSelection, int);
46 vtkGetMacro(EnableSelection, int);
47 vtkBooleanMacro(EnableSelection, int);
49
51
57 vtkSetStringMacro(PointIdArrayName);
58 vtkGetStringMacro(PointIdArrayName);
59 vtkSetStringMacro(CellIdArrayName);
60 vtkGetStringMacro(CellIdArrayName);
62
64
69 vtkSetStringMacro(ProcessIdArrayName);
70 vtkGetStringMacro(ProcessIdArrayName);
72
74
83 vtkSetStringMacro(CompositeIdArrayName);
84 vtkGetStringMacro(CompositeIdArrayName);
86
87protected:
90
95 virtual void RenderInternal(vtkRenderer* renderer, vtkActor* actor,
96 unsigned long typeflags, bool forceCompileOnly);
97
98 void DrawCells(int mode, vtkCellArray *connectivity,
99 vtkIdType startCellId, vtkRenderer *renderer);
100
107
108private:
110 void operator=(const vtkHardwareSelectionPolyDataPainter&) VTK_DELETE_FUNCTION;
111
112};
113
114#endif
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:52
object to represent cell connectivity
Definition: vtkCellArray.h:51
painter used to render polydata for selection passes.
virtual void RenderInternal(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
Generates rendering primitives of appropriate type(s).
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void DrawCells(int mode, vtkCellArray *connectivity, vtkIdType startCellId, vtkRenderer *renderer)
static vtkHardwareSelectionPolyDataPainter * New()
a simple class to control print indentation
Definition: vtkIndent.h:40
abstract specification for renderers
Definition: vtkRenderer.h:64
A standard implementation of vtkPolyDataPainter.
@ mode
Definition: vtkX3D.h:247
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
int vtkIdType
Definition: vtkType.h:287