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

# Graphics/vtkMergeDataObjectFilter.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkMergeDataObjectFilter.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 =========================================================================*/
    00056 #ifndef __vtkMergeDataObjectFilter_h
    00057 #define __vtkMergeDataObjectFilter_h
    00058
    00059 #include "vtkDataSetToDataSetFilter.h"
    00060
    00061 class VTK_GRAPHICS_EXPORT vtkMergeDataObjectFilter : public vtkDataSetToDataSetFilter
    00062 {
    00063 public:
    00064   static vtkMergeDataObjectFilter *New();
    00065   vtkTypeRevisionMacro(vtkMergeDataObjectFilter,vtkDataSetToDataSetFilter);
    00066   void PrintSelf(ostream& os, vtkIndent indent);
    00067
    00069
    00070   void SetDataObject(vtkDataObject *object);
    00071   vtkDataObject *GetDataObject();
    00073
    00075
    00079   vtkSetMacro(OutputField,int);
    00080   vtkGetMacro(OutputField,int);
    00081   void SetOutputFieldToDataObjectField();
    00082   void SetOutputFieldToPointDataField();
    00083   void SetOutputFieldToCellDataField();
    00085
    00086 protected:
    00087   vtkMergeDataObjectFilter();
    00088   ~vtkMergeDataObjectFilter();
    00089
    00090   // Usual data generation method
    00091   void Execute();
    00092
    00093   int OutputField; // which output field
    00094
    00095 private:
    00096   vtkMergeDataObjectFilter(const vtkMergeDataObjectFilter&);  // Not implemented.
    00097   void operator=(const vtkMergeDataObjectFilter&);  // Not implemented.
    00098 };
    00099
    00100 #endif
    00101
    00102