VTK
9.3.1
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
Filters
Extraction
vtkExtractGeometry.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-License-Identifier: BSD-3-Clause
34
#ifndef vtkExtractGeometry_h
35
#define vtkExtractGeometry_h
36
37
#include "vtkFiltersExtractionModule.h"
// For export macro
38
#include "
vtkUnstructuredGridAlgorithm.h
"
39
40
VTK_ABI_NAMESPACE_BEGIN
41
class
vtkImplicitFunction
;
42
43
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractGeometry
:
public
vtkUnstructuredGridAlgorithm
44
{
45
public
:
46
vtkTypeMacro(
vtkExtractGeometry
,
vtkUnstructuredGridAlgorithm
);
47
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
48
52
static
vtkExtractGeometry
*
New
();
53
57
vtkMTimeType
GetMTime
()
override
;
58
60
63
virtual
void
SetImplicitFunction
(
vtkImplicitFunction
*);
64
vtkGetObjectMacro(ImplicitFunction,
vtkImplicitFunction
);
66
68
73
vtkSetMacro(ExtractInside,
vtkTypeBool
);
74
vtkGetMacro(ExtractInside,
vtkTypeBool
);
75
vtkBooleanMacro(ExtractInside,
vtkTypeBool
);
77
79
83
vtkSetMacro(ExtractBoundaryCells,
vtkTypeBool
);
84
vtkGetMacro(ExtractBoundaryCells,
vtkTypeBool
);
85
vtkBooleanMacro(ExtractBoundaryCells,
vtkTypeBool
);
86
vtkSetMacro(ExtractOnlyBoundaryCells,
vtkTypeBool
);
87
vtkGetMacro(ExtractOnlyBoundaryCells,
vtkTypeBool
);
88
vtkBooleanMacro(ExtractOnlyBoundaryCells,
vtkTypeBool
);
90
91
protected
:
92
vtkExtractGeometry
(
vtkImplicitFunction
* f =
nullptr
);
93
~vtkExtractGeometry
()
override
;
94
95
// Usual data generation method
96
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
97
98
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
99
100
vtkImplicitFunction
*
ImplicitFunction
;
101
vtkTypeBool
ExtractInside
;
102
vtkTypeBool
ExtractBoundaryCells
;
103
vtkTypeBool
ExtractOnlyBoundaryCells
;
104
105
private
:
106
vtkExtractGeometry
(
const
vtkExtractGeometry
&) =
delete
;
107
void
operator=(
const
vtkExtractGeometry
&) =
delete
;
108
};
109
110
VTK_ABI_NAMESPACE_END
111
#endif
vtkExtractGeometry
extract cells that lie either entirely inside or outside of a specified implicit function
Definition
vtkExtractGeometry.h:44
vtkExtractGeometry::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExtractGeometry::GetMTime
vtkMTimeType GetMTime() override
Return the MTime taking into account changes to the implicit function.
vtkExtractGeometry::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkExtractGeometry::New
static vtkExtractGeometry * New()
Construct object with ExtractInside turned on.
vtkExtractGeometry::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkExtractGeometry::ImplicitFunction
vtkImplicitFunction * ImplicitFunction
Definition
vtkExtractGeometry.h:100
vtkExtractGeometry::~vtkExtractGeometry
~vtkExtractGeometry() override
vtkExtractGeometry::ExtractBoundaryCells
vtkTypeBool ExtractBoundaryCells
Definition
vtkExtractGeometry.h:102
vtkExtractGeometry::ExtractOnlyBoundaryCells
vtkTypeBool ExtractOnlyBoundaryCells
Definition
vtkExtractGeometry.h:103
vtkExtractGeometry::SetImplicitFunction
virtual void SetImplicitFunction(vtkImplicitFunction *)
Specify the implicit function for inside/outside checks.
vtkExtractGeometry::ExtractInside
vtkTypeBool ExtractInside
Definition
vtkExtractGeometry.h:101
vtkExtractGeometry::vtkExtractGeometry
vtkExtractGeometry(vtkImplicitFunction *f=nullptr)
vtkImplicitFunction
abstract interface for implicit functions
Definition
vtkImplicitFunction.h:50
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:29
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:31
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:63
vtkUnstructuredGridAlgorithm
Superclass for algorithms that produce only unstructured grid as output.
Definition
vtkUnstructuredGridAlgorithm.h:30
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:64
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition
vtkType.h:270
vtkUnstructuredGridAlgorithm.h
Generated on Tue Oct 8 2024 00:00:00 for VTK by
1.12.0