VTK
9.5.20251120
Filters
Extraction
vtkExtractVectorComponents.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
29
30
#ifndef vtkExtractVectorComponents_h
31
#define vtkExtractVectorComponents_h
32
33
#include "
vtkDataSetAlgorithm.h
"
34
#include "vtkFiltersExtractionModule.h"
// For export macro
35
36
VTK_ABI_NAMESPACE_BEGIN
37
class
vtkDataSet
;
38
39
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractVectorComponents
:
public
vtkDataSetAlgorithm
40
{
41
public
:
42
static
vtkExtractVectorComponents
*
New
();
43
vtkTypeMacro(
vtkExtractVectorComponents
,
vtkDataSetAlgorithm
);
44
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
45
49
virtual
void
SetInputData
(
vtkDataSet
* input);
50
57
vtkDataSet
*
GetVxComponent
();
58
66
vtkDataSet
*
GetVyComponent
();
67
75
vtkDataSet
*
GetVzComponent
();
76
78
82
vtkSetMacro(
ExtractToFieldData
,
vtkTypeBool
);
83
vtkGetMacro(
ExtractToFieldData
,
vtkTypeBool
);
84
vtkBooleanMacro(
ExtractToFieldData
,
vtkTypeBool
);
86
87
protected
:
88
vtkExtractVectorComponents
();
89
~vtkExtractVectorComponents
()
override
;
90
91
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
92
vtkTypeBool
ExtractToFieldData
;
93
int
OutputsInitialized
;
94
95
private
:
96
vtkExtractVectorComponents
(
const
vtkExtractVectorComponents
&) =
delete
;
97
void
operator=(
const
vtkExtractVectorComponents
&) =
delete
;
98
};
99
100
VTK_ABI_NAMESPACE_END
101
#endif
vtkDataSetAlgorithm::vtkDataSetAlgorithm
vtkDataSetAlgorithm()
vtkDataSet
abstract class to specify dataset behavior
Definition
vtkDataSet.h:166
vtkExtractVectorComponents::SetInputData
virtual void SetInputData(vtkDataSet *input)
Specify the input data or filter.
vtkExtractVectorComponents::OutputsInitialized
int OutputsInitialized
Definition
vtkExtractVectorComponents.h:93
vtkExtractVectorComponents::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExtractVectorComponents::GetVyComponent
vtkDataSet * GetVyComponent()
Get the output dataset representing velocity y-component.
vtkExtractVectorComponents::GetVzComponent
vtkDataSet * GetVzComponent()
Get the output dataset representing velocity z-component.
vtkExtractVectorComponents::ExtractToFieldData
vtkTypeBool ExtractToFieldData
Definition
vtkExtractVectorComponents.h:92
vtkExtractVectorComponents::GetVxComponent
vtkDataSet * GetVxComponent()
Get the output dataset representing velocity x-component.
vtkExtractVectorComponents::vtkExtractVectorComponents
vtkExtractVectorComponents()
vtkExtractVectorComponents::~vtkExtractVectorComponents
~vtkExtractVectorComponents() override
vtkExtractVectorComponents::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkExtractVectorComponents::New
static vtkExtractVectorComponents * New()
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:108
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:142
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:173
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:64
vtkDataSetAlgorithm.h
Generated on Thu Nov 20 2025 07:56:37 for VTK by
1.13.2