VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
dox
Filters
Core
vtkContourHelper.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkContourHelper.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
=========================================================================*/
24
#ifndef __vtkContourHelper_h
25
#define __vtkContourHelper_h
26
27
#include "
vtkSmartPointer.h
"
//for a member variable
28
#include "
vtkPolygonBuilder.h
"
//for a member variable
29
30
class
vtkIncrementalPointLocator
;
31
class
vtkCellArray
;
32
class
vtkPointData
;
33
class
vtkCellData
;
34
class
vtkCell
;
35
class
vtkDataArray
;
36
class
vtkIdList
;
37
38
class
vtkContourHelper
39
{
40
public
:
41
vtkContourHelper
(
vtkIncrementalPointLocator
*locator,
42
vtkCellArray
*verts,
43
vtkCellArray
*lines,
44
vtkCellArray
* polys,
45
vtkPointData
*inPd,
46
vtkCellData
*inCd,
47
vtkPointData
* outPd,
48
vtkCellData
*outCd,
49
int
estimatedSize,
50
bool
outputTriangles);
51
~vtkContourHelper
();
52
void
Contour
(
vtkCell
* cell,
double
value
,
vtkDataArray
*cellScalars,
vtkIdType
cellId);
53
54
private
:
55
vtkIncrementalPointLocator
* Locator;
56
vtkCellArray
* Verts;
57
vtkCellArray
* Lines;
58
vtkCellArray
* Polys;
59
vtkPointData
* InPd;
60
vtkCellData
* InCd;
61
vtkPointData
* OutPd;
62
vtkCellData
* OutCd;
63
vtkSmartPointer<vtkCellData>
TriOutCd;
64
65
vtkCellArray
* Tris;
66
vtkPolygonBuilder
PolyBuilder;
67
vtkIdList
* Poly;
68
bool
GenerateTriangles;
69
};
70
71
#endif
72
// VTK-HeaderTest-Exclude: vtkContourHelper.h
vtkContourHelper::Contour
void Contour(vtkCell *cell, double value, vtkDataArray *cellScalars, vtkIdType cellId)
vtkPointData
represent and manipulate point attribute data
Definition:
vtkPointData.h:36
vtkContourHelper::~vtkContourHelper
~vtkContourHelper()
vtkCellData
represent and manipulate cell attribute data
Definition:
vtkCellData.h:37
vtkIncrementalPointLocator
Abstract class in support of both point location and point insertion.
Definition:
vtkIncrementalPointLocator.h:50
vtkgl::value
GLsizei const GLfloat * value
Definition:
vtkgl.h:12021
vtkSmartPointer< vtkCellData >
vtkIdType
int vtkIdType
Definition:
vtkType.h:268
vtkCell
abstract class to specify cell behavior
Definition:
vtkCell.h:58
vtkIdList
list of point or cell ids
Definition:
vtkIdList.h:35
vtkDataArray
abstract superclass for arrays of numeric data
Definition:
vtkDataArray.h:53
vtkPolygonBuilder.h
vtkPolygonBuilder
Definition:
vtkPolygonBuilder.h:40
vtkSmartPointer.h
vtkCellArray
object to represent cell connectivity
Definition:
vtkCellArray.h:49
vtkContourHelper::vtkContourHelper
vtkContourHelper(vtkIncrementalPointLocator *locator, vtkCellArray *verts, vtkCellArray *lines, vtkCellArray *polys, vtkPointData *inPd, vtkCellData *inCd, vtkPointData *outPd, vtkCellData *outCd, int estimatedSize, bool outputTriangles)
vtkContourHelper
A utility class used by various contour filters.
Definition:
vtkContourHelper.h:38
Generated on Sat Jan 3 2015 22:29:07 for VTK by
1.8.8