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
=========================================================================*/
41
42
#ifndef vtkExtractVectorComponents_h
43
#define vtkExtractVectorComponents_h
44
45
#include "
vtkDataSetAlgorithm.h
"
46
#include "vtkFiltersExtractionModule.h"
// For export macro
47
48
class
vtkDataSet
;
49
50
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractVectorComponents
:
public
vtkDataSetAlgorithm
51
{
52
public
:
53
static
vtkExtractVectorComponents
*
New
();
54
vtkTypeMacro(
vtkExtractVectorComponents
,
vtkDataSetAlgorithm
);
55
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
56
60
virtual
void
SetInputData
(
vtkDataSet
* input);
61
68
vtkDataSet
*
GetVxComponent
();
69
77
vtkDataSet
*
GetVyComponent
();
78
86
vtkDataSet
*
GetVzComponent
();
87
89
93
vtkSetMacro(
ExtractToFieldData
,
vtkTypeBool
);
94
vtkGetMacro(
ExtractToFieldData
,
vtkTypeBool
);
95
vtkBooleanMacro(
ExtractToFieldData
,
vtkTypeBool
);
97
98
protected
:
99
vtkExtractVectorComponents
();
100
~vtkExtractVectorComponents
()
override
;
101
102
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
103
vtkTypeBool
ExtractToFieldData
;
104
int
OutputsInitialized
;
105
106
private
:
107
vtkExtractVectorComponents
(
const
vtkExtractVectorComponents
&) =
delete
;
108
void
operator=(
const
vtkExtractVectorComponents
&) =
delete
;
109
};
110
111
#endif
vtkDataSetAlgorithm::vtkDataSetAlgorithm
vtkDataSetAlgorithm()
vtkDataSet
abstract class to specify dataset behavior
Definition
vtkDataSet.h:63
vtkExtractVectorComponents::SetInputData
virtual void SetInputData(vtkDataSet *input)
Specify the input data or filter.
vtkExtractVectorComponents::OutputsInitialized
int OutputsInitialized
Definition
vtkExtractVectorComponents.h:104
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:103
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: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
vtkDataSetAlgorithm.h
Generated on Tue Jan 28 2025 00:00:00 for VTK by
1.13.2