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

vtkTrivialProducer Class Reference

#include <vtkTrivialProducer.h>

Inheritance diagram for vtkTrivialProducer:

Inheritance graph
[legend]
Collaboration diagram for vtkTrivialProducer:

Collaboration graph
[legend]
List of all members.

Detailed Description

Producer for stand-alone data objects.

vtkTrivialProducer allows stand-alone data objects to be connected as inputs in a pipeline. All data objects that are connected to a pipeline involving vtkAlgorithm must have a producer. This trivial producer allows data objects that are hand-constructed in a program without another vtk producer to be connected.

Created by:
  • Bertel, Francois
CVS contributions (if > 5%):
  • Bertel, Francois (84%)
  • Martin, Ken (15%)
CVS logs (CVSweb):
  • .cxx (/Filtering/vtkTrivialProducer.cxx)
  • .h (/Filtering/vtkTrivialProducer.h)

Definition at line 43 of file vtkTrivialProducer.h.

Public Types

typedef vtkAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetOutput (vtkDataObject *output)
virtual unsigned long GetMTime ()
virtual int ProcessRequest (vtkInformation *, vtkInformationVector *, vtkInformationVector *)

Static Public Member Functions

vtkTrivialProducerNew ()
int IsTypeOf (const char *type)
vtkTrivialProducerSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkTrivialProducer ()
 ~vtkTrivialProducer ()
virtual int FillInputPortInformation (int, vtkInformation *)
virtual int FillOutputPortInformation (int, vtkInformation *)
virtual vtkExecutiveCreateDefaultExecutive ()
virtual void ReportReferences (vtkGarbageCollector *)
virtual void RemoveReferences ()

Protected Attributes

vtkDataObjectOutput


Member Typedef Documentation

typedef vtkAlgorithm vtkTrivialProducer::Superclass
 

Reimplemented from vtkAlgorithm.

Definition at line 47 of file vtkTrivialProducer.h.


Constructor & Destructor Documentation

vtkTrivialProducer::vtkTrivialProducer  )  [protected]
 

vtkTrivialProducer::~vtkTrivialProducer  )  [protected]
 


Member Function Documentation

vtkTrivialProducer* vtkTrivialProducer::New  )  [static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkAlgorithm.

virtual const char* vtkTrivialProducer::GetClassName  )  [virtual]
 

Reimplemented from vtkAlgorithm.

int vtkTrivialProducer::IsTypeOf const char *  type  )  [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkAlgorithm.

virtual int vtkTrivialProducer::IsA const char *  type  )  [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkAlgorithm.

vtkTrivialProducer* vtkTrivialProducer::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkAlgorithm.

void vtkTrivialProducer::PrintSelf ostream &  os,
vtkIndent  indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkAlgorithm.

virtual int vtkTrivialProducer::ProcessRequest vtkInformation ,
vtkInformationVector ,
vtkInformationVector
[virtual]
 

Process upstream/downstream requests trivially. The associated output data object is never modified, but it is queried to fulfill requests.

Reimplemented from vtkAlgorithm.

virtual void vtkTrivialProducer::SetOutput vtkDataObject output  )  [virtual]
 

Set the data object that is "produced" by this producer. It is never really modified.

virtual unsigned long vtkTrivialProducer::GetMTime  )  [virtual]
 

The modified time of this producer is the newer of this object or the assigned output.

Reimplemented from vtkObject.

virtual int vtkTrivialProducer::FillInputPortInformation int  ,
vtkInformation
[protected, virtual]
 

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkAlgorithm.

virtual int vtkTrivialProducer::FillOutputPortInformation int  ,
vtkInformation
[protected, virtual]
 

Fill the output port information objects for this algorithm. This is invoked by the first call to GetOutputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkAlgorithm.

virtual vtkExecutive* vtkTrivialProducer::CreateDefaultExecutive  )  [protected, virtual]
 

Reimplemented from vtkAlgorithm.

virtual void vtkTrivialProducer::ReportReferences vtkGarbageCollector  )  [protected, virtual]
 

Reimplemented from vtkAlgorithm.

virtual void vtkTrivialProducer::RemoveReferences  )  [protected, virtual]
 

Reimplemented from vtkAlgorithm.


Member Data Documentation

vtkDataObject* vtkTrivialProducer::Output [protected]
 

Definition at line 75 of file vtkTrivialProducer.h.


The documentation for this class was generated from the following file: