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 unsigned long GetMTime ()
virtual int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual void SetWholeExtent (int, int, int, int, int, int)
virtual void SetWholeExtent (int[6])
virtual intGetWholeExtent ()
virtual void GetWholeExtent (int &, int &, int &, int &, int &, int &)
virtual void GetWholeExtent (int[6])

Static Public Member Functions

static vtkTrivialProducerNew ()
static int IsTypeOf (const char *type)
static vtkTrivialProducerSafeDownCast (vtkObjectBase *o)
static void FillOutputDataInformation (vtkDataObject *output, vtkInformation *outInfo)

Protected Member Functions

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

Protected Attributes

vtkDataObjectOutput
int WholeExtent [6]

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


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 void vtkTrivialProducer::SetWholeExtent ( int  ,
int  ,
int  ,
int  ,
int  ,
int   
) [virtual]

Set the whole extent to use for the data this producer is producing. This may be different than the extent of the output data when the trivial producer is used in parallel.

virtual void vtkTrivialProducer::SetWholeExtent ( int  [6]) [virtual]

Set the whole extent to use for the data this producer is producing. This may be different than the extent of the output data when the trivial producer is used in parallel.

virtual int* vtkTrivialProducer::GetWholeExtent ( ) [virtual]

Set the whole extent to use for the data this producer is producing. This may be different than the extent of the output data when the trivial producer is used in parallel.

virtual void vtkTrivialProducer::GetWholeExtent ( int ,
int ,
int ,
int ,
int ,
int  
) [virtual]

Set the whole extent to use for the data this producer is producing. This may be different than the extent of the output data when the trivial producer is used in parallel.

virtual void vtkTrivialProducer::GetWholeExtent ( int  [6]) [virtual]

Set the whole extent to use for the data this producer is producing. This may be different than the extent of the output data when the trivial producer is used in parallel.

static void vtkTrivialProducer::FillOutputDataInformation ( vtkDataObject output,
vtkInformation outInfo 
) [static]

This method can be used to copy meta-data from an existing data object to an information object. For example, whole extent, image data spacing, origin etc.

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 85 of file vtkTrivialProducer.h.

Definition at line 87 of file vtkTrivialProducer.h.


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