VTK
9.0.1
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
=========================================================================*/
34
#ifndef vtkExtractVectorComponents_h
35
#define vtkExtractVectorComponents_h
36
37
#include "
vtkDataSetAlgorithm.h
"
38
#include "vtkFiltersExtractionModule.h"
// For export macro
39
40
class
vtkDataSet
;
41
42
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractVectorComponents
:
public
vtkDataSetAlgorithm
43
{
44
public
:
45
static
vtkExtractVectorComponents
*
New
();
46
vtkTypeMacro(
vtkExtractVectorComponents
,
vtkDataSetAlgorithm
);
47
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
48
52
virtual
void
SetInputData
(
vtkDataSet
* input);
53
60
vtkDataSet
*
GetVxComponent
();
61
69
vtkDataSet
*
GetVyComponent
();
70
78
vtkDataSet
*
GetVzComponent
();
79
81
85
vtkSetMacro(ExtractToFieldData,
vtkTypeBool
);
86
vtkGetMacro(ExtractToFieldData,
vtkTypeBool
);
87
vtkBooleanMacro(ExtractToFieldData,
vtkTypeBool
);
89
90
protected
:
91
vtkExtractVectorComponents
();
92
~vtkExtractVectorComponents
()
override
;
93
94
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
95
vtkTypeBool
ExtractToFieldData
;
96
int
OutputsInitialized
;
97
98
private
:
99
vtkExtractVectorComponents
(
const
vtkExtractVectorComponents
&) =
delete
;
100
void
operator=(
const
vtkExtractVectorComponents
&) =
delete
;
101
};
102
103
#endif
vtkExtractVectorComponents::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:36
vtkExtractVectorComponents::GetVyComponent
vtkDataSet * GetVyComponent()
Get the output dataset representing velocity y-component.
vtkExtractVectorComponents::GetVxComponent
vtkDataSet * GetVxComponent()
Get the output dataset representing velocity x-component.
vtkDataSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition:
vtkDataSetAlgorithm.h:49
vtkExtractVectorComponents
extract components of vector as separate scalars
Definition:
vtkExtractVectorComponents.h:43
vtkExtractVectorComponents::SetInputData
virtual void SetInputData(vtkDataSet *input)
Specify the input data or filter.
vtkExtractVectorComponents::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:34
vtkExtractVectorComponents::vtkExtractVectorComponents
vtkExtractVectorComponents()
vtkDataSet
abstract class to specify dataset behavior
Definition:
vtkDataSet.h:57
vtkExtractVectorComponents::~vtkExtractVectorComponents
~vtkExtractVectorComponents() override
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:65
vtkDataSetAlgorithm.h
vtkExtractVectorComponents::ExtractToFieldData
vtkTypeBool ExtractToFieldData
Definition:
vtkExtractVectorComponents.h:95
vtkExtractVectorComponents::New
static vtkExtractVectorComponents * New()
vtkExtractVectorComponents::GetVzComponent
vtkDataSet * GetVzComponent()
Get the output dataset representing velocity z-component.
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
vtkExtractVectorComponents::OutputsInitialized
int OutputsInitialized
Definition:
vtkExtractVectorComponents.h:96
Generated on Mon Jan 4 2021 21:12:05 for VTK by
1.8.20