VTK
9.2.6
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
Filters
General
vtkExtractSelectionBase.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkExtractSelectionBase.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
=========================================================================*/
23
24
#ifndef vtkExtractSelectionBase_h
25
#define vtkExtractSelectionBase_h
26
27
#include "
vtkDataObjectAlgorithm.h
"
28
#include "vtkFiltersGeneralModule.h"
// For export macro
29
30
class
VTKFILTERSGENERAL_EXPORT
vtkExtractSelectionBase
:
public
vtkDataObjectAlgorithm
31
{
32
public
:
33
vtkTypeMacro(
vtkExtractSelectionBase
,
vtkDataObjectAlgorithm
);
34
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
35
40
void
SetSelectionConnection
(
vtkAlgorithmOutput
* algOutput)
41
{
42
this->
SetInputConnection
(1, algOutput);
43
}
44
46
51
vtkSetMacro(
PreserveTopology
,
vtkTypeBool
);
52
vtkGetMacro(
PreserveTopology
,
vtkTypeBool
);
53
vtkBooleanMacro(
PreserveTopology
,
vtkTypeBool
);
55
56
protected
:
57
vtkExtractSelectionBase
();
58
~vtkExtractSelectionBase
()
override
;
59
63
int
RequestDataObject
(
vtkInformation
* request,
vtkInformationVector
** inputVector,
64
vtkInformationVector
* outputVector)
override
;
65
66
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
67
68
vtkTypeBool
PreserveTopology
;
69
70
private
:
71
vtkExtractSelectionBase
(
const
vtkExtractSelectionBase
&) =
delete
;
72
void
operator=(
const
vtkExtractSelectionBase
&) =
delete
;
73
};
74
75
#endif
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition
vtkAlgorithmOutput.h:43
vtkAlgorithm::SetInputConnection
virtual void SetInputConnection(int port, vtkAlgorithmOutput *input)
Set the connection for the given input port index.
vtkDataObjectAlgorithm::vtkDataObjectAlgorithm
vtkDataObjectAlgorithm()
vtkExtractSelectionBase::PreserveTopology
vtkTypeBool PreserveTopology
Definition
vtkExtractSelectionBase.h:68
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:40
vtkExtractSelectionBase::~vtkExtractSelectionBase
~vtkExtractSelectionBase() override
vtkExtractSelectionBase::vtkExtractSelectionBase
vtkExtractSelectionBase()
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
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:69
vtkDataObjectAlgorithm.h
Generated on
for VTK by
1.14.0