VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkCell3D.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkCell3D.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 __vtkCell3D_h
27
#define __vtkCell3D_h
28
29
#include "vtkCell.h"
30
31
class
vtkOrderedTriangulator
;
32
class
vtkTetra
;
33
class
vtkCellArray
;
34
class
vtkDoubleArray
;
35
36
class
VTK_FILTERING_EXPORT
vtkCell3D
:
public
vtkCell
37
{
38
public
:
39
vtkTypeMacro(
vtkCell3D
,vtkCell);
40
void
PrintSelf(ostream& os,
vtkIndent
indent);
41
47
virtual
void
GetEdgePoints(
int
edgeId,
int
* &pts) = 0;
48
54
virtual
void
GetFacePoints(
int
faceId,
int
* &pts) = 0;
55
56
virtual
void
Contour(
double
value,
vtkDataArray
*cellScalars,
57
vtkIncrementalPointLocator
*locator,
vtkCellArray
*verts,
58
vtkCellArray
*lines,
vtkCellArray
*polys,
59
vtkPointData
*inPd,
vtkPointData
*outPd,
60
vtkCellData
*inCd,
vtkIdType
cellId,
vtkCellData
*outCd);
61
63
74
virtual
void
Clip(
double
value,
vtkDataArray
*cellScalars,
75
vtkIncrementalPointLocator
*locator,
vtkCellArray
*connectivity,
76
vtkPointData
*inPd,
vtkPointData
*outPd,
77
vtkCellData
*inCd,
vtkIdType
cellId,
vtkCellData
*outCd,
78
int
insideOut);
80
82
virtual
int
GetCellDimension
() {
return
3;}
83
85
88
vtkSetClampMacro(MergeTolerance,
double
,0.0001,0.25);
89
vtkGetMacro(MergeTolerance,
double
);
91
92
protected
:
93
vtkCell3D
();
94
~
vtkCell3D
();
95
96
vtkOrderedTriangulator
*
Triangulator
;
97
double
MergeTolerance
;
98
99
//used to support clipping
100
vtkTetra
*
ClipTetra
;
101
vtkDoubleArray
*
ClipScalars
;
102
103
private
:
104
vtkCell3D
(
const
vtkCell3D
&);
// Not implemented.
105
void
operator=(
const
vtkCell3D
&);
// Not implemented.
106
};
107
108
#endif
109
110
Generated on Sun Sep 15 2013 03:44:21 for VTK by
1.8.4