Section: Visualization Toolkit Graphics Classes
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.
To create an instance of class vtkProgrammableDataObjectSource, simply invoke its constructor as follows
obj = vtkProgrammableDataObjectSource
obj
is an instance of the vtkProgrammableDataObjectSource class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkProgrammableDataObjectSource = obj.NewInstance ()
vtkProgrammableDataObjectSource = obj.SafeDownCast (vtkObject o)