VTK
dox/Graphics/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 "vtkDataObjectAlgorithm.h"
00053 
00054 class vtkDataSet;
00055 
00056 class VTK_GRAPHICS_EXPORT vtkDataSetToDataObjectFilter : public vtkDataObjectAlgorithm
00057 {
00058 public:
00059   vtkTypeMacro(vtkDataSetToDataObjectFilter,vtkDataObjectAlgorithm);
00060   void PrintSelf(ostream& os, vtkIndent indent);
00061 
00063   static vtkDataSetToDataObjectFilter *New();
00064 
00066 
00067   vtkSetMacro(Geometry,int);
00068   vtkGetMacro(Geometry,int);
00069   vtkBooleanMacro(Geometry,int);
00071 
00073 
00074   vtkSetMacro(Topology,int);
00075   vtkGetMacro(Topology,int);
00076   vtkBooleanMacro(Topology,int);
00078 
00080 
00081   vtkSetMacro(FieldData,int);
00082   vtkGetMacro(FieldData,int);
00083   vtkBooleanMacro(FieldData,int);
00085 
00087 
00088   vtkSetMacro(PointData,int);
00089   vtkGetMacro(PointData,int);
00090   vtkBooleanMacro(PointData,int);
00092 
00094 
00095   vtkSetMacro(CellData,int);
00096   vtkGetMacro(CellData,int);
00097   vtkBooleanMacro(CellData,int);
00099 
00100 protected:
00101   vtkDataSetToDataObjectFilter();
00102   ~vtkDataSetToDataObjectFilter();
00103 
00104   virtual int RequestData(vtkInformation *, vtkInformationVector **,
00105                           vtkInformationVector *); //generate output data
00106   virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **,
00107                                   vtkInformationVector *);
00108 
00109   virtual int FillInputPortInformation(int, vtkInformation*);
00110   
00111   int Geometry;
00112   int Topology;
00113   int PointData;
00114   int CellData;
00115   int FieldData;
00116 
00117 private:
00118   vtkDataSetToDataObjectFilter(const vtkDataSetToDataObjectFilter&);  // Not implemented.
00119   void operator=(const vtkDataSetToDataObjectFilter&);  // Not implemented.
00120 };
00121 
00122 #endif