VTK  9.1.0
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
40class vtkDataSet;
41
42class VTKFILTERSEXTRACTION_EXPORT vtkExtractVectorComponents : public vtkDataSetAlgorithm
43{
44public:
47 void PrintSelf(ostream& os, vtkIndent indent) override;
48
52 virtual void SetInputData(vtkDataSet* input);
53
61
70
79
81
85 vtkSetMacro(ExtractToFieldData, vtkTypeBool);
86 vtkGetMacro(ExtractToFieldData, vtkTypeBool);
87 vtkBooleanMacro(ExtractToFieldData, vtkTypeBool);
89
90protected:
93
97
98private:
100 void operator=(const vtkExtractVectorComponents&) = delete;
101};
102
103#endif
Superclass for algorithms that produce output of the same type as input.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:166
extract components of vector as separate scalars
virtual void SetInputData(vtkDataSet *input)
Specify the input data or filter.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkDataSet * GetVyComponent()
Get the output dataset representing velocity y-component.
vtkDataSet * GetVzComponent()
Get the output dataset representing velocity z-component.
vtkDataSet * GetVxComponent()
Get the output dataset representing velocity x-component.
~vtkExtractVectorComponents() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
static vtkExtractVectorComponents * New()
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
int vtkTypeBool
Definition: vtkABI.h:69