VTK
dox/Filters/Extraction/vtkExtractVectorComponents.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkExtractVectorComponents.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00036 #ifndef __vtkExtractVectorComponents_h
00037 #define __vtkExtractVectorComponents_h
00038 
00039 #include "vtkFiltersExtractionModule.h" // For export macro
00040 #include "vtkDataSetAlgorithm.h"
00041 
00042 class vtkDataSet;
00043 
00044 class VTKFILTERSEXTRACTION_EXPORT vtkExtractVectorComponents : public vtkDataSetAlgorithm
00045 {
00046 public:
00047   static vtkExtractVectorComponents *New();
00048   vtkTypeMacro(vtkExtractVectorComponents,vtkDataSetAlgorithm);
00049   void PrintSelf(ostream& os, vtkIndent indent);
00050 
00052   virtual void SetInputData(vtkDataSet *input);
00053 
00058   vtkDataSet *GetVxComponent();
00059 
00065   vtkDataSet *GetVyComponent();
00066 
00072   vtkDataSet *GetVzComponent();
00073 
00075 
00077   vtkSetMacro(ExtractToFieldData, int);
00078   vtkGetMacro(ExtractToFieldData, int);
00079   vtkBooleanMacro(ExtractToFieldData, int);
00081 
00082 protected:
00083   vtkExtractVectorComponents();
00084   ~vtkExtractVectorComponents();
00085 
00086   virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00087   int ExtractToFieldData;
00088   int OutputsInitialized;
00089 private:
00090   vtkExtractVectorComponents(const vtkExtractVectorComponents&);  // Not implemented.
00091   void operator=(const vtkExtractVectorComponents&);  // Not implemented.
00092 };
00093 
00094 #endif
00095 
00096