Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkMergeDataObjectFilter.h

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