VTK
9.3.1
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
Filters
General
vtkExtractSelectionBase.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
12
#ifndef vtkExtractSelectionBase_h
13
#define vtkExtractSelectionBase_h
14
15
#include "
vtkDataObjectAlgorithm.h
"
16
#include "vtkFiltersGeneralModule.h"
// For export macro
17
18
VTK_ABI_NAMESPACE_BEGIN
19
class
VTKFILTERSGENERAL_EXPORT
vtkExtractSelectionBase
:
public
vtkDataObjectAlgorithm
20
{
21
public
:
22
vtkTypeMacro(
vtkExtractSelectionBase
,
vtkDataObjectAlgorithm
);
23
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
24
29
void
SetSelectionConnection
(
vtkAlgorithmOutput
* algOutput)
30
{
31
this->
SetInputConnection
(1, algOutput);
32
}
33
35
40
vtkSetMacro(PreserveTopology,
vtkTypeBool
);
41
vtkGetMacro(PreserveTopology,
vtkTypeBool
);
42
vtkBooleanMacro(PreserveTopology,
vtkTypeBool
);
44
45
protected
:
46
vtkExtractSelectionBase
();
47
~vtkExtractSelectionBase
()
override
;
48
52
int
RequestDataObject
(
vtkInformation
* request,
vtkInformationVector
** inputVector,
53
vtkInformationVector
* outputVector)
override
;
54
55
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
56
57
vtkTypeBool
PreserveTopology
;
58
59
private
:
60
vtkExtractSelectionBase
(
const
vtkExtractSelectionBase
&) =
delete
;
61
void
operator=(
const
vtkExtractSelectionBase
&) =
delete
;
62
};
63
64
VTK_ABI_NAMESPACE_END
65
#endif
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition
vtkAlgorithmOutput.h:32
vtkAlgorithm::SetInputConnection
virtual void SetInputConnection(int port, vtkAlgorithmOutput *input)
Set the connection for the given input port index.
vtkDataObjectAlgorithm
Superclass for algorithms that produce only data object as output.
Definition
vtkDataObjectAlgorithm.h:33
vtkExtractSelectionBase
abstract base class for all extract selection filters.
Definition
vtkExtractSelectionBase.h:20
vtkExtractSelectionBase::PreserveTopology
vtkTypeBool PreserveTopology
Definition
vtkExtractSelectionBase.h:57
vtkExtractSelectionBase::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExtractSelectionBase::RequestDataObject
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Sets up empty output dataset.
vtkExtractSelectionBase::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkExtractSelectionBase::SetSelectionConnection
void SetSelectionConnection(vtkAlgorithmOutput *algOutput)
Convenience method to specify the selection connection (2nd input port)
Definition
vtkExtractSelectionBase.h:29
vtkExtractSelectionBase::~vtkExtractSelectionBase
~vtkExtractSelectionBase() override
vtkExtractSelectionBase::vtkExtractSelectionBase
vtkExtractSelectionBase()
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
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:64
vtkDataObjectAlgorithm.h
Generated on Tue Jul 9 2024 00:00:00 for VTK by
1.11.0