VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkTrivialProducer Class Reference

Producer for stand-alone data objects. More...

#include <vtkTrivialProducer.h>

Inheritance diagram for vtkTrivialProducer:
Inheritance graph
[legend]
Collaboration diagram for vtkTrivialProducer:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkAlgorithm Superclass

Public Member Functions

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

Static Public Member Functions

static vtkTrivialProducerNew ()
static int IsTypeOf (const char *type)
static vtkTrivialProducerSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
virtual int FillInputPortInformation (int, vtkInformation *)
virtual int FillOutputPortInformation (int, vtkInformation *)
virtual vtkExecutiveCreateDefaultExecutive ()
virtual void ReportReferences (vtkGarbageCollector *)

Protected Attributes

vtkDataObjectOutput
virtual unsigned long GetMTime ()
 vtkTrivialProducer ()
 ~vtkTrivialProducer ()

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.

Tests:
vtkTrivialProducer (Tests)

Definition at line 36 of file vtkTrivialProducer.h.


Member Typedef Documentation

Reimplemented from vtkAlgorithm.

Definition at line 40 of file vtkTrivialProducer.h.


Constructor & Destructor Documentation

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

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


Member Function Documentation

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

Reimplemented from vtkAlgorithm.

static int vtkTrivialProducer::IsTypeOf ( const char *  name) [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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkAlgorithm.

virtual int vtkTrivialProducer::IsA ( const char *  name) [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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkAlgorithm.

Reimplemented from vtkAlgorithm.

virtual vtkObjectBase* vtkTrivialProducer::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkAlgorithm.

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.

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  port,
vtkInformation info 
) [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  port,
vtkInformation info 
) [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]

Create a default executive. If the DefaultExecutivePrototype is set, a copy of it is created in CreateDefaultExecutive() using NewInstance(). Otherwise, vtkStreamingDemandDrivenPipeline is created.

Reimplemented from vtkAlgorithm.

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

Reimplemented from vtkAlgorithm.


Member Data Documentation

Definition at line 70 of file vtkTrivialProducer.h.


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