Section: Visualization Toolkit Widget Classes
To create an instance of class vtkSplineWidget2, simply invoke its constructor as follows
obj = vtkSplineWidget2
obj
is an instance of the vtkSplineWidget2 class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkSplineWidget2 = obj.NewInstance ()
vtkSplineWidget2 = obj.SafeDownCast (vtkObject o)
obj.SetRepresentation (vtkSplineRepresentation r)
- Create the default widget representation if one is not set. By default,
this is an instance of the vtkSplineRepresentation class.
obj.CreateDefaultRepresentation ()
- Create the default widget representation if one is not set. By default,
this is an instance of the vtkSplineRepresentation class.