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

vtkTrivialProducer.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkTrivialProducer.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 =========================================================================*/
00036 #ifndef __vtkTrivialProducer_h
00037 #define __vtkTrivialProducer_h
00038 
00039 #include "vtkAlgorithm.h"
00040 
00041 class vtkDataObject;
00042 
00043 class VTK_FILTERING_EXPORT vtkTrivialProducer : public vtkAlgorithm
00044 {
00045 public:
00046   static vtkTrivialProducer *New();
00047   vtkTypeRevisionMacro(vtkTrivialProducer,vtkAlgorithm);
00048   void PrintSelf(ostream& os, vtkIndent indent);
00049 
00051 
00054   virtual int ProcessRequest(vtkInformation*,
00055                              vtkInformationVector*,
00056                              vtkInformationVector*);
00058 
00061   virtual void SetOutput(vtkDataObject* output);
00062 
00065   virtual unsigned long GetMTime();
00066 protected:
00067   vtkTrivialProducer();
00068   ~vtkTrivialProducer();
00069 
00070   virtual int FillInputPortInformation(int, vtkInformation*);
00071   virtual int FillOutputPortInformation(int, vtkInformation*);
00072   virtual vtkExecutive* CreateDefaultExecutive();
00073 
00074   // The real data object.
00075   vtkDataObject* Output;
00076 
00077   virtual void ReportReferences(vtkGarbageCollector*);
00078   virtual void RemoveReferences();
00079 private:
00080   vtkTrivialProducer(const vtkTrivialProducer&);  // Not implemented.
00081   void operator=(const vtkTrivialProducer&);  // Not implemented.
00082 };
00083 
00084 #endif