VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
Core
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
29
#include "
vtkStandardPolyDataPainter.h
"
30
31
class
VTKRENDERINGCORE_EXPORT
vtkHardwareSelectionPolyDataPainter
:
32
public
vtkStandardPolyDataPainter
33
{
34
public
:
35
static
vtkHardwareSelectionPolyDataPainter
*
New
();
36
vtkTypeMacro(
vtkHardwareSelectionPolyDataPainter
,
vtkStandardPolyDataPainter
);
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
:
69
vtkHardwareSelectionPolyDataPainter
();
70
~
vtkHardwareSelectionPolyDataPainter
();
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
82
int
EnableSelection
;
83
vtkIdType
TotalCells
;
84
char
*
PointIdArrayName
;
85
char
*
CellIdArrayName
;
86
char
*
ProcessIdArrayName
;
87
private
:
88
vtkHardwareSelectionPolyDataPainter
(
const
vtkHardwareSelectionPolyDataPainter
&);
// Not implemented.
89
void
operator=(
const
vtkHardwareSelectionPolyDataPainter
&);
// Not implemented.
90
//ETX
91
};
92
93
#endif
94
95
Generated on Thu May 24 2012 22:22:34 for VTK by
1.8.1