VTK
9.2.6
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
39
#ifndef vtkExtractGeometry_h
40
#define vtkExtractGeometry_h
41
42
#include "vtkFiltersExtractionModule.h"
// For export macro
43
#include "
vtkUnstructuredGridAlgorithm.h
"
44
45
class
vtkImplicitFunction
;
46
47
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractGeometry
:
public
vtkUnstructuredGridAlgorithm
48
{
49
public
:
50
vtkTypeMacro(
vtkExtractGeometry
,
vtkUnstructuredGridAlgorithm
);
51
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
52
56
static
vtkExtractGeometry
*
New
();
57
61
vtkMTimeType
GetMTime
()
override
;
62
64
67
virtual
void
SetImplicitFunction
(
vtkImplicitFunction
*);
68
vtkGetObjectMacro(
ImplicitFunction
,
vtkImplicitFunction
);
70
72
77
vtkSetMacro(
ExtractInside
,
vtkTypeBool
);
78
vtkGetMacro(
ExtractInside
,
vtkTypeBool
);
79
vtkBooleanMacro(
ExtractInside
,
vtkTypeBool
);
81
83
87
vtkSetMacro(
ExtractBoundaryCells
,
vtkTypeBool
);
88
vtkGetMacro(
ExtractBoundaryCells
,
vtkTypeBool
);
89
vtkBooleanMacro(
ExtractBoundaryCells
,
vtkTypeBool
);
90
vtkSetMacro(
ExtractOnlyBoundaryCells
,
vtkTypeBool
);
91
vtkGetMacro(
ExtractOnlyBoundaryCells
,
vtkTypeBool
);
92
vtkBooleanMacro(
ExtractOnlyBoundaryCells
,
vtkTypeBool
);
94
95
protected
:
96
vtkExtractGeometry
(
vtkImplicitFunction
* f =
nullptr
);
97
~vtkExtractGeometry
()
override
;
98
99
// Usual data generation method
100
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
101
102
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
103
104
vtkImplicitFunction
*
ImplicitFunction
;
105
vtkTypeBool
ExtractInside
;
106
vtkTypeBool
ExtractBoundaryCells
;
107
vtkTypeBool
ExtractOnlyBoundaryCells
;
108
109
private
:
110
vtkExtractGeometry
(
const
vtkExtractGeometry
&) =
delete
;
111
void
operator=(
const
vtkExtractGeometry
&) =
delete
;
112
};
113
114
#endif
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:104
vtkExtractGeometry::~vtkExtractGeometry
~vtkExtractGeometry() override
vtkExtractGeometry::ExtractBoundaryCells
vtkTypeBool ExtractBoundaryCells
Definition
vtkExtractGeometry.h:106
vtkExtractGeometry::ExtractOnlyBoundaryCells
vtkTypeBool ExtractOnlyBoundaryCells
Definition
vtkExtractGeometry.h:107
vtkExtractGeometry::SetImplicitFunction
virtual void SetImplicitFunction(vtkImplicitFunction *)
Specify the implicit function for inside/outside checks.
vtkExtractGeometry::ExtractInside
vtkTypeBool ExtractInside
Definition
vtkExtractGeometry.h:105
vtkExtractGeometry::vtkExtractGeometry
vtkExtractGeometry(vtkImplicitFunction *f=nullptr)
vtkImplicitFunction
abstract interface for implicit functions
Definition
vtkImplicitFunction.h:61
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:34
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:36
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:68
vtkUnstructuredGridAlgorithm::vtkUnstructuredGridAlgorithm
vtkUnstructuredGridAlgorithm()
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:69
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition
vtkType.h:287
vtkUnstructuredGridAlgorithm.h
Generated on Sun Mar 2 2025 00:00:00 for VTK by
1.13.2