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 =========================================================================*/
25 #ifndef __vtkTrivialProducer_h
26 #define __vtkTrivialProducer_h
27 
28 #include "vtkAlgorithm.h"
29 
30 class vtkDataObject;
31 
32 class VTK_FILTERING_EXPORT vtkTrivialProducer : public vtkAlgorithm
33 {
34 public:
35  static vtkTrivialProducer *New();
36  vtkTypeMacro(vtkTrivialProducer,vtkAlgorithm);
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
40 
43  virtual int ProcessRequest(vtkInformation*,
47 
50  virtual void SetOutput(vtkDataObject* output);
51 
53 
55  virtual unsigned long GetMTime();
56 protected:
60 
61  virtual int FillInputPortInformation(int, vtkInformation*);
62  virtual int FillOutputPortInformation(int, vtkInformation*);
63  virtual vtkExecutive* CreateDefaultExecutive();
64 
65  // The real data object.
67 
68  virtual void ReportReferences(vtkGarbageCollector*);
69 private:
70  vtkTrivialProducer(const vtkTrivialProducer&); // Not implemented.
71  void operator=(const vtkTrivialProducer&); // Not implemented.
72 };
73 
74 #endif
Store vtkAlgorithm input/output information.
#define VTK_FILTERING_EXPORT
Superclass for all pipeline executives in VTK.
Definition: vtkExecutive.h:47
Detect and break reference loops.
Producer for stand-alone data objects.
a simple class to control print indentation
Definition: vtkIndent.h:37
vtkDataObject * Output
Store zero or more vtkInformation instances.
general representation of visualization data
Definition: vtkDataObject.h:70