VTK
|
abstract class specifies interface for visualization filters More...
#include <vtkProcessObject.h>
abstract class specifies interface for visualization filters
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 vtkPLOT3DReader, vtkSpatialRepresentationFilter, vtkDataObjectSource, vtkMPEG2Writer, vtkSource, vtkDataSetToDataSetFilter, vtkPointSetToPointSetFilter, vtkPolyDataToPolyDataFilter, vtkFFMPEGWriter, vtkImageSpatialFilter, vtkImageToImageFilter, vtkOggTheoraWriter, vtkAVIWriter, vtkDataSetToPolyDataFilter, vtkPolyDataSource, vtkSESAMEReader, vtkDataSetToUnstructuredGridFilter, vtkStructuredPointsToPolyDataFilter, vtkStructuredPointsToStructuredPointsFilter, vtkGenericMovieWriter, vtkDataSetToStructuredPointsFilter, vtkImageSource, vtkStructuredPointsToUnstructuredGridFilter, vtkUnstructuredGridToPolyDataFilter, vtkDataSetToImageFilter, vtkImageMultipleInputFilter, vtkImageMultipleInputOutputFilter, vtkRectilinearGridSource, vtkRectilinearGridToPolyDataFilter, vtkStructuredGridSource, vtkStructuredGridToPolyDataFilter, vtkStructuredPointsSource, vtkUnstructuredGridSource, vtkStructuredGridToStructuredGridFilter, vtkDataSetToStructuredGridFilter, vtkImageTwoInputFilter, vtkDataSetSource, vtkPointSetSource, and vtkUnstructuredGridToUnstructuredGridFilter.
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 vtkPLOT3DReader, vtkSpatialRepresentationFilter, vtkDataObjectSource, vtkMPEG2Writer, vtkSource, vtkDataSetToDataSetFilter, vtkPointSetToPointSetFilter, vtkPolyDataToPolyDataFilter, vtkFFMPEGWriter, vtkImageSpatialFilter, vtkImageToImageFilter, vtkOggTheoraWriter, vtkAVIWriter, vtkDataSetToPolyDataFilter, vtkPolyDataSource, vtkSESAMEReader, vtkDataSetToUnstructuredGridFilter, vtkStructuredPointsToPolyDataFilter, vtkStructuredPointsToStructuredPointsFilter, vtkGenericMovieWriter, vtkDataSetToStructuredPointsFilter, vtkImageSource, vtkStructuredPointsToUnstructuredGridFilter, vtkUnstructuredGridToPolyDataFilter, vtkDataSetToImageFilter, vtkImageMultipleInputFilter, vtkImageMultipleInputOutputFilter, vtkRectilinearGridSource, vtkRectilinearGridToPolyDataFilter, vtkStructuredGridSource, vtkStructuredGridToPolyDataFilter, vtkStructuredPointsSource, vtkUnstructuredGridSource, vtkStructuredGridToStructuredGridFilter, vtkDataSetToStructuredGridFilter, vtkImageTwoInputFilter, vtkDataSetSource, vtkPointSetSource, and vtkUnstructuredGridToUnstructuredGridFilter.
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 vtkPLOT3DReader, vtkSpatialRepresentationFilter, vtkDataObjectSource, vtkMPEG2Writer, vtkSource, vtkDataSetToDataSetFilter, vtkPointSetToPointSetFilter, vtkPolyDataToPolyDataFilter, vtkFFMPEGWriter, vtkImageSpatialFilter, vtkImageToImageFilter, vtkOggTheoraWriter, vtkAVIWriter, vtkDataSetToPolyDataFilter, vtkPolyDataSource, vtkSESAMEReader, vtkDataSetToUnstructuredGridFilter, vtkStructuredPointsToPolyDataFilter, vtkStructuredPointsToStructuredPointsFilter, vtkGenericMovieWriter, vtkDataSetToStructuredPointsFilter, vtkImageSource, vtkStructuredPointsToUnstructuredGridFilter, vtkUnstructuredGridToPolyDataFilter, vtkDataSetToImageFilter, vtkImageMultipleInputFilter, vtkImageMultipleInputOutputFilter, vtkRectilinearGridSource, vtkRectilinearGridToPolyDataFilter, vtkStructuredGridSource, vtkStructuredGridToPolyDataFilter, vtkStructuredPointsSource, vtkUnstructuredGridSource, vtkStructuredGridToStructuredGridFilter, vtkDataSetToStructuredGridFilter, vtkImageTwoInputFilter, vtkDataSetSource, vtkPointSetSource, and vtkUnstructuredGridToUnstructuredGridFilter.
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 vtkPLOT3DReader, vtkSpatialRepresentationFilter, vtkDataObjectSource, vtkMPEG2Writer, vtkSource, vtkDataSetToDataSetFilter, vtkPointSetToPointSetFilter, vtkPolyDataToPolyDataFilter, vtkFFMPEGWriter, vtkImageSpatialFilter, vtkImageToImageFilter, vtkOggTheoraWriter, vtkAVIWriter, vtkDataSetToPolyDataFilter, vtkPolyDataSource, vtkSESAMEReader, vtkDataSetToUnstructuredGridFilter, vtkStructuredPointsToPolyDataFilter, vtkStructuredPointsToStructuredPointsFilter, vtkGenericMovieWriter, vtkDataSetToStructuredPointsFilter, vtkImageSource, vtkStructuredPointsToUnstructuredGridFilter, vtkUnstructuredGridToPolyDataFilter, vtkDataSetToImageFilter, vtkImageMultipleInputFilter, vtkImageMultipleInputOutputFilter, vtkRectilinearGridSource, vtkRectilinearGridToPolyDataFilter, vtkStructuredGridSource, vtkStructuredGridToPolyDataFilter, vtkStructuredPointsSource, vtkUnstructuredGridSource, vtkStructuredGridToStructuredGridFilter, vtkDataSetToStructuredGridFilter, vtkImageTwoInputFilter, vtkDataSetSource, vtkPointSetSource, and vtkUnstructuredGridToUnstructuredGridFilter.
static vtkProcessObject* vtkProcessObject::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkAlgorithm.
Reimplemented in vtkPLOT3DReader, vtkSpatialRepresentationFilter, vtkDataObjectSource, vtkMPEG2Writer, vtkSource, vtkDataSetToDataSetFilter, vtkPointSetToPointSetFilter, vtkPolyDataToPolyDataFilter, vtkFFMPEGWriter, vtkImageSpatialFilter, vtkImageToImageFilter, vtkOggTheoraWriter, vtkAVIWriter, vtkDataSetToPolyDataFilter, vtkPolyDataSource, vtkSESAMEReader, vtkDataSetToUnstructuredGridFilter, vtkStructuredPointsToPolyDataFilter, vtkStructuredPointsToStructuredPointsFilter, vtkGenericMovieWriter, vtkDataSetToStructuredPointsFilter, vtkImageSource, vtkStructuredPointsToUnstructuredGridFilter, vtkUnstructuredGridToPolyDataFilter, vtkDataSetToImageFilter, vtkImageMultipleInputFilter, vtkImageMultipleInputOutputFilter, vtkRectilinearGridSource, vtkRectilinearGridToPolyDataFilter, vtkStructuredGridSource, vtkStructuredGridToPolyDataFilter, vtkStructuredPointsSource, vtkUnstructuredGridSource, vtkStructuredGridToStructuredGridFilter, vtkDataSetToStructuredGridFilter, vtkImageTwoInputFilter, vtkDataSetSource, vtkPointSetSource, and vtkUnstructuredGridToUnstructuredGridFilter.
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 vtkPLOT3DReader, vtkSpatialRepresentationFilter, vtkDataObjectSource, vtkMPEG2Writer, vtkSource, vtkDataSetToDataSetFilter, vtkPointSetToPointSetFilter, vtkPolyDataToPolyDataFilter, vtkFFMPEGWriter, vtkImageSpatialFilter, vtkImageToImageFilter, vtkOggTheoraWriter, vtkAVIWriter, vtkSESAMEReader, vtkDataSetToPolyDataFilter, vtkPolyDataSource, vtkDataSetToUnstructuredGridFilter, vtkStructuredPointsToPolyDataFilter, vtkStructuredPointsToStructuredPointsFilter, vtkGenericMovieWriter, vtkDataSetToStructuredPointsFilter, vtkImageSource, vtkStructuredPointsToUnstructuredGridFilter, vtkUnstructuredGridToPolyDataFilter, vtkDataSetToImageFilter, vtkImageMultipleInputFilter, vtkImageMultipleInputOutputFilter, vtkRectilinearGridSource, vtkRectilinearGridToPolyDataFilter, vtkStructuredGridSource, vtkStructuredGridToPolyDataFilter, vtkStructuredPointsSource, vtkUnstructuredGridSource, vtkStructuredGridToStructuredGridFilter, vtkDataSetToStructuredGridFilter, vtkImageTwoInputFilter, vtkDataSetSource, vtkPointSetSource, and vtkUnstructuredGridToUnstructuredGridFilter.
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.
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] |
Reimplemented from vtkAlgorithm.
Reimplemented in vtkSource, and vtkSpatialRepresentationFilter.
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 vtkImageToImageFilter, vtkSpatialRepresentationFilter, vtkImageMultipleInputFilter, vtkDataSetToDataSetFilter, vtkPolyDataToPolyDataFilter, vtkStructuredPointsToStructuredPointsFilter, vtkDataSetToPolyDataFilter, vtkDataSetToStructuredPointsFilter, vtkUnstructuredGridToPolyDataFilter, vtkDataSetToImageFilter, vtkStructuredPointsToPolyDataFilter, vtkDataSetToUnstructuredGridFilter, vtkStructuredPointsToUnstructuredGridFilter, vtkRectilinearGridToPolyDataFilter, vtkStructuredGridToPolyDataFilter, vtkStructuredGridToStructuredGridFilter, vtkDataSetToStructuredGridFilter, and vtkUnstructuredGridToUnstructuredGridFilter.
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 vtkSource, vtkDataObjectSource, vtkImageSource, vtkPolyDataSource, vtkUnstructuredGridSource, vtkStructuredPointsSource, vtkRectilinearGridSource, vtkStructuredGridSource, vtkDataSetSource, and vtkPointSetSource.
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.