Decodes a draco comptressed file into a lvr model. More...
Go to the source code of this file.
Namespaces | |
lvr2 | |
Functions | |
void | lvr2::createTextures (std::vector< int32_t > &drcTextures, std::vector< GlTexture *> &lvrTextures) |
transforms the int32_t vector with texture data into actual GlTextures More... | |
void | lvr2::createTextures (std::vector< int32_t > &drcTextures, std::vector< Texture > &lvrTextures) |
transforms the int32_t vector with texture data into actual GlTextures More... | |
ModelPtr | lvr2::decodeDraco (draco::DecoderBuffer &buffer, draco::EncodedGeometryType type) |
delivers ModelPtr from draco DecoderBuffer More... | |
const draco::PointAttribute * | lvr2::getDracoAttributeByAttributeMetadata (draco::PointCloud *geometry, std::string key, std::string value) |
delivers PointAttribute by searching for given Attribute Metadata Entries More... | |
template<typename LvrArrType , typename DataType , int numComponents> | |
LvrArrType | lvr2::loadAttributeFromDraco (const draco::PointAttribute *attribute) |
loads any GeometryAttribute from draco pointcloud and returns its values More... | |
ModelPtr | lvr2::readMesh (draco::DecoderBuffer &buffer, draco::Decoder &decoder) |
loads a mesh from the decoderBuffer and converts it into the lvr structure More... | |
ModelPtr | lvr2::readPointCloud (draco::DecoderBuffer &buffer, draco::Decoder &decoder) |
loads a pointcloud from the decoderBuffer and converts it into the lvr structure More... | |
Decodes a draco comptressed file into a lvr model.
Supports geometrys compressed using draco https://github.com/google/draco
Definition in file DracoDecoder.cpp.