Bifrost SDK
Bifrost SDK documentation
Point functions

Functions

Amino::Ptr< Bifrost::Object > BIFROST_GEOMETRY_DECL Bifrost::Geometry::getPointCloudPrototype ()
 Returns the prototypical point cloud object. More...
 
void BIFROST_GEOMETRY_DECL Bifrost::Geometry::populatePointCloud (Bifrost::Object &object)
 Populate an object with the required properties to conform to the point cloud geometry schema. More...
 
bool BIFROST_GEOMETRY_DECL Bifrost::Geometry::populatePointCloud (Amino::Ptr< Amino::Array< Bifrost::Math::float3 > > position, Bifrost::Object &object)
 Populate an object with the required properties to conform to the point cloud geometry schema. More...
 

Detailed Description

Functions for creating Point geometry objects.

Function Documentation

◆ getPointCloudPrototype()

Amino::Ptr< Bifrost::Object > BIFROST_GEOMETRY_DECL Bifrost::Geometry::getPointCloudPrototype ( )

Returns the prototypical point cloud object.

The returned pointer may be used in conjunction with Bifrost::Object::isA to determine if an object conforms to the point cloud schema. The returned object may not be modified.

Returns
The point cloud prototype

◆ populatePointCloud() [1/2]

bool BIFROST_GEOMETRY_DECL Bifrost::Geometry::populatePointCloud ( Amino::Ptr< Amino::Array< Bifrost::Math::float3 > >  position,
Bifrost::Object object 
)

Populate an object with the required properties to conform to the point cloud geometry schema.

The point cloud is initialized with the specified data.

Parameters
[in]positionThe initial positions.
[in,out]objectPoint cloud geometry object to be populated.

◆ populatePointCloud() [2/2]

void BIFROST_GEOMETRY_DECL Bifrost::Geometry::populatePointCloud ( Bifrost::Object object)

Populate an object with the required properties to conform to the point cloud geometry schema.

The point cloud is initially empty.

Parameters
[in,out]objectPoint cloud geometry object to be populated.