VTK
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:
50  void PrintSelf(ostream& os, vtkIndent indent);
51 
55  virtual void SetInputData(vtkDataSet *input);
56 
63  vtkDataSet *GetVxComponent();
64 
72  vtkDataSet *GetVyComponent();
73 
81  vtkDataSet *GetVzComponent();
82 
84 
88  vtkSetMacro(ExtractToFieldData, int);
89  vtkGetMacro(ExtractToFieldData, int);
90  vtkBooleanMacro(ExtractToFieldData, int);
92 
93 protected:
96 
100 private:
101  vtkExtractVectorComponents(const vtkExtractVectorComponents&) VTK_DELETE_FUNCTION;
102  void operator=(const vtkExtractVectorComponents&) VTK_DELETE_FUNCTION;
103 };
104 
105 #endif
106 
107 
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
void SetInputData(vtkDataObject *)
Assign a data object as input.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Store zero or more vtkInformation instances.
Superclass for algorithms that produce output of the same type as input.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
extract components of vector as separate scalars
static vtkDataSetAlgorithm * New()