VTK
dox
Filters
Extraction
vtkExtractGeometry.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkExtractGeometry.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 vtkExtractGeometry_h
39
#define vtkExtractGeometry_h
40
41
#include "vtkFiltersExtractionModule.h"
// For export macro
42
#include "
vtkUnstructuredGridAlgorithm.h
"
43
44
class
vtkImplicitFunction
;
45
46
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractGeometry
:
public
vtkUnstructuredGridAlgorithm
47
{
48
public
:
49
vtkTypeMacro(
vtkExtractGeometry
,
vtkUnstructuredGridAlgorithm
);
50
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
51
55
static
vtkExtractGeometry
*
New
();
56
60
vtkMTimeType
GetMTime
()
override
;
61
63
66
virtual
void
SetImplicitFunction(
vtkImplicitFunction
*);
67
vtkGetObjectMacro(ImplicitFunction,
vtkImplicitFunction
);
69
71
76
vtkSetMacro(ExtractInside,
vtkTypeBool
);
77
vtkGetMacro(ExtractInside,
vtkTypeBool
);
78
vtkBooleanMacro(ExtractInside,
vtkTypeBool
);
80
82
86
vtkSetMacro(ExtractBoundaryCells,
vtkTypeBool
);
87
vtkGetMacro(ExtractBoundaryCells,
vtkTypeBool
);
88
vtkBooleanMacro(ExtractBoundaryCells,
vtkTypeBool
);
89
vtkSetMacro(ExtractOnlyBoundaryCells,
vtkTypeBool
);
90
vtkGetMacro(ExtractOnlyBoundaryCells,
vtkTypeBool
);
91
vtkBooleanMacro(ExtractOnlyBoundaryCells,
vtkTypeBool
);
93
94
protected
:
95
vtkExtractGeometry
(
vtkImplicitFunction
*f=
nullptr
);
96
~
vtkExtractGeometry
()
override
;
97
98
// Usual data generation method
99
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
100
101
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
)
override
;
102
103
vtkImplicitFunction
*
ImplicitFunction
;
104
vtkTypeBool
ExtractInside
;
105
vtkTypeBool
ExtractBoundaryCells
;
106
vtkTypeBool
ExtractOnlyBoundaryCells
;
107
108
private
:
109
vtkExtractGeometry
(
const
vtkExtractGeometry
&) =
delete
;
110
void
operator=(
const
vtkExtractGeometry
&) =
delete
;
111
};
112
113
#endif
114
115
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:35
vtkExtractGeometry::ExtractBoundaryCells
vtkTypeBool ExtractBoundaryCells
Definition:
vtkExtractGeometry.h:105
vtkExtractGeometry
extract cells that lie either entirely inside or outside of a specified implicit function
Definition:
vtkExtractGeometry.h:46
vtkImplicitFunction
abstract interface for implicit functions
Definition:
vtkImplicitFunction.h:60
vtkX3D::port
Definition:
vtkX3D.h:447
vtkObject::GetMTime
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkExtractGeometry::ImplicitFunction
vtkImplicitFunction * ImplicitFunction
Definition:
vtkExtractGeometry.h:103
vtkUnstructuredGridAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkUnstructuredGridAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:80
vtkX3D::info
Definition:
vtkX3D.h:376
vtkExtractGeometry::ExtractInside
vtkTypeBool ExtractInside
Definition:
vtkExtractGeometry.h:104
vtkUnstructuredGridAlgorithm::New
static vtkUnstructuredGridAlgorithm * New()
vtkExtractGeometry::ExtractOnlyBoundaryCells
vtkTypeBool ExtractOnlyBoundaryCells
Definition:
vtkExtractGeometry.h:106
vtkUnstructuredGridAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkUnstructuredGridAlgorithm.h
vtkUnstructuredGridAlgorithm
Superclass for algorithms that produce only unstructured grid as output.
Definition:
vtkUnstructuredGridAlgorithm.h:40
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition:
vtkType.h:302
Generated by
1.8.16