Section: Visualization Toolkit Common Classes
To create an instance of class vtkFunctionSet, simply invoke its constructor as follows
obj = vtkFunctionSet
obj
is an instance of the vtkFunctionSet class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkFunctionSet = obj.NewInstance ()
vtkFunctionSet = obj.SafeDownCast (vtkObject o)
int = obj.FunctionValues (double x, double f)
- Evaluate functions at x_j.
x and f have to point to valid double arrays of appropriate
sizes obtained with GetNumberOfFunctions() and
GetNumberOfIndependentVariables.
int = obj.GetNumberOfFunctions ()
- Return the number of independent variables. Note that this is
constant for a given type of set of functions and can not be changed
at run time.
int = obj.GetNumberOfIndependentVariables ()