VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Graphics
vtkHyperOctreeSurfaceFilter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkHyperOctreeSurfaceFilter.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
=========================================================================*/
27
#ifndef __vtkHyperOctreeSurfaceFilter_h
28
#define __vtkHyperOctreeSurfaceFilter_h
29
30
#include "
vtkPolyDataAlgorithm.h
"
31
32
class
vtkHyperOctreeCursor
;
33
class
vtkDataSetAttributes
;
34
class
vtkIdTypeArray
;
35
class
vtkIncrementalPointLocator
;
36
37
class
VTK_GRAPHICS_EXPORT
vtkHyperOctreeSurfaceFilter
:
public
vtkPolyDataAlgorithm
38
{
39
public
:
40
static
vtkHyperOctreeSurfaceFilter
*
New
();
41
vtkTypeMacro(
vtkHyperOctreeSurfaceFilter
,
vtkPolyDataAlgorithm
);
42
void
PrintSelf
(ostream& os,
vtkIndent
indent);
43
45
48
vtkSetMacro(Merging,
int
);
49
vtkGetMacro(Merging,
int
);
50
vtkBooleanMacro(Merging,
int
);
52
54
56
void
SetLocator(
vtkIncrementalPointLocator
*locator);
57
vtkGetObjectMacro(Locator,
vtkIncrementalPointLocator
);
59
61
unsigned
long
GetMTime
();
62
64
68
vtkSetMacro(PassThroughCellIds,
int
);
69
vtkGetMacro(PassThroughCellIds,
int
);
70
vtkBooleanMacro(PassThroughCellIds,
int
);
72
73
protected
:
74
vtkHyperOctreeSurfaceFilter
();
75
~
vtkHyperOctreeSurfaceFilter
();
76
77
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
78
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
79
80
void
GenerateLines(
double
bounds[2],
81
vtkIdType
ptIds[2]);
82
void
GenerateQuads(
double
bounds[4],
83
vtkIdType
ptIds[4]);
84
void
GenerateFaces(
double
bounds[6],
85
vtkIdType
ptIds[8],
86
int
onFace[6]);
87
89
void
CreateDefaultLocator();
90
91
int
Merging
;
92
vtkIncrementalPointLocator
*
Locator
;
93
94
// Variables used by generate recursively.
95
// It avoids to pass to much argument.
96
vtkDataSetAttributes
*
InputCD
;
97
98
vtkHyperOctreeCursor
*
Cursor
;
99
vtkPoints
*
OutPts
;
100
vtkCellArray
*
OutCells
;
101
vtkCellData
*
OutputCD
;
102
103
int
PassThroughCellIds
;
104
void
RecordOrigCellId(
vtkIdType
destIndex,
vtkIdType
originalId);
105
vtkIdTypeArray
*
OriginalCellIds
;
106
107
private
:
108
vtkHyperOctreeSurfaceFilter
(
const
vtkHyperOctreeSurfaceFilter
&);
// Not implemented.
109
void
operator=(
const
vtkHyperOctreeSurfaceFilter
&);
// Not implemented.
110
};
111
112
#endif
Generated on Thu Mar 13 2014 08:10:01 for VTK by
1.8.1.2