52#ifndef vtkDataObjectAlgorithm_h
53#define vtkDataObjectAlgorithm_h
56#include "vtkCommonExecutionModelModule.h"
153 int dataType,
vtkInformation* outputInformation,
bool exact =
false);
Superclass for all sources, filters, and sinks in VTK.
Superclass for algorithms that produce only data object as output.
vtkDataObject * GetInput()
static bool SetOutputDataObject(int dataType, vtkInformation *outputInformation, bool exact=false)
A helper method that can be used by subclasses in RequestDataObject to create an output data object o...
static vtkDataObjectAlgorithm * New()
vtkDataObject * GetOutput()
Get the output data object for a port on this algorithm.
virtual void SetOutput(vtkDataObject *d)
Get the output data object for a port on this algorithm.
vtkTypeBool ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
see vtkAlgorithm for details
void SetInputData(int, vtkDataObject *)
Assign a data object as input.
void AddInputData(vtkDataObject *)
Assign a data object as input.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void SetInputData(vtkDataObject *)
Assign a data object as input.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
void AddInputData(int, vtkDataObject *)
Assign a data object as input.
~vtkDataObjectAlgorithm() override
vtkDataObject * GetInput(int port)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkDataObject * GetOutput(int)
Get the output data object for a port on this algorithm.
general representation of visualization data
abstract class to specify dataset behavior
a simple class to control print indentation