Namespaces | Functions
DracoDecoder.cpp File Reference

Decodes a draco comptressed file into a lvr model. More...

#include "lvr2/io/DracoDecoder.hpp"
#include <draco/metadata/geometry_metadata.h>
Include dependency graph for DracoDecoder.cpp:

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...
 

Detailed Description

Decodes a draco comptressed file into a lvr model.

Supports geometrys compressed using draco https://github.com/google/draco

Author
Steffen Schupp (sschupp), sschu.nosp@m.pp@u.nosp@m.os.de
Malte kl. Piening (mklpiening), mklpi.nosp@m.enin.nosp@m.g@uos.nosp@m..de

Definition in file DracoDecoder.cpp.



lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:25