shape_operations.cpp File Reference

#include "geometric_shapes/shape_operations.h"
#include "geometric_shapes/shapes.h"
#include <vector>
#include <LinearMath/btVector3.h>
#include <assimp/aiMesh.h>
#include <cstdio>
#include <cmath>
#include <algorithm>
#include <set>
#include <ros/console.h>
Include dependency graph for shape_operations.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


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


namespace  shapes
namespace  shapes::detail


StaticShape * shapes::cloneShape (const StaticShape *shape)
 Create a copy of a static shape.
Shape * shapes::cloneShape (const Shape *shape)
 Create a copy of a shape.
Mesh * shapes::createMeshFromAsset (const aiMesh *a, const btVector3 &scale)
 Load a mesh from an assimp datastructure.
shapes::Meshshapes::createMeshFromBinaryStl (const char *filename)
shapes::Meshshapes::createMeshFromBinaryStlData (const char *data, unsigned int size)
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

Author(s): Ioan Sucan
autogenerated on Fri Jan 11 09:51:07 2013