#include <vtkProgrammableDataObjectSource.h>
Inheritance diagram for vtkProgrammableDataObjectSource:
vtkProgrammableDataObjectSource is a source object that is programmable by the user. The output of the filter is a data object (vtkDataObject) which represents data via an instance of field data. To use this object, you must specify a function that creates the output.
Example use of this filter includes reading tabular data and encoding it as vtkFieldData. You can then use filters like vtkDataObjectToDataSetFilter to convert the data object to a dataset and then visualize it. Another important use of this class is that it allows users of interpreters (e.g., Tcl or Java) the ability to write source objects without having to recompile C++ code or generate new libraries.
Definition at line 56 of file vtkProgrammableDataObjectSource.h.
Public Types | |
typedef vtkSource | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetExecuteMethod (void(*f)(void *), void *arg) |
void | SetExecuteMethodArgDelete (void(*f)(void *)) |
vtkDataObject * | GetOutput () |
vtkDataObject * | GetOutput (int idx) |
Static Public Member Functions | |
vtkProgrammableDataObjectSource * | New () |
int | IsTypeOf (const char *type) |
vtkProgrammableDataObjectSource * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkProgrammableDataObjectSource () | |
~vtkProgrammableDataObjectSource () | |
void | Execute () |
Protected Attributes | |
void(* | ExecuteMethod )(void *) |
void(* | ExecuteMethodArgDelete )(void *) |
void * | ExecuteMethodArg |
|
Reimplemented from vtkSource. Definition at line 60 of file vtkProgrammableDataObjectSource.h. |
|
|
|
|
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkAlgorithm. |
|
Reimplemented from vtkSource. |
|
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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkSource. |
|
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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkSource. |
|
Reimplemented from vtkSource. |
|
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 vtkSource. |
|
Specify the function to use to generate the output data object. Note that the function takes a single (void *) argument. |
|
Set the arg delete method. This is used to free user memory. |
|
Get the output data object. |
|
Get the output data object. Reimplemented from vtkSource. Definition at line 73 of file vtkProgrammableDataObjectSource.h. References vtkSource::GetOutput(). |
|
This method is the old style execute method Reimplemented from vtkSource. |
|
|
|
|
|
Definition at line 85 of file vtkProgrammableDataObjectSource.h. |