VTK
dox
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
=========================================================================*/
37
#ifndef vtkExtractVectorComponents_h
38
#define vtkExtractVectorComponents_h
39
40
#include "vtkFiltersExtractionModule.h"
// For export macro
41
#include "
vtkDataSetAlgorithm.h
"
42
43
class
vtkDataSet
;
44
45
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractVectorComponents
:
public
vtkDataSetAlgorithm
46
{
47
public
:
48
static
vtkExtractVectorComponents
*
New
();
49
vtkTypeMacro(
vtkExtractVectorComponents
,
vtkDataSetAlgorithm
);
50
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
51
55
virtual
void
SetInputData
(
vtkDataSet
*input);
56
63
vtkDataSet
*
GetVxComponent
();
64
72
vtkDataSet
*
GetVyComponent
();
73
81
vtkDataSet
*
GetVzComponent
();
82
84
88
vtkSetMacro(ExtractToFieldData,
vtkTypeBool
);
89
vtkGetMacro(ExtractToFieldData,
vtkTypeBool
);
90
vtkBooleanMacro(ExtractToFieldData,
vtkTypeBool
);
92
93
protected
:
94
vtkExtractVectorComponents
();
95
~vtkExtractVectorComponents
()
override
;
96
97
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
98
vtkTypeBool
ExtractToFieldData
;
99
int
OutputsInitialized
;
100
private
:
101
vtkExtractVectorComponents
(
const
vtkExtractVectorComponents
&) =
delete
;
102
void
operator=(
const
vtkExtractVectorComponents
&) =
delete
;
103
};
104
105
#endif
106
107
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:42
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:46
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:40
vtkExtractVectorComponents::vtkExtractVectorComponents
vtkExtractVectorComponents()
vtkDataSet
abstract class to specify dataset behavior
Definition:
vtkDataSet.h:63
vtkExtractVectorComponents::~vtkExtractVectorComponents
~vtkExtractVectorComponents() override
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:87
vtkDataSetAlgorithm.h
vtkExtractVectorComponents::ExtractToFieldData
vtkTypeBool ExtractToFieldData
Definition:
vtkExtractVectorComponents.h:98
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:99
Generated by
1.8.20