VTK
9.2.6
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
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
=========================================================================*/
42
#ifndef vtkExtractGeometry_h
43
#define vtkExtractGeometry_h
44
45
#include "vtkFiltersExtractionModule.h"
// For export macro
46
#include "
vtkUnstructuredGridAlgorithm.h
"
47
48
class
vtkImplicitFunction
;
49
50
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractGeometry
:
public
vtkUnstructuredGridAlgorithm
51
{
52
public
:
53
vtkTypeMacro(
vtkExtractGeometry
,
vtkUnstructuredGridAlgorithm
);
54
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
55
59
static
vtkExtractGeometry
*
New
();
60
64
vtkMTimeType
GetMTime
()
override
;
65
67
70
virtual
void
SetImplicitFunction
(
vtkImplicitFunction
*);
71
vtkGetObjectMacro(ImplicitFunction,
vtkImplicitFunction
);
73
75
80
vtkSetMacro(ExtractInside,
vtkTypeBool
);
81
vtkGetMacro(ExtractInside,
vtkTypeBool
);
82
vtkBooleanMacro(ExtractInside,
vtkTypeBool
);
84
86
90
vtkSetMacro(ExtractBoundaryCells,
vtkTypeBool
);
91
vtkGetMacro(ExtractBoundaryCells,
vtkTypeBool
);
92
vtkBooleanMacro(ExtractBoundaryCells,
vtkTypeBool
);
93
vtkSetMacro(ExtractOnlyBoundaryCells,
vtkTypeBool
);
94
vtkGetMacro(ExtractOnlyBoundaryCells,
vtkTypeBool
);
95
vtkBooleanMacro(ExtractOnlyBoundaryCells,
vtkTypeBool
);
97
98
protected
:
99
vtkExtractGeometry
(
vtkImplicitFunction
* f =
nullptr
);
100
~vtkExtractGeometry
()
override
;
101
102
// Usual data generation method
103
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
104
105
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
106
107
vtkImplicitFunction
*
ImplicitFunction
;
108
vtkTypeBool
ExtractInside
;
109
vtkTypeBool
ExtractBoundaryCells
;
110
vtkTypeBool
ExtractOnlyBoundaryCells
;
111
112
private
:
113
vtkExtractGeometry
(
const
vtkExtractGeometry
&) =
delete
;
114
void
operator=(
const
vtkExtractGeometry
&) =
delete
;
115
};
116
117
#endif
vtkExtractGeometry
extract cells that lie either entirely inside or outside of a specified implicit function
Definition
vtkExtractGeometry.h:51
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:107
vtkExtractGeometry::~vtkExtractGeometry
~vtkExtractGeometry() override
vtkExtractGeometry::ExtractBoundaryCells
vtkTypeBool ExtractBoundaryCells
Definition
vtkExtractGeometry.h:109
vtkExtractGeometry::ExtractOnlyBoundaryCells
vtkTypeBool ExtractOnlyBoundaryCells
Definition
vtkExtractGeometry.h:110
vtkExtractGeometry::SetImplicitFunction
virtual void SetImplicitFunction(vtkImplicitFunction *)
Specify the implicit function for inside/outside checks.
vtkExtractGeometry::ExtractInside
vtkTypeBool ExtractInside
Definition
vtkExtractGeometry.h:108
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:40
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:42
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:74
vtkUnstructuredGridAlgorithm
Superclass for algorithms that produce only unstructured grid as output.
Definition
vtkUnstructuredGridAlgorithm.h:41
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:69
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition
vtkType.h:287
vtkUnstructuredGridAlgorithm.h
Generated on Fri Jul 12 2024 00:00:00 for VTK by
1.11.0