PointsToVolumeListInterface Class Reference

#include <volumetools.h>

Public Member Functions

MAXON_METHOD Result< void > AppendPoint (const Vector &position, Float radius, const Vector &velocity=Vector(0.0))
MAXON_METHOD Int GetCount () const

Static Public Member Functions

static MAXON_METHOD Result< PointsToVolumeListInterface * > Alloc (MAXON_SOURCE_LOCATION_DECLARATION, Float scale, Float velicityScale)

Private Member Functions

 MAXON_INTERFACE_NONVIRTUAL (PointsToVolumeListInterface, MAXON_REFERENCE_NORMAL, "net.maxon.volume.interface.pointstovolumelist")

Member Function Documentation


MAXON_INTERFACE_NONVIRTUAL ( PointsToVolumeListInterface  ,

◆ Alloc()

static MAXON_METHOD Result<PointsToVolumeListInterface*> Alloc ( MAXON_SOURCE_LOCATION_DECLARATION  ,
Float  scale,
Float  velicityScale 

◆ AppendPoint()

MAXON_METHOD Result<void> AppendPoint ( const Vector position,
Float  radius,
const Vector velocity = Vector(0.0) 

Adds a point to the point list that will be converted to a volume.

[in]positionThe position of the point.
[in]radiusThe radius of the volume sphere that will be created around that point.
[in]velocityThe velocity of the points for trails.
OK on success.

◆ GetCount()

MAXON_METHOD Int GetCount ( ) const

Returns the amount of points that were added to the point list.

The amount of already added points.