VTK
9.2.6
Filters
Extraction
vtkExtractVectorComponents.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkExtractVectorComponents.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
=========================================================================*/
38
39
#ifndef vtkExtractVectorComponents_h
40
#define vtkExtractVectorComponents_h
41
42
#include "
vtkDataSetAlgorithm.h
"
43
#include "vtkFiltersExtractionModule.h"
// For export macro
44
45
class
vtkDataSet
;
46
47
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractVectorComponents
:
public
vtkDataSetAlgorithm
48
{
49
public
:
50
static
vtkExtractVectorComponents
*
New
();
51
vtkTypeMacro(
vtkExtractVectorComponents
,
vtkDataSetAlgorithm
);
52
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
53
57
virtual
void
SetInputData
(
vtkDataSet
* input);
58
65
vtkDataSet
*
GetVxComponent
();
66
74
vtkDataSet
*
GetVyComponent
();
75
83
vtkDataSet
*
GetVzComponent
();
84
86
90
vtkSetMacro(
ExtractToFieldData
,
vtkTypeBool
);
91
vtkGetMacro(
ExtractToFieldData
,
vtkTypeBool
);
92
vtkBooleanMacro(
ExtractToFieldData
,
vtkTypeBool
);
94
95
protected
:
96
vtkExtractVectorComponents
();
97
~vtkExtractVectorComponents
()
override
;
98
99
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
100
vtkTypeBool
ExtractToFieldData
;
101
int
OutputsInitialized
;
102
103
private
:
104
vtkExtractVectorComponents
(
const
vtkExtractVectorComponents
&) =
delete
;
105
void
operator=(
const
vtkExtractVectorComponents
&) =
delete
;
106
};
107
108
#endif
vtkDataSetAlgorithm::vtkDataSetAlgorithm
vtkDataSetAlgorithm()
vtkDataSet
abstract class to specify dataset behavior
Definition
vtkDataSet.h:57
vtkExtractVectorComponents::SetInputData
virtual void SetInputData(vtkDataSet *input)
Specify the input data or filter.
vtkExtractVectorComponents::OutputsInitialized
int OutputsInitialized
Definition
vtkExtractVectorComponents.h:101
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:100
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:34
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:36
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:68
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:69
vtkDataSetAlgorithm.h
Generated on Sun Mar 2 2025 00:00:00 for VTK by
1.13.2