GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
draco::MeshDecoder Class Referenceabstract

#include <mesh_decoder.h>

Inheritance diagram for draco::MeshDecoder:
Collaboration diagram for draco::MeshDecoder:

Public Member Functions

 MeshDecoder ()
EncodedGeometryType GetGeometryType () const override
Status Decode (const DecoderOptions &options, DecoderBuffer *in_buffer, Mesh *out_mesh)
virtual const CornerTable * GetCornerTable () const
virtual const MeshAttributeCornerTable * GetAttributeCornerTable (int) const
virtual const MeshAttributeIndicesEncodingData * GetAttributeEncodingData (int) const
Mesh * mesh () const
Public Member Functions inherited from draco::PointCloudDecoder
 PointCloudDecoder ()
virtual ~PointCloudDecoder ()=default
Status Decode (const DecoderOptions &options, DecoderBuffer *in_buffer, PointCloud *out_point_cloud)
bool SetAttributesDecoder (int att_decoder_id, std::unique_ptr< AttributesDecoderInterface > decoder)
const PointAttribute * GetPortableAttribute (int32_t point_attribute_id)
uint16_t bitstream_version () const
const AttributesDecoderInterface * attributes_decoder (int dec_id)
int32_t num_attributes_decoders () const
PointCloud * point_cloud ()
const PointCloud * point_cloud () const
DecoderBuffer * buffer ()
const DecoderOptions * options () const

Protected Member Functions

bool DecodeGeometryData () override
virtual bool DecodeConnectivity ()=0
Protected Member Functions inherited from draco::PointCloudDecoder
virtual bool InitializeDecoder ()
virtual bool CreateAttributesDecoder (int32_t att_decoder_id)=0
virtual bool DecodePointAttributes ()
virtual bool DecodeAllAttributes ()
virtual bool OnAttributesDecoded ()
Status DecodeMetadata ()

Additional Inherited Members

Static Public Member Functions inherited from draco::PointCloudDecoder
static Status DecodeHeader (DecoderBuffer *buffer, DracoHeader *out_header)

Constructor & Destructor Documentation

◆ MeshDecoder()

draco::MeshDecoder::MeshDecoder ( )

Member Function Documentation

◆ Decode()

Status draco::MeshDecoder::Decode ( const DecoderOptions & options,
DecoderBuffer * in_buffer,
Mesh * out_mesh )
Here is the caller graph for this function:

◆ DecodeConnectivity()

virtual bool draco::MeshDecoder::DecodeConnectivity ( )
protectedpure virtual

Implemented in draco::MeshEdgebreakerDecoder, and draco::MeshSequentialDecoder.

Here is the caller graph for this function:

◆ DecodeGeometryData()

bool draco::MeshDecoder::DecodeGeometryData ( )
overrideprotectedvirtual

Reimplemented from draco::PointCloudDecoder.

◆ GetAttributeCornerTable()

virtual const MeshAttributeCornerTable * draco::MeshDecoder::GetAttributeCornerTable ( int ) const
inlinevirtual

Reimplemented in draco::MeshEdgebreakerDecoder.

◆ GetAttributeEncodingData()

virtual const MeshAttributeIndicesEncodingData * draco::MeshDecoder::GetAttributeEncodingData ( int ) const
inlinevirtual

Reimplemented in draco::MeshEdgebreakerDecoder.

◆ GetCornerTable()

virtual const CornerTable * draco::MeshDecoder::GetCornerTable ( ) const
inlinevirtual

Reimplemented in draco::MeshEdgebreakerDecoder.

◆ GetGeometryType()

EncodedGeometryType draco::MeshDecoder::GetGeometryType ( ) const
inlineoverridevirtual

Reimplemented from draco::PointCloudDecoder.

◆ mesh()

Mesh * draco::MeshDecoder::mesh ( ) const
inline
Here is the caller graph for this function:

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