VTK
vtkTrivialProducer.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTrivialProducer.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
28 #ifndef __vtkTrivialProducer_h
29 #define __vtkTrivialProducer_h
30 
31 #include "vtkAlgorithm.h"
32 
33 class vtkDataObject;
34 
36 {
37 public:
38  static vtkTrivialProducer *New();
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
43 
46  virtual int ProcessRequest(vtkInformation*,
50 
53  virtual void SetOutput(vtkDataObject* output);
54 
56 
58  virtual unsigned long GetMTime();
59 protected:
63 
64  virtual int FillInputPortInformation(int, vtkInformation*);
65  virtual int FillOutputPortInformation(int, vtkInformation*);
67 
68  // The real data object.
70 
72 private:
73  vtkTrivialProducer(const vtkTrivialProducer&); // Not implemented.
74  void operator=(const vtkTrivialProducer&); // Not implemented.
75 };
76 
77 #endif