VTK
dox/Filters/Core/vtkDataSetToDataObjectFilter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkDataSetToDataObjectFilter.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 =========================================================================*/
00049 #ifndef __vtkDataSetToDataObjectFilter_h
00050 #define __vtkDataSetToDataObjectFilter_h
00051 
00052 #include "vtkFiltersCoreModule.h" // For export macro
00053 #include "vtkDataObjectAlgorithm.h"
00054 
00055 class vtkDataSet;
00056 
00057 class VTKFILTERSCORE_EXPORT vtkDataSetToDataObjectFilter : public vtkDataObjectAlgorithm
00058 {
00059 public:
00060   vtkTypeMacro(vtkDataSetToDataObjectFilter,vtkDataObjectAlgorithm);
00061   void PrintSelf(ostream& os, vtkIndent indent);
00062 
00064   static vtkDataSetToDataObjectFilter *New();
00065 
00067 
00068   vtkSetMacro(Geometry,int);
00069   vtkGetMacro(Geometry,int);
00070   vtkBooleanMacro(Geometry,int);
00072 
00074 
00075   vtkSetMacro(Topology,int);
00076   vtkGetMacro(Topology,int);
00077   vtkBooleanMacro(Topology,int);
00079 
00081 
00082   vtkSetMacro(FieldData,int);
00083   vtkGetMacro(FieldData,int);
00084   vtkBooleanMacro(FieldData,int);
00086 
00088 
00089   vtkSetMacro(PointData,int);
00090   vtkGetMacro(PointData,int);
00091   vtkBooleanMacro(PointData,int);
00093 
00095 
00096   vtkSetMacro(CellData,int);
00097   vtkGetMacro(CellData,int);
00098   vtkBooleanMacro(CellData,int);
00100 
00101 protected:
00102   vtkDataSetToDataObjectFilter();
00103   ~vtkDataSetToDataObjectFilter();
00104 
00105   virtual int RequestData(vtkInformation *, vtkInformationVector **,
00106                           vtkInformationVector *); //generate output data
00107   virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **,
00108                                   vtkInformationVector *);
00109 
00110   virtual int FillInputPortInformation(int, vtkInformation*);
00111 
00112   int Geometry;
00113   int Topology;
00114   int PointData;
00115   int CellData;
00116   int FieldData;
00117 
00118 private:
00119   vtkDataSetToDataObjectFilter(const vtkDataSetToDataObjectFilter&);  // Not implemented.
00120   void operator=(const vtkDataSetToDataObjectFilter&);  // Not implemented.
00121 };
00122 
00123 #endif