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 
32 class VTKRENDERINGOPENGL_EXPORT vtkHardwareSelectionPolyDataPainter :
34 {
35 public:
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 
87 protected:
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 
108 private:
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:51
A standard implementation of vtkPolyDataPainter.
painter used to render polydata for selection passes.
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
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:287
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
object to represent cell connectivity
Definition: vtkCellArray.h:50
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual void RenderInternal(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
Generates rendering primitives of appropriate type(s).
static vtkStandardPolyDataPainter * New()