Public Member Functions | Private Attributes | List of all members
coal::MeshLoader Class Reference

#include <loader.h>

Inheritance diagram for coal::MeshLoader:
Inheritance graph
[legend]

Public Member Functions

virtual BVHModelPtr_t load (const std::string &filename, const Vec3s &scale=Vec3s::Ones())
 
virtual CollisionGeometryPtr_t loadOctree (const std::string &filename)
 
 MeshLoader (const NODE_TYPE &bvType=BV_OBBRSS)
 
virtual ~MeshLoader ()
 

Private Attributes

const NODE_TYPE bvType_
 

Detailed Description

Base class for building polyhedron from files. This class builds a new object for each file.

Definition at line 52 of file coal/mesh_loader/loader.h.

Constructor & Destructor Documentation

◆ ~MeshLoader()

virtual coal::MeshLoader::~MeshLoader ( )
inlinevirtual

Definition at line 54 of file coal/mesh_loader/loader.h.

◆ MeshLoader()

coal::MeshLoader::MeshLoader ( const NODE_TYPE bvType = BV_OBBRSS)
inline

Definition at line 63 of file coal/mesh_loader/loader.h.

Member Function Documentation

◆ load()

BVHModelPtr_t coal::MeshLoader::load ( const std::string &  filename,
const Vec3s scale = Vec3s::Ones() 
)
virtual

Reimplemented in coal::CachedMeshLoader.

Definition at line 67 of file loader.cpp.

◆ loadOctree()

CollisionGeometryPtr_t coal::MeshLoader::loadOctree ( const std::string &  filename)
virtual

Create an OcTree from a file in binary octomap format.

Todo:
add OctreePtr_t

Definition at line 92 of file loader.cpp.

Member Data Documentation

◆ bvType_

const NODE_TYPE coal::MeshLoader::bvType_
private

Definition at line 66 of file coal/mesh_loader/loader.h.


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


hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:45:00