36#ifndef vtkPistonAlgorithm_h
37#define vtkPistonAlgorithm_h
39#include "vtkAcceleratorsPistonModule.h"
Superclass for all sources, filters, and sinks in VTK.
general representation of visualization data
a simple class to control print indentation
Superclass for algorithms that produce only PistonDataObjects.
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Produce empty output of the proper type for RequestData to fill in.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Method that does the actual calculation.
static vtkPistonAlgorithm * New()
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Produce meta-data about what RequestData will produce.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Participate in pipeline's sub extent determination.
void SetInputData(int num, vtkDataObject *input)
Assign a data object as input.
virtual void PassBoundsForward(vtkPistonDataObject *id, vtkPistonDataObject *od)
Typically Execute uses this to copy input bounds to output.
vtkPistonDataObject * GetPistonDataObjectOutput(int port)
A convenience method to reduce code duplication that gets the output as the expected type or NULL.
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Fill the output port information objects for this algorithm.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Overridden to say that we take in and produce vtkPistonDataObjects.
void SetInputData(vtkDataObject *input)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Interface the algorithm to the Pipeline's passes.