GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
draco::PointCloudBuilder Class Reference

#include <point_cloud_builder.h>

Public Types

typedef PointIndex ElementIndex

Public Member Functions

 PointCloudBuilder ()
void Start (PointIndex::ValueType num_points)
int AddAttribute (GeometryAttribute::Type attribute_type, int8_t num_components, DataTypeDataType data_type)
void SetAttributeValueForPoint (int att_id, PointIndex point_index, const void *attribute_value)
void SetAttributeValuesForAllPoints (int att_id, const void *attribute_values, int stride)
std::unique_ptr< PointCloud > Finalize (bool deduplicate_points)
void AddAttributeMetadata (int32_t att_id, std::unique_ptr< AttributeMetadata > metadata)

Member Typedef Documentation

◆ ElementIndex

Constructor & Destructor Documentation

◆ PointCloudBuilder()

draco::PointCloudBuilder::PointCloudBuilder ( )

Member Function Documentation

◆ AddAttribute()

int draco::PointCloudBuilder::AddAttribute ( GeometryAttribute::Type attribute_type,
int8_t num_components,
DataTypeDataType data_type )
Here is the caller graph for this function:

◆ AddAttributeMetadata()

void draco::PointCloudBuilder::AddAttributeMetadata ( int32_t att_id,
std::unique_ptr< AttributeMetadata > metadata )
inline

◆ Finalize()

std::unique_ptr< PointCloud > draco::PointCloudBuilder::Finalize ( bool deduplicate_points)
Here is the caller graph for this function:

◆ SetAttributeValueForPoint()

void draco::PointCloudBuilder::SetAttributeValueForPoint ( int att_id,
PointIndex point_index,
const void * attribute_value )
Here is the caller graph for this function:

◆ SetAttributeValuesForAllPoints()

void draco::PointCloudBuilder::SetAttributeValuesForAllPoints ( int att_id,
const void * attribute_values,
int stride )
Here is the caller graph for this function:

◆ Start()

void draco::PointCloudBuilder::Start ( PointIndex::ValueType num_points)
Here is the caller graph for this function:

The documentation for this class was generated from the following files: