VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
GenericFiltering
vtkGenericDataSetTessellator.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkGenericDataSetTessellator.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
=========================================================================*/
38
#ifndef __vtkGenericDataSetTessellator_h
39
#define __vtkGenericDataSetTessellator_h
40
41
#include "
vtkUnstructuredGridAlgorithm.h
"
42
43
class
vtkPointData
;
44
class
vtkIncrementalPointLocator
;
45
46
class
VTK_GENERIC_FILTERING_EXPORT
vtkGenericDataSetTessellator
:
public
vtkUnstructuredGridAlgorithm
47
{
48
public
:
50
51
static
vtkGenericDataSetTessellator
*
New
();
52
vtkTypeMacro(
vtkGenericDataSetTessellator
,
53
vtkUnstructuredGridAlgorithm
);
54
void
PrintSelf
(ostream& os,
vtkIndent
indent);
56
58
62
vtkSetMacro(KeepCellIds,
int
);
63
vtkGetMacro(KeepCellIds,
int
);
64
vtkBooleanMacro(KeepCellIds,
int
);
66
67
69
72
vtkSetMacro(Merging,
int
);
73
vtkGetMacro(Merging,
int
);
74
vtkBooleanMacro(Merging,
int
);
76
78
80
void
SetLocator(
vtkIncrementalPointLocator
*locator);
81
vtkGetObjectMacro(Locator,
vtkIncrementalPointLocator
);
83
85
void
CreateDefaultLocator();
86
88
unsigned
long
GetMTime
();
89
90
protected
:
91
vtkGenericDataSetTessellator
();
92
~
vtkGenericDataSetTessellator
();
93
94
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
95
96
int
FillInputPortInformation
(
int
,
vtkInformation
*);
97
98
// See Set/Get KeepCellIds() for explanations.
99
int
KeepCellIds
;
100
101
// Used internal by vtkGenericAdaptorCell::Tessellate()
102
vtkPointData
*
InternalPD
;
103
104
int
Merging
;
105
vtkIncrementalPointLocator
*
Locator
;
106
107
private
:
108
vtkGenericDataSetTessellator
(
const
vtkGenericDataSetTessellator
&);
// Not implemented.
109
void
operator=(
const
vtkGenericDataSetTessellator
&);
// Not implemented.
110
};
111
112
#endif
Generated on Wed Nov 21 2012 21:33:46 for VTK by
1.8.2