Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Graphics/vtkExtractVectorComponents.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkExtractVectorComponents.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00040 #ifndef __vtkExtractVectorComponents_h 00041 #define __vtkExtractVectorComponents_h 00042 00043 #include "vtkSource.h" 00044 00045 class vtkDataSet; 00046 00047 class VTK_GRAPHICS_EXPORT vtkExtractVectorComponents : public vtkSource 00048 { 00049 public: 00050 static vtkExtractVectorComponents *New(); 00051 vtkTypeRevisionMacro(vtkExtractVectorComponents,vtkSource); 00052 void PrintSelf(ostream& os, vtkIndent indent); 00053 00055 virtual void SetInput(vtkDataSet *input); 00056 00058 vtkDataSet *GetInput(); 00059 00064 vtkDataSet *GetVxComponent(); 00065 00071 vtkDataSet *GetVyComponent(); 00072 00078 vtkDataSet *GetVzComponent(); 00079 00084 vtkDataSet *GetOutput(int i=0); //default extracts vector component. 00085 00087 00089 vtkSetMacro(ExtractToFieldData, int); 00090 vtkGetMacro(ExtractToFieldData, int); 00091 vtkBooleanMacro(ExtractToFieldData, int); 00093 00094 protected: 00095 vtkExtractVectorComponents(); 00096 ~vtkExtractVectorComponents(); 00097 00098 void Execute(); 00099 int ExtractToFieldData; 00100 private: 00101 vtkExtractVectorComponents(const vtkExtractVectorComponents&); // Not implemented. 00102 void operator=(const vtkExtractVectorComponents&); // Not implemented. 00103 }; 00104 00105 #endif 00106 00107