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

#include <point_cloud.h>

Inheritance diagram for draco::PointCloud:

Public Member Functions

 PointCloud ()
virtual ~PointCloud ()=default
int32_t NumNamedAttributes (GeometryAttribute::Type type) const
int32_t GetNamedAttributeId (GeometryAttribute::Type type) const
int32_t GetNamedAttributeId (GeometryAttribute::Type type, int i) const
const PointAttribute * GetNamedAttribute (GeometryAttribute::Type type) const
const PointAttribute * GetNamedAttribute (GeometryAttribute::Type type, int i) const
const PointAttribute * GetNamedAttributeByUniqueId (GeometryAttribute::Type type, uint32_t id) const
const PointAttribute * GetAttributeByUniqueId (uint32_t id) const
int32_t GetAttributeIdByUniqueId (uint32_t unique_id) const
int32_t num_attributes () const
const PointAttribute * attribute (int32_t att_id) const
PointAttribute * attribute (int32_t att_id)
int AddAttribute (std::unique_ptr< PointAttribute > pa)
int AddAttribute (const GeometryAttribute &att, bool identity_mapping, AttributeValueIndex::ValueType num_attribute_values)
std::unique_ptr< PointAttribute > CreateAttribute (const GeometryAttribute &att, bool identity_mapping, AttributeValueIndex::ValueType num_attribute_values) const
virtual void SetAttribute (int att_id, std::unique_ptr< PointAttribute > pa)
virtual void DeleteAttribute (int att_id)
BoundingBox ComputeBoundingBox () const
void AddMetadata (std::unique_ptr< GeometryMetadata > metadata)
void AddAttributeMetadata (int32_t att_id, std::unique_ptr< AttributeMetadata > metadata)
const AttributeMetadata * GetAttributeMetadataByAttributeId (int32_t att_id) const
const AttributeMetadata * GetAttributeMetadataByStringEntry (const std::string &name, const std::string &value) const
int GetAttributeIdByMetadataEntry (const std::string &name, const std::string &value) const
const GeometryMetadata * GetMetadata () const
GeometryMetadata * metadata ()
PointIndex::ValueType num_points () const
void set_num_points (PointIndex::ValueType num)

Friends

struct PointCloudHasher

Constructor & Destructor Documentation

◆ PointCloud()

draco::PointCloud::PointCloud ( )
Here is the caller graph for this function:

◆ ~PointCloud()

virtual draco::PointCloud::~PointCloud ( )
virtualdefault

Member Function Documentation

◆ AddAttribute() [1/2]

int draco::PointCloud::AddAttribute ( const GeometryAttribute & att,
bool identity_mapping,
AttributeValueIndex::ValueType num_attribute_values )

◆ AddAttribute() [2/2]

int draco::PointCloud::AddAttribute ( std::unique_ptr< PointAttribute > pa)
Here is the caller graph for this function:

◆ AddAttributeMetadata()

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

◆ AddMetadata()

void draco::PointCloud::AddMetadata ( std::unique_ptr< GeometryMetadata > metadata)
inline

◆ attribute() [1/2]

PointAttribute * draco::PointCloud::attribute ( int32_t att_id)
inline

◆ attribute() [2/2]

const PointAttribute * draco::PointCloud::attribute ( int32_t att_id) const
inline
Here is the caller graph for this function:

◆ ComputeBoundingBox()

BoundingBox draco::PointCloud::ComputeBoundingBox ( ) const

◆ CreateAttribute()

std::unique_ptr< PointAttribute > draco::PointCloud::CreateAttribute ( const GeometryAttribute & att,
bool identity_mapping,
AttributeValueIndex::ValueType num_attribute_values ) const
Here is the caller graph for this function:

◆ DeleteAttribute()

void draco::PointCloud::DeleteAttribute ( int att_id)
virtual

Reimplemented in draco::Mesh.

Here is the caller graph for this function:

◆ GetAttributeByUniqueId()

const PointAttribute * draco::PointCloud::GetAttributeByUniqueId ( uint32_t id) const

◆ GetAttributeIdByMetadataEntry()

int draco::PointCloud::GetAttributeIdByMetadataEntry ( const std::string & name,
const std::string & value ) const
inline

◆ GetAttributeIdByUniqueId()

int32_t draco::PointCloud::GetAttributeIdByUniqueId ( uint32_t unique_id) const
Here is the caller graph for this function:

◆ GetAttributeMetadataByAttributeId()

const AttributeMetadata * draco::PointCloud::GetAttributeMetadataByAttributeId ( int32_t att_id) const
inline

◆ GetAttributeMetadataByStringEntry()

const AttributeMetadata * draco::PointCloud::GetAttributeMetadataByStringEntry ( const std::string & name,
const std::string & value ) const
inline

◆ GetMetadata()

const GeometryMetadata * draco::PointCloud::GetMetadata ( ) const
inline

◆ GetNamedAttribute() [1/2]

const PointAttribute * draco::PointCloud::GetNamedAttribute ( GeometryAttribute::Type type) const
Here is the caller graph for this function:

◆ GetNamedAttribute() [2/2]

const PointAttribute * draco::PointCloud::GetNamedAttribute ( GeometryAttribute::Type type,
int i ) const

◆ GetNamedAttributeByUniqueId()

const PointAttribute * draco::PointCloud::GetNamedAttributeByUniqueId ( GeometryAttribute::Type type,
uint32_t id ) const

◆ GetNamedAttributeId() [1/2]

int32_t draco::PointCloud::GetNamedAttributeId ( GeometryAttribute::Type type) const
Here is the caller graph for this function:

◆ GetNamedAttributeId() [2/2]

int32_t draco::PointCloud::GetNamedAttributeId ( GeometryAttribute::Type type,
int i ) const

◆ metadata()

GeometryMetadata * draco::PointCloud::metadata ( )
inline
Here is the caller graph for this function:

◆ num_attributes()

int32_t draco::PointCloud::num_attributes ( ) const
inline
Here is the caller graph for this function:

◆ num_points()

PointIndex::ValueType draco::PointCloud::num_points ( ) const
inline
Here is the caller graph for this function:

◆ NumNamedAttributes()

int32_t draco::PointCloud::NumNamedAttributes ( GeometryAttribute::Type type) const
Here is the caller graph for this function:

◆ set_num_points()

void draco::PointCloud::set_num_points ( PointIndex::ValueType num)
inline
Here is the caller graph for this function:

◆ SetAttribute()

void draco::PointCloud::SetAttribute ( int att_id,
std::unique_ptr< PointAttribute > pa )
virtual

Reimplemented in draco::Mesh.

Here is the caller graph for this function:

◆ PointCloudHasher

friend struct PointCloudHasher
friend

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