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 "vtkDataSetAlgorithm.h"
40 
41 class vtkDataSet;
42 
44 {
45 public:
48  void PrintSelf(ostream& os, vtkIndent indent);
49 
51  virtual void SetInput(vtkDataSet *input);
52 
57  vtkDataSet *GetVxComponent();
58 
64  vtkDataSet *GetVyComponent();
65 
71  vtkDataSet *GetVzComponent();
72 
74 
76  vtkSetMacro(ExtractToFieldData, int);
77  vtkGetMacro(ExtractToFieldData, int);
78  vtkBooleanMacro(ExtractToFieldData, int);
80 
81 protected:
84 
88 private:
89  vtkExtractVectorComponents(const vtkExtractVectorComponents&); // Not implemented.
90  void operator=(const vtkExtractVectorComponents&); // Not implemented.
91 };
92 
93 #endif
94 
95