Skip to content

Cone

Introduction

vtkCone computes the implicit function and/or gradient for a cone. vtkCone is a concrete implementation of vtkImplicitFunction.

Methods

evaluateFunction

Given the point x evaluate the cone equation.

ArgumentTypeRequiredDescription
xVector3YesThe point coordinate.

evaluateGradient

Given the point x evaluate the equation for the cone gradient.

ArgumentTypeRequiredDescription
xVector3YesThe point coordinate.

extend

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

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

getAngle

Get the angle of the cone.

newInstance

Method used to create a new instance of vtkCone.

ArgumentTypeRequiredDescription
initialValuesIConeInitialValuesNofor pre-setting some of its content

setAngle

Set the value representing the angle of the cone.

ArgumentTypeRequiredDescription
angleNumberYesThe angle of the cone.