CustomSDFCallbackEventHandler Object

Derived from: EventHandler Object
Defined in namespace "adsk::volume" and the header file is <Volume/Volumetric/CustomSDFCallbackEventHandler.h>

Description

API clients can implement subclasses of this handler to enable custom Signed Distance Field geometries.

Methods

Name Description
boundingBox

This method should be implemented in the subclass of the handler to return the bounding box of the Signed Distance Field that it can provide. This method will be called infrequently by the system.

signedDistanceAt

This method should be implemented in the subclass of the handler to return the Signed Distance value at the given coordinates within the bounding box. This method will be called very frequently and potentially from several different threads, it should be made as fast as possible.

Version

Introduced in version May 2025