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 =========================================================================*/
36 #ifndef vtkExtractVectorComponents_h
37 #define vtkExtractVectorComponents_h
38 
39 #include "vtkFiltersExtractionModule.h" // For export macro
40 #include "vtkDataSetAlgorithm.h"
41 
42 class vtkDataSet;
43 
45 {
46 public:
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
52  virtual void SetInputData(vtkDataSet *input);
53 
58  vtkDataSet *GetVxComponent();
59 
65  vtkDataSet *GetVyComponent();
66 
72  vtkDataSet *GetVzComponent();
73 
75 
77  vtkSetMacro(ExtractToFieldData, int);
78  vtkGetMacro(ExtractToFieldData, int);
79  vtkBooleanMacro(ExtractToFieldData, int);
81 
82 protected:
85 
89 private:
90  vtkExtractVectorComponents(const vtkExtractVectorComponents&); // Not implemented.
91  void operator=(const vtkExtractVectorComponents&); // Not implemented.
92 };
93 
94 #endif
95 
96 
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:61
void SetInputData(vtkDataObject *)
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
#define VTKFILTERSEXTRACTION_EXPORT
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce output of the same type as input.
extract components of vector as separate scalars
static vtkDataSetAlgorithm * New()