#include <vtkProcessObject.h>
vtkProcessObject is an abstract object that specifies behavior and interface of visualization network process objects (sources, filters, mappers). Source objects are creators of visualization data; filters input, process, and output visualization data; and mappers transform data into another form (like rendering primitives or write data to a file).
vtkProcessObject fires events for Start and End events before and after object execution (via Execute()). These events can be used for any purpose (e.g., debugging info, highlighting/notifying user interface, etc.)
Another event, Progress, can be observed. Some filters fire this event periodically during their execution. The use is similar to that of Start and End events. Filters may also check their AbortExecute flag to determine whether to prematurely end their execution.
An important feature of subclasses of vtkProcessObject is that it is possible to control the memory-management model (i.e., retain output versus delete output data). If enabled the ReleaseDataFlag enables the deletion of the output data once the downstream process object finishes processing the data (please see text).
Definition at line 51 of file vtkProcessObject.h.
Reimplemented from vtkAlgorithm.
Reimplemented in vtkDataObjectSource, vtkDataSetSource, vtkDataSetToDataSetFilter, vtkDataSetToImageFilter, vtkDataSetToPolyDataFilter, vtkDataSetToStructuredGridFilter, vtkDataSetToStructuredPointsFilter, vtkDataSetToUnstructuredGridFilter, vtkImageMultipleInputFilter, vtkImageMultipleInputOutputFilter, vtkImageSource, vtkImageToImageFilter, vtkImageTwoInputFilter, vtkPointSetSource, vtkPointSetToPointSetFilter, vtkPolyDataSource, vtkPolyDataToPolyDataFilter, vtkRectilinearGridSource, vtkRectilinearGridToPolyDataFilter, vtkSource, vtkStructuredGridSource, vtkStructuredGridToPolyDataFilter, vtkStructuredGridToStructuredGridFilter, vtkStructuredPointsSource, vtkStructuredPointsToPolyDataFilter, vtkStructuredPointsToStructuredPointsFilter, vtkStructuredPointsToUnstructuredGridFilter, vtkUnstructuredGridSource, vtkUnstructuredGridToPolyDataFilter, vtkUnstructuredGridToUnstructuredGridFilter, vtkSpatialRepresentationFilter, vtkImageSpatialFilter, vtkAVIWriter, vtkFFMPEGWriter, vtkGenericMovieWriter, vtkMPEG2Writer, vtkOggTheoraWriter, vtkPLOT3DReader, and vtkSESAMEReader.
Definition at line 54 of file vtkProcessObject.h.
vtkProcessObject::vtkProcessObject | ( | ) | [protected] |
Reimplemented from vtkAlgorithm to maintain backward compatibility for vtkProcessObject.
vtkProcessObject::~vtkProcessObject | ( | ) | [protected] |
Reimplemented from vtkAlgorithm to maintain backward compatibility for vtkProcessObject.
virtual const char* vtkProcessObject::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkAlgorithm.
Reimplemented in vtkDataObjectSource, vtkDataSetSource, vtkDataSetToDataSetFilter, vtkDataSetToImageFilter, vtkDataSetToPolyDataFilter, vtkDataSetToStructuredGridFilter, vtkDataSetToStructuredPointsFilter, vtkDataSetToUnstructuredGridFilter, vtkImageMultipleInputFilter, vtkImageMultipleInputOutputFilter, vtkImageSource, vtkImageToImageFilter, vtkImageTwoInputFilter, vtkPointSetSource, vtkPointSetToPointSetFilter, vtkPolyDataSource, vtkPolyDataToPolyDataFilter, vtkRectilinearGridSource, vtkRectilinearGridToPolyDataFilter, vtkSource, vtkStructuredGridSource, vtkStructuredGridToPolyDataFilter, vtkStructuredGridToStructuredGridFilter, vtkStructuredPointsSource, vtkStructuredPointsToPolyDataFilter, vtkStructuredPointsToStructuredPointsFilter, vtkStructuredPointsToUnstructuredGridFilter, vtkUnstructuredGridSource, vtkUnstructuredGridToPolyDataFilter, vtkUnstructuredGridToUnstructuredGridFilter, vtkSpatialRepresentationFilter, vtkImageSpatialFilter, vtkAVIWriter, vtkFFMPEGWriter, vtkGenericMovieWriter, vtkMPEG2Writer, vtkOggTheoraWriter, vtkPLOT3DReader, and vtkSESAMEReader.
static int vtkProcessObject::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.
Reimplemented in vtkDataObjectSource, vtkDataSetSource, vtkDataSetToDataSetFilter, vtkDataSetToImageFilter, vtkDataSetToPolyDataFilter, vtkDataSetToStructuredGridFilter, vtkDataSetToStructuredPointsFilter, vtkDataSetToUnstructuredGridFilter, vtkImageMultipleInputFilter, vtkImageMultipleInputOutputFilter, vtkImageSource, vtkImageToImageFilter, vtkImageTwoInputFilter, vtkPointSetSource, vtkPointSetToPointSetFilter, vtkPolyDataSource, vtkPolyDataToPolyDataFilter, vtkRectilinearGridSource, vtkRectilinearGridToPolyDataFilter, vtkSource, vtkStructuredGridSource, vtkStructuredGridToPolyDataFilter, vtkStructuredGridToStructuredGridFilter, vtkStructuredPointsSource, vtkStructuredPointsToPolyDataFilter, vtkStructuredPointsToStructuredPointsFilter, vtkStructuredPointsToUnstructuredGridFilter, vtkUnstructuredGridSource, vtkUnstructuredGridToPolyDataFilter, vtkUnstructuredGridToUnstructuredGridFilter, vtkSpatialRepresentationFilter, vtkImageSpatialFilter, vtkAVIWriter, vtkFFMPEGWriter, vtkGenericMovieWriter, vtkMPEG2Writer, vtkOggTheoraWriter, vtkPLOT3DReader, and vtkSESAMEReader.
virtual int vtkProcessObject::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 in vtkDataObjectSource, vtkDataSetSource, vtkDataSetToDataSetFilter, vtkDataSetToImageFilter, vtkDataSetToPolyDataFilter, vtkDataSetToStructuredGridFilter, vtkDataSetToStructuredPointsFilter, vtkDataSetToUnstructuredGridFilter, vtkImageMultipleInputFilter, vtkImageMultipleInputOutputFilter, vtkImageSource, vtkImageToImageFilter, vtkImageTwoInputFilter, vtkPointSetSource, vtkPointSetToPointSetFilter, vtkPolyDataSource, vtkPolyDataToPolyDataFilter, vtkRectilinearGridSource, vtkRectilinearGridToPolyDataFilter, vtkSource, vtkStructuredGridSource, vtkStructuredGridToPolyDataFilter, vtkStructuredGridToStructuredGridFilter, vtkStructuredPointsSource, vtkStructuredPointsToPolyDataFilter, vtkStructuredPointsToStructuredPointsFilter, vtkStructuredPointsToUnstructuredGridFilter, vtkUnstructuredGridSource, vtkUnstructuredGridToPolyDataFilter, vtkUnstructuredGridToUnstructuredGridFilter, vtkSpatialRepresentationFilter, vtkImageSpatialFilter, vtkAVIWriter, vtkFFMPEGWriter, vtkGenericMovieWriter, vtkMPEG2Writer, vtkOggTheoraWriter, vtkPLOT3DReader, and vtkSESAMEReader.
static vtkProcessObject* vtkProcessObject::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkAlgorithm.
Reimplemented in vtkDataObjectSource, vtkDataSetSource, vtkDataSetToDataSetFilter, vtkDataSetToImageFilter, vtkDataSetToPolyDataFilter, vtkDataSetToStructuredGridFilter, vtkDataSetToStructuredPointsFilter, vtkDataSetToUnstructuredGridFilter, vtkImageMultipleInputFilter, vtkImageMultipleInputOutputFilter, vtkImageSource, vtkImageToImageFilter, vtkImageTwoInputFilter, vtkPointSetSource, vtkPointSetToPointSetFilter, vtkPolyDataSource, vtkPolyDataToPolyDataFilter, vtkRectilinearGridSource, vtkRectilinearGridToPolyDataFilter, vtkSource, vtkStructuredGridSource, vtkStructuredGridToPolyDataFilter, vtkStructuredGridToStructuredGridFilter, vtkStructuredPointsSource, vtkStructuredPointsToPolyDataFilter, vtkStructuredPointsToStructuredPointsFilter, vtkStructuredPointsToUnstructuredGridFilter, vtkUnstructuredGridSource, vtkUnstructuredGridToPolyDataFilter, vtkUnstructuredGridToUnstructuredGridFilter, vtkSpatialRepresentationFilter, vtkImageSpatialFilter, vtkAVIWriter, vtkFFMPEGWriter, vtkGenericMovieWriter, vtkMPEG2Writer, vtkOggTheoraWriter, vtkPLOT3DReader, and vtkSESAMEReader.
void vtkProcessObject::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.
Reimplemented in vtkDataObjectSource, vtkDataSetSource, vtkDataSetToDataSetFilter, vtkDataSetToImageFilter, vtkDataSetToPolyDataFilter, vtkDataSetToStructuredGridFilter, vtkDataSetToStructuredPointsFilter, vtkDataSetToUnstructuredGridFilter, vtkImageMultipleInputFilter, vtkImageMultipleInputOutputFilter, vtkImageSource, vtkImageToImageFilter, vtkImageTwoInputFilter, vtkPointSetSource, vtkPointSetToPointSetFilter, vtkPolyDataSource, vtkPolyDataToPolyDataFilter, vtkRectilinearGridSource, vtkRectilinearGridToPolyDataFilter, vtkSource, vtkStructuredGridSource, vtkStructuredGridToPolyDataFilter, vtkStructuredGridToStructuredGridFilter, vtkStructuredPointsSource, vtkStructuredPointsToPolyDataFilter, vtkStructuredPointsToStructuredPointsFilter, vtkStructuredPointsToUnstructuredGridFilter, vtkUnstructuredGridSource, vtkUnstructuredGridToPolyDataFilter, vtkUnstructuredGridToUnstructuredGridFilter, vtkSpatialRepresentationFilter, vtkImageSpatialFilter, vtkAVIWriter, vtkFFMPEGWriter, vtkGenericMovieWriter, vtkMPEG2Writer, vtkOggTheoraWriter, vtkPLOT3DReader, and vtkSESAMEReader.
vtkDataObject** vtkProcessObject::GetInputs | ( | ) |
Return an array with all the inputs of this process object. This is useful for tracing back in the pipeline to construct graphs etc.
int vtkProcessObject::GetNumberOfInputs | ( | ) |
Return an array with all the inputs of this process object. This is useful for tracing back in the pipeline to construct graphs etc.
void vtkProcessObject::SqueezeInputArray | ( | ) |
This method will rearrange the input array so that all NULL entries are removed.
void vtkProcessObject::RemoveAllInputs | ( | ) |
Remove all the input data.
Reimplemented from vtkAlgorithm.
virtual void vtkProcessObject::SetInputConnection | ( | vtkAlgorithmOutput * | input | ) | [inline, virtual] |
Reimplemented from vtkAlgorithm to maintain backward compatibility for vtkProcessObject.
Reimplemented from vtkAlgorithm.
Definition at line 74 of file vtkProcessObject.h.
virtual void vtkProcessObject::SetInputConnection | ( | int | port, | |
vtkAlgorithmOutput * | input | |||
) | [virtual] |
Reimplemented from vtkAlgorithm to maintain backward compatibility for vtkProcessObject.
Reimplemented from vtkAlgorithm.
virtual void vtkProcessObject::AddInputConnection | ( | int | port, | |
vtkAlgorithmOutput * | input | |||
) | [virtual] |
Reimplemented from vtkAlgorithm to maintain backward compatibility for vtkProcessObject.
Reimplemented from vtkAlgorithm.
virtual void vtkProcessObject::AddInputConnection | ( | vtkAlgorithmOutput * | input | ) | [inline, virtual] |
Reimplemented from vtkAlgorithm to maintain backward compatibility for vtkProcessObject.
Reimplemented from vtkAlgorithm.
Definition at line 78 of file vtkProcessObject.h.
virtual void vtkProcessObject::RemoveInputConnection | ( | int | port, | |
vtkAlgorithmOutput * | input | |||
) | [virtual] |
Reimplemented from vtkAlgorithm to maintain backward compatibility for vtkProcessObject.
Reimplemented from vtkAlgorithm.
virtual void vtkProcessObject::SetNthInputConnection | ( | int | port, | |
int | index, | |||
vtkAlgorithmOutput * | input | |||
) | [virtual] |
Reimplemented from vtkAlgorithm to maintain backward compatibility for vtkProcessObject.
Reimplemented from vtkAlgorithm.
virtual void vtkProcessObject::SetNumberOfInputConnections | ( | int | port, | |
int | n | |||
) | [virtual] |
Reimplemented from vtkAlgorithm to maintain backward compatibility for vtkProcessObject.
Reimplemented from vtkAlgorithm.
void vtkProcessObject::SetNumberOfInputs | ( | int | num | ) | [protected] |
virtual void vtkProcessObject::SetNthInput | ( | int | num, | |
vtkDataObject * | input | |||
) | [protected, virtual] |
virtual void vtkProcessObject::AddInput | ( | vtkDataObject * | input | ) | [protected, virtual] |
virtual void vtkProcessObject::RemoveInput | ( | vtkDataObject * | input | ) | [protected, virtual] |
virtual void vtkProcessObject::ReportReferences | ( | vtkGarbageCollector * | ) | [protected, virtual] |
virtual int vtkProcessObject::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.
Reimplemented in vtkDataSetToDataSetFilter, vtkDataSetToImageFilter, vtkDataSetToPolyDataFilter, vtkDataSetToStructuredGridFilter, vtkDataSetToStructuredPointsFilter, vtkDataSetToUnstructuredGridFilter, vtkImageMultipleInputFilter, vtkImageToImageFilter, vtkPolyDataToPolyDataFilter, vtkRectilinearGridToPolyDataFilter, vtkStructuredGridToPolyDataFilter, vtkStructuredGridToStructuredGridFilter, vtkStructuredPointsToPolyDataFilter, vtkStructuredPointsToStructuredPointsFilter, vtkStructuredPointsToUnstructuredGridFilter, vtkUnstructuredGridToPolyDataFilter, vtkUnstructuredGridToUnstructuredGridFilter, and vtkSpatialRepresentationFilter.
virtual int vtkProcessObject::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.
Reimplemented in vtkDataObjectSource, vtkDataSetSource, vtkImageSource, vtkPointSetSource, vtkPolyDataSource, vtkRectilinearGridSource, vtkSource, vtkStructuredGridSource, vtkStructuredPointsSource, and vtkUnstructuredGridSource.
void vtkProcessObject::AddInputInternal | ( | vtkDataObject * | input | ) | [protected] |
void vtkProcessObject::RemoveInputInternal | ( | vtkDataObject * | input | ) | [protected] |
void vtkProcessObject::SetupInputs | ( | ) | [protected] |
int vtkProcessObject::NumberOfInputs [protected] |
Definition at line 91 of file vtkProcessObject.h.
int vtkProcessObject::NumberOfRequiredInputs [protected] |
Definition at line 92 of file vtkProcessObject.h.
vtkDataObject** vtkProcessObject::Inputs [protected] |
Definition at line 93 of file vtkProcessObject.h.