Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | 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 =========================================================================*/
00025 #ifndef __vtkTrivialProducer_h
00026 #define __vtkTrivialProducer_h
00027 
00028 #include "vtkAlgorithm.h"
00029 
00030 class vtkDataObject;
00031 
00032 class VTK_FILTERING_EXPORT vtkTrivialProducer : public vtkAlgorithm
00033 {
00034 public:
00035   static vtkTrivialProducer *New();
00036   vtkTypeRevisionMacro(vtkTrivialProducer,vtkAlgorithm);
00037   void PrintSelf(ostream& os, vtkIndent indent);
00038 
00040 
00043   virtual int ProcessRequest(vtkInformation*,
00044                              vtkInformationVector**,
00045                              vtkInformationVector*);
00047 
00050   virtual void SetOutput(vtkDataObject* output);
00051 
00054   virtual unsigned long GetMTime();
00055 protected:
00056   vtkTrivialProducer();
00057   ~vtkTrivialProducer();
00058 
00059   virtual int FillInputPortInformation(int, vtkInformation*);
00060   virtual int FillOutputPortInformation(int, vtkInformation*);
00061   virtual vtkExecutive* CreateDefaultExecutive();
00062 
00063   // The real data object.
00064   vtkDataObject* Output;
00065 
00066   virtual void ReportReferences(vtkGarbageCollector*);
00067 private:
00068   vtkTrivialProducer(const vtkTrivialProducer&);  // Not implemented.
00069   void operator=(const vtkTrivialProducer&);  // Not implemented.
00070 };
00071 
00072 #endif

Generated on Mon Jan 21 23:07:21 2008 for VTK by  doxygen 1.4.3-20050530