Skip to content

ImplicitFunction

Introduction

vtkImplicitFunction computes the implicit function and/or gradient for a function.

Methods

evaluateFunction

Given the point x evaluate the function.

ArgumentTypeRequiredDescription
xVector3YesThe point coordinate.

extend

Method used to decorate a given object (publicAPI+model) with vtkImplicitFunction characteristics.

ArgumentTypeRequiredDescription
publicAPIYesobject on which methods will be bounds (public)
modelYesobject on which data structure will be bounds (protected)
initialValuesIImplicitFunctionInitialValuesNo(default: {})

functionValue

Evaluate function at position x-y-z and return value. Point x[3] is transformed through transform (if provided).

ArgumentTypeRequiredDescription
xVector3YesThe point coordinate.

getTransform

Get the transform. undefined by default

newInstance

Method used to create a new instance of vtkImplicitFunction.

ArgumentTypeRequiredDescription
initialValuesIImplicitFunctionInitialValuesNofor pre-setting some of its content

setTransform

Set the transform to apply on all points.

ArgumentTypeRequiredDescription
transformvtkTransformYesThe transform to apply