VTK
|
Producer for stand-alone data objects. More...
#include <vtkTrivialProducer.h>
Public Types | |
typedef vtkAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkTrivialProducer * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetOutput (vtkDataObject *output) |
virtual int | ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Static Public Member Functions | |
static vtkTrivialProducer * | New () |
static int | IsTypeOf (const char *type) |
static vtkTrivialProducer * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
virtual int | FillInputPortInformation (int, vtkInformation *) |
virtual int | FillOutputPortInformation (int, vtkInformation *) |
virtual vtkExecutive * | CreateDefaultExecutive () |
virtual void | ReportReferences (vtkGarbageCollector *) |
Protected Attributes | |
vtkDataObject * | Output |
virtual unsigned long | GetMTime () |
vtkTrivialProducer () | |
~vtkTrivialProducer () |
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.
Definition at line 36 of file vtkTrivialProducer.h.
Reimplemented from vtkAlgorithm.
Definition at line 40 of file vtkTrivialProducer.h.
vtkTrivialProducer::vtkTrivialProducer | ( | ) | [protected] |
The modified time of this producer is the newer of this object or the assigned output.
vtkTrivialProducer::~vtkTrivialProducer | ( | ) | [protected] |
The modified time of this producer is the newer of this object or the assigned output.
static vtkTrivialProducer* vtkTrivialProducer::New | ( | ) | [static] |
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.
static vtkTrivialProducer* vtkTrivialProducer::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
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.
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 | 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.
vtkDataObject* vtkTrivialProducer::Output [protected] |
Definition at line 70 of file vtkTrivialProducer.h.