Section: Visualization Toolkit Filtering Classes
To create an instance of class vtkImplicitSum, simply invoke its constructor as follows
obj = vtkImplicitSum
obj
is an instance of the vtkImplicitSum class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkImplicitSum = obj.NewInstance ()
vtkImplicitSum = obj.SafeDownCast (vtkObject o)
double = obj.EvaluateFunction (double x[3])
- Evaluate implicit function using current functions and weights.
double = obj.EvaluateFunction (double x, double y, double z)
- Evaluate implicit function using current functions and weights.
obj.EvaluateGradient (double x[3], double g[3])
- Evaluate gradient of the weighted sum of functions. Input functions
should be linear.
long = obj.GetMTime ()
- Override modified time retrieval because of object dependencies.
obj.AddFunction (vtkImplicitFunction in, double weight)
- Add another implicit function to the list of functions, along with a
weighting factor.
obj.AddFunction (vtkImplicitFunction in)
- Remove all functions from the list.
obj.RemoveAllFunctions ()
- Remove all functions from the list.
obj.SetFunctionWeight (vtkImplicitFunction f, double weight)
- Set the weight (coefficient) of the given function to be weight.
obj.SetNormalizeByWeight (int )
- When calculating the function and gradient values of the
composite function, setting NormalizeByWeight on will divide the
final result by the total weight of the component functions.
This process does not otherwise normalize the gradient vector.
By default, NormalizeByWeight is off.
int = obj.GetNormalizeByWeight ()
- When calculating the function and gradient values of the
composite function, setting NormalizeByWeight on will divide the
final result by the total weight of the component functions.
This process does not otherwise normalize the gradient vector.
By default, NormalizeByWeight is off.
obj.NormalizeByWeightOn ()
- When calculating the function and gradient values of the
composite function, setting NormalizeByWeight on will divide the
final result by the total weight of the component functions.
This process does not otherwise normalize the gradient vector.
By default, NormalizeByWeight is off.
obj.NormalizeByWeightOff ()
- When calculating the function and gradient values of the
composite function, setting NormalizeByWeight on will divide the
final result by the total weight of the component functions.
This process does not otherwise normalize the gradient vector.
By default, NormalizeByWeight is off.