VTK
dox
Filters
Extraction
vtkExtractSelectionLegacy.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkExtractSelectionLegacy.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
=========================================================================*/
36
#ifndef vtkExtractSelectionLegacy_h
37
#define vtkExtractSelectionLegacy_h
38
39
#include "vtkFiltersExtractionModule.h"
// For export macro
40
#include "
vtkExtractSelectionBase.h
"
41
42
#ifndef VTK_LEGACY_REMOVE
43
44
class
vtkExtractSelectedBlock
;
45
class
vtkExtractSelectedFrustum
;
46
class
vtkExtractSelectedIds
;
47
class
vtkExtractSelectedLocations
;
48
class
vtkExtractSelectedRows
;
49
class
vtkExtractSelectedThresholds
;
50
class
vtkProbeSelectedLocations
;
51
class
vtkSelection
;
52
class
vtkSelectionNode
;
53
54
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractSelectionLegacy
:
public
vtkExtractSelectionBase
55
{
56
public
:
57
static
vtkExtractSelectionLegacy
*
New
();
58
vtkTypeMacro(
vtkExtractSelectionLegacy
,
vtkExtractSelectionBase
);
59
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
60
62
66
vtkSetMacro(ShowBounds,
vtkTypeBool
);
67
vtkGetMacro(ShowBounds,
vtkTypeBool
);
68
vtkBooleanMacro(ShowBounds,
vtkTypeBool
);
70
72
77
vtkSetMacro(UseProbeForLocations,
vtkTypeBool
);
78
vtkGetMacro(UseProbeForLocations,
vtkTypeBool
);
79
vtkBooleanMacro(UseProbeForLocations,
vtkTypeBool
);
81
82
protected
:
83
vtkExtractSelectionLegacy
();
84
~vtkExtractSelectionLegacy
()
override
;
85
86
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
)
override
;
87
88
//sets up empty output dataset
89
int
RequestDataObject
(
vtkInformation
* request,
90
vtkInformationVector
** inputVector,
91
vtkInformationVector
* outputVector)
override
;
92
93
// runs the algorithm and fills the output with results
94
int
RequestData
(
vtkInformation
*,
95
vtkInformationVector
**,
96
vtkInformationVector
*)
override
;
97
98
// used for composite, non-hierarhical input.
99
vtkDataObject
*
RequestDataInternal
(
100
unsigned
int
composite_index,
101
vtkDataObject
* non_composite_input,
vtkSelection
* sel,
102
vtkInformation
* outInfo);
103
104
// Used for hierarchical input.
105
vtkDataObject
*
RequestDataInternal
(
106
unsigned
int
composite_index,
107
unsigned
int
level
,
108
unsigned
int
index
,
109
vtkDataObject
* non_composite_input,
vtkSelection
* sel,
110
vtkInformation
* outInfo);
111
112
113
// called for non-composite input or for a block in a composite dataset.
114
vtkDataObject
*
RequestDataFromBlock
(
vtkDataObject
* input,
115
vtkSelectionNode
* sel,
vtkInformation
* outInfo);
116
117
vtkExtractSelectedBlock
*
BlockFilter
;
118
vtkExtractSelectedFrustum
*
FrustumFilter
;
119
vtkExtractSelectedIds
*
IdsFilter
;
120
vtkExtractSelectedLocations
*
LocationsFilter
;
121
vtkExtractSelectedRows
*
RowsFilter
;
122
vtkExtractSelectedThresholds
*
ThresholdsFilter
;
123
vtkProbeSelectedLocations
*
ProbeFilter
;
124
125
vtkTypeBool
UseProbeForLocations
;
126
vtkTypeBool
ShowBounds
;
127
private
:
128
vtkExtractSelectionLegacy
(
const
vtkExtractSelectionLegacy
&) =
delete
;
129
void
operator=(
const
vtkExtractSelectionLegacy
&) =
delete
;
130
};
131
132
#endif // VTK_LEGACY_REMOVE
133
134
#endif
vtkExtractSelectionLegacy::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkExtractSelectionBase.h
vtkExtractSelectionLegacy::vtkExtractSelectionLegacy
vtkExtractSelectionLegacy()
vtkExtractSelectionLegacy::IdsFilter
vtkExtractSelectedIds * IdsFilter
Definition:
vtkExtractSelectionLegacy.h:119
vtkSelectionNode
A node in a selection tree. Used to store selection results.
Definition:
vtkSelectionNode.h:68
vtkExtractSelectedLocations
extract cells within a dataset that contain the locations listen in the vtkSelection.
Definition:
vtkExtractSelectedLocations.h:39
vtkExtractSelectedBlock
Extract-Selection filter to extract blocks.
Definition:
vtkExtractSelectedBlock.h:40
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:42
vtkExtractSelectionLegacy::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkExtractSelectionLegacy::RequestDataFromBlock
vtkDataObject * RequestDataFromBlock(vtkDataObject *input, vtkSelectionNode *sel, vtkInformation *outInfo)
vtkSelection
data object that represents a "selection" in VTK.
Definition:
vtkSelection.h:64
vtkExtractSelectedIds
extract a list of cells from a dataset
Definition:
vtkExtractSelectedIds.h:41
vtkExtractSelectedThresholds
extract a cells or points from a dataset that have values within a set of thresholds.
Definition:
vtkExtractSelectedThresholds.h:46
vtkExtractSelectionLegacy::UseProbeForLocations
vtkTypeBool UseProbeForLocations
Definition:
vtkExtractSelectionLegacy.h:125
vtkExtractSelectionLegacy
extract a subset from a vtkDataSet.
Definition:
vtkExtractSelectionLegacy.h:55
vtkX3D::level
@ level
Definition:
vtkX3D.h:395
vtkX3D::port
@ port
Definition:
vtkX3D.h:447
vtkExtractSelectionLegacy::RequestDataObject
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkExtractSelectionLegacy::RequestDataInternal
vtkDataObject * RequestDataInternal(unsigned int composite_index, vtkDataObject *non_composite_input, vtkSelection *sel, vtkInformation *outInfo)
vtkExtractSelectionLegacy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:40
vtkExtractSelectionLegacy::ProbeFilter
vtkProbeSelectedLocations * ProbeFilter
Definition:
vtkExtractSelectionLegacy.h:123
vtkExtractSelectionLegacy::FrustumFilter
vtkExtractSelectedFrustum * FrustumFilter
Definition:
vtkExtractSelectionLegacy.h:118
vtkExtractSelectionLegacy::~vtkExtractSelectionLegacy
~vtkExtractSelectionLegacy() override
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:87
vtkX3D::info
@ info
Definition:
vtkX3D.h:376
vtkExtractSelectionLegacy::RowsFilter
vtkExtractSelectedRows * RowsFilter
Definition:
vtkExtractSelectionLegacy.h:121
vtkExtractSelectionBase
abstract base class for all extract selection filters.
Definition:
vtkExtractSelectionBase.h:31
vtkExtractSelectionLegacy::New
static vtkExtractSelectionLegacy * New()
vtkExtractSelectionLegacy::RequestDataInternal
vtkDataObject * RequestDataInternal(unsigned int composite_index, unsigned int level, unsigned int index, vtkDataObject *non_composite_input, vtkSelection *sel, vtkInformation *outInfo)
vtkProbeSelectedLocations
similar to vtkExtractSelectedLocations except that it interpolates the point attributes at the probe ...
Definition:
vtkProbeSelectedLocations.h:35
vtkDataObject
general representation of visualization data
Definition:
vtkDataObject.h:65
vtkExtractSelectionLegacy::BlockFilter
vtkExtractSelectedBlock * BlockFilter
Definition:
vtkExtractSelectionLegacy.h:117
vtkExtractSelectedRows
return selected rows of a table
Definition:
vtkExtractSelectedRows.h:40
vtkX3D::index
@ index
Definition:
vtkX3D.h:246
vtkExtractSelectionLegacy::ThresholdsFilter
vtkExtractSelectedThresholds * ThresholdsFilter
Definition:
vtkExtractSelectionLegacy.h:122
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
vtkExtractSelectedFrustum
Returns the portion of the input dataset that lies within a selection frustum.
Definition:
vtkExtractSelectedFrustum.h:53
vtkExtractSelectionLegacy::LocationsFilter
vtkExtractSelectedLocations * LocationsFilter
Definition:
vtkExtractSelectionLegacy.h:120
vtkExtractSelectionLegacy::ShowBounds
vtkTypeBool ShowBounds
Definition:
vtkExtractSelectionLegacy.h:126
Generated by
1.8.18