Graphics/vtkDataSetToDataObjectFilter.h Source File

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

# Graphics/vtkDataSetToDataObjectFilter.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkDataSetToDataObjectFilter.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 =========================================================================*/
    00065 #ifndef __vtkDataSetToDataObjectFilter_h
    00066 #define __vtkDataSetToDataObjectFilter_h
    00067
    00068 #include "vtkDataObjectSource.h"
    00069
    00070 class vtkDataSet;
    00071
    00072 class VTK_GRAPHICS_EXPORT vtkDataSetToDataObjectFilter : public vtkDataObjectSource
    00073 {
    00074 public:
    00075   vtkTypeRevisionMacro(vtkDataSetToDataObjectFilter,vtkDataObjectSource);
    00076   void PrintSelf(ostream& os, vtkIndent indent);
    00077
    00079   static vtkDataSetToDataObjectFilter *New();
    00080
    00082
    00083   vtkSetMacro(Geometry,int);
    00084   vtkGetMacro(Geometry,int);
    00085   vtkBooleanMacro(Geometry,int);
    00087
    00089
    00090   vtkSetMacro(Topology,int);
    00091   vtkGetMacro(Topology,int);
    00092   vtkBooleanMacro(Topology,int);
    00094
    00096
    00097   vtkSetMacro(FieldData,int);
    00098   vtkGetMacro(FieldData,int);
    00099   vtkBooleanMacro(FieldData,int);
    00101
    00103
    00104   vtkSetMacro(PointData,int);
    00105   vtkGetMacro(PointData,int);
    00106   vtkBooleanMacro(PointData,int);
    00108
    00110
    00111   vtkSetMacro(CellData,int);
    00112   vtkGetMacro(CellData,int);
    00113   vtkBooleanMacro(CellData,int);
    00115
    00117
    00118   virtual void SetInput(vtkDataSet *input);
    00119   vtkDataSet *GetInput();
    00121
    00122 protected:
    00123   vtkDataSetToDataObjectFilter();
    00124   ~vtkDataSetToDataObjectFilter();
    00125
    00126   void Execute(); //generate output data
    00127   void ComputeInputUpdateExtents(vtkDataObject *output);
    00128
    00129   int Geometry;
    00130   int Topology;
    00131   int PointData;
    00132   int CellData;
    00133   int FieldData;
    00134
    00135 private:
    00136   vtkDataSetToDataObjectFilter(const vtkDataSetToDataObjectFilter&);  // Not implemented.
    00137   void operator=(const vtkDataSetToDataObjectFilter&);  // Not implemented.
    00138 };
    00139
    00140 #endif
    00141
    00142