44#ifndef vtkProgrammableSource_h
45#define vtkProgrammableSource_h
47#include "vtkFiltersSourcesModule.h"
71 typedef void (*ProgrammableMethodCallbackType)(
void *arg);
125 ProgrammableMethodCallbackType ExecuteMethod;
126 ProgrammableMethodCallbackType ExecuteMethodArgDelete;
127 void *ExecuteMethodArg;
128 ProgrammableMethodCallbackType RequestInformationMethod;
131 int RequestedDataType;
Superclass for algorithms that produce output of the same type as input.
concrete dataset represents vertices, lines, polygons, and triangle strips
generate source dataset via a user-specified function
vtkRectilinearGrid * GetRectilinearGridOutput()
Get the output as a concrete type.
vtkPolyData * GetPolyDataOutput()
Get the output as a concrete type.
~vtkProgrammableSource() override
void SetExecuteMethod(void(*f)(void *), void *arg)
Specify the function to use to generate the source data.
static vtkProgrammableSource * New()
void SetExecuteMethodArgDelete(void(*f)(void *))
Set the arg delete method.
vtkStructuredPoints * GetStructuredPointsOutput()
Get the output as a concrete type.
vtkStructuredGrid * GetStructuredGridOutput()
Get the output as a concrete type.
void SetRequestInformationMethod(void(*f)(void *))
Specify the function to use to fill in information about the source data.
vtkUnstructuredGrid * GetUnstructuredGridOutput()
Get the output as a concrete type.
a dataset that is topologically regular with variable spacing in the three coordinate directions
topologically regular array of data
record modification and/or execution time
dataset represents arbitrary combinations of all possible cell types