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 "vtkRenderingCoreModule.h" // For export macro
30 
31 class VTKRENDERINGCORE_EXPORT vtkHardwareSelectionPolyDataPainter :
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 
67 //BTX
68 protected:
71 
73 
75  virtual void RenderInternal(vtkRenderer* renderer, vtkActor* actor,
76  unsigned long typeflags, bool forceCompileOnly);
78 
79  void DrawCells(int mode, vtkCellArray *connectivity,
80  vtkIdType startCellId, vtkRenderer *renderer);
81 
87 private:
89  void operator=(const vtkHardwareSelectionPolyDataPainter&); // Not implemented.
90 //ETX
91 };
92 
93 #endif
94 
95