VTK
|
Producer for stand-alone data objects. More...
#include <vtkTrivialProducer.h>
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] |
vtkTrivialProducer::~vtkTrivialProducer | ( | ) | [protected] |
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.
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.
vtkDataObject* vtkTrivialProducer::Output [protected] |
Definition at line 85 of file vtkTrivialProducer.h.
int vtkTrivialProducer::WholeExtent[6] [protected] |
Definition at line 87 of file vtkTrivialProducer.h.