|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vtk.vtkObjectBase vtk.vtkObject vtk.vtkProcessObject vtk.vtkSource vtk.vtkProgrammableSource
vtkProgrammableSource - generate source dataset via a user-specified function. vtkProgrammableSource is a source object that is programmable by the user. To use this object, you must specify a function that creates the output. It is possible to generate an output dataset of any (concrete) type; it is up to the function to properly initialize and define the output. Typically, you use one of the methods to get a concrete output type (e.g., GetPolyDataOutput() or GetStructuredPointsOutput()), and then manipulate the output in the user-specified function. Example use of this include writing a function to read a data file or interface to another system. (You might want to do this in favor of deriving a new class.) 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. JavaBean wrapper for vtkProgrammableSource object.
vtkProgrammableFilter
,
vtkProgrammableAttributeDataFilter
,
Serialized FormField Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkProgrammableSource()
|
protected |
vtkProgrammableSource(int dmy)
|
Method Summary | |
java.lang.String |
getClassName()
Return the class name as a string. |
vtkPolyData |
getPolyDataOutput()
Get the output as a concrete type. |
vtkRectilinearGrid |
getRectilinearGridOutput()
Get the output as a concrete type. |
vtkStructuredGrid |
getStructuredGridOutput()
Get the output as a concrete type. |
vtkStructuredPoints |
getStructuredPointsOutput()
Get the output as a concrete type. |
vtkProgrammableSource |
getThisProgrammableSource()
|
vtkUnstructuredGrid |
getUnstructuredGridOutput()
Get the output as a concrete type. |
int |
isA(java.lang.String id0)
Return 1 if this class is the same type of (or a subclass of) the named class. |
void |
setExecuteMethod(java.lang.Object id0,
java.lang.String id1)
Specify the function to use to generate the source data. |
void |
updateData(vtkDataObject id0)
|
void |
updateInformation()
Updates any global information about the data (like spacing for images) |
protected void |
VTKCastInit()
|
void |
VTKInit()
|
Methods inherited from class vtk.vtkObject |
AddObserver, breakOnError, debugOff, debugOn, getDebug, getGlobalWarningDisplay, getMTime, getThisObject, globalWarningDisplayOff, globalWarningDisplayOn, hasObserver, hasObserver, invokeEvent, invokeEvent, modified, Print, PrintRevisions, register, removeObserver, removeObservers, removeObservers, setDebug, setGlobalWarningDisplay |
Methods inherited from class vtk.vtkObjectBase |
addPropertyChangeListener, finalize, getReferenceCount, getThisObjectBase, isTypeOf, removePropertyChangeListener, setReferenceCount, VTKDelete |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.beans.PropertyChangeSupport changes
Constructor Detail |
public vtkProgrammableSource()
protected vtkProgrammableSource(int dmy)
Method Detail |
public vtkProgrammableSource getThisProgrammableSource()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkSource
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkSource
public void setExecuteMethod(java.lang.Object id0, java.lang.String id1)
public vtkPolyData getPolyDataOutput()
public vtkStructuredPoints getStructuredPointsOutput()
public vtkStructuredGrid getStructuredGridOutput()
public vtkUnstructuredGrid getUnstructuredGridOutput()
public vtkRectilinearGrid getRectilinearGridOutput()
public void updateInformation()
vtkSource
updateInformation
in class vtkSource
public void updateData(vtkDataObject id0)
updateData
in class vtkSource
public void VTKInit()
VTKInit
in class vtkObject
protected void VTKCastInit()
VTKCastInit
in class vtkSource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |