load_mesh.cpp File Reference

#include <cstdio>
#include <cmath>
#include <algorithm>
#include <set>
#include "pr2_navigation_self_filter/shapes.h"
Include dependency graph for load_mesh.cpp:

Go to the source code of this file.

Classes

struct  shapes::detail::ltVertexIndex
struct  shapes::detail::ltVertexValue
struct  shapes::detail::myVertex

Namespaces

namespace  shapes
namespace  shapes::detail

Functions

Mesh * shapes::createMeshFromBinaryStl (const char *filename)
 Load a mesh from a binary STL file. Normals are recomputed and repeating vertices are identified.
Mesh * shapes::createMeshFromBinaryStlData (const char *data, unsigned int size)
 Load a mesh from a binary STL stream. Normals are recomputed and repeating vertices are identified.
Mesh * shapes::createMeshFromVertices (const std::vector< btVector3 > &source)
 Load a mesh from a set of vertices. Every 3 vertices are considered a triangle. Repeating vertices are identified and the set of triangle indices is constructed. The normal at each triangle is also computed.
Mesh * shapes::createMeshFromVertices (const std::vector< btVector3 > &vertices, const std::vector< unsigned int > &triangles)
 Load a mesh from a set of vertices. Triangles are constructed using index values from the triangles vector. Triangle k has vertices at index values triangles[3k], triangles[3k+1], triangles[3k+2].
 All Classes Namespaces Files Functions Variables Enumerations Enumerator


pr2_navigation_self_filter
Author(s): Eitan Marder-Eppstein
autogenerated on Fri Jan 11 09:35:21 2013