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
=========================================================================*/
44
#ifndef vtkExtractGeometry_h
45
#define vtkExtractGeometry_h
46
47
#include "vtkFiltersExtractionModule.h"
// For export macro
48
#include "
vtkUnstructuredGridAlgorithm.h
"
49
50
class
vtkImplicitFunction
;
51
52
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractGeometry
:
public
vtkUnstructuredGridAlgorithm
53
{
54
public
:
55
vtkTypeMacro(
vtkExtractGeometry
,
vtkUnstructuredGridAlgorithm
);
56
void
PrintSelf
(ostream& os,
vtkIndent
indent);
57
61
static
vtkExtractGeometry
*
New
();
62
66
vtkMTimeType
GetMTime
();
67
69
72
virtual
void
SetImplicitFunction
(
vtkImplicitFunction
*);
73
vtkGetObjectMacro(ImplicitFunction,
vtkImplicitFunction
);
75
77
82
vtkSetMacro
(ExtractInside,
int
);
83
vtkGetMacro(ExtractInside,
int
);
84
vtkBooleanMacro
(ExtractInside,
int
);
86
88
92
vtkSetMacro
(ExtractBoundaryCells,
int
);
93
vtkGetMacro(ExtractBoundaryCells,
int
);
94
vtkBooleanMacro
(ExtractBoundaryCells,
int
);
95
vtkSetMacro
(ExtractOnlyBoundaryCells,
int
);
96
vtkGetMacro(ExtractOnlyBoundaryCells,
int
);
97
vtkBooleanMacro
(ExtractOnlyBoundaryCells,
int
);
99
100
protected
:
101
vtkExtractGeometry
(
vtkImplicitFunction
*f=NULL);
102
~vtkExtractGeometry
();
103
104
// Usual data generation method
105
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
106
107
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
108
109
vtkImplicitFunction
*
ImplicitFunction
;
110
int
ExtractInside
;
111
int
ExtractBoundaryCells
;
112
int
ExtractOnlyBoundaryCells
;
113
114
private
:
115
vtkExtractGeometry
(
const
vtkExtractGeometry
&) VTK_DELETE_FUNCTION;
116
void
operator=(
const
vtkExtractGeometry
&) VTK_DELETE_FUNCTION;
117
};
118
119
#endif
120
121
vtkExtractGeometry::GetMTime
vtkMTimeType GetMTime()
Return the MTime taking into account changes to the implicit function.
vtkExtractGeometry::vtkExtractGeometry
vtkExtractGeometry(vtkImplicitFunction *f=NULL)
vtkExtractGeometry::New
static vtkExtractGeometry * New()
Construct object with ExtractInside turned on.
vtkExtractGeometry::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:42
vtkExtractGeometry::ExtractInside
int ExtractInside
Definition:
vtkExtractGeometry.h:110
vtkExtractGeometry::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkExtractGeometry::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkExtractGeometry
extract cells that lie either entirely inside or outside of a specified implicit function
Definition:
vtkExtractGeometry.h:53
vtkMTimeType
vtkTypeUInt64 vtkMTimeType
Definition:
vtkType.h:248
vtkImplicitFunction
abstract interface for implicit functions
Definition:
vtkImplicitFunction.h:59
vtkX3D::port
@ port
Definition:
vtkX3D.h:447
vtkExtractGeometry::ImplicitFunction
vtkImplicitFunction * ImplicitFunction
Definition:
vtkExtractGeometry.h:109
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:40
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:87
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkX3D::info
@ info
Definition:
vtkX3D.h:376
vtkExtractGeometry::ExtractBoundaryCells
int ExtractBoundaryCells
Definition:
vtkExtractGeometry.h:111
vtkExtractGeometry::~vtkExtractGeometry
~vtkExtractGeometry()
vtkUnstructuredGridAlgorithm.h
vtkUnstructuredGridAlgorithm
Superclass for algorithms that produce only unstructured grid as output.
Definition:
vtkUnstructuredGridAlgorithm.h:41
vtkExtractGeometry::SetImplicitFunction
virtual void SetImplicitFunction(vtkImplicitFunction *)
Specify the implicit function for inside/outside checks.
vtkExtractGeometry::ExtractOnlyBoundaryCells
int ExtractOnlyBoundaryCells
Definition:
vtkExtractGeometry.h:112
Generated by
1.8.20