Namespaces | Functions
mesh_operations.h File Reference
#include "geometric_shapes/shapes.h"
#include <eigen_stl_containers/eigen_stl_containers.h>
#include <vector>
Include dependency graph for mesh_operations.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 shapes
 Definition of various shapes. No properties such as position are included. These are simply the descriptions and dimensions of shapes.
 

Functions

Mesh * shapes::createMeshFromAsset (const aiScene *scene, const Eigen::Vector3d &scale, const std::string &assimp_hint=std::string())
 Load a mesh from an assimp datastructure. More...
 
Mesh * shapes::createMeshFromAsset (const aiScene *scene, const std::string &assimp_hint=std::string())
 Load a mesh from an assimp datastructure. More...
 
Mesh * shapes::createMeshFromBinary (const char *buffer, std::size_t size, const std::string &assimp_hint=std::string())
 Load a mesh from a binary stream that contains a mesh that can be loaded by assimp. More...
 
Mesh * shapes::createMeshFromBinary (const char *buffer, std::size_t size, const Eigen::Vector3d &scale, const std::string &assimp_hint=std::string())
 Load a mesh from a resource that contains a mesh that can be loaded by assimp. More...
 
Mesh * shapes::createMeshFromResource (const std::string &resource)
 Load a mesh from a resource that contains a mesh that can be loaded by assimp. More...
 
Mesh * shapes::createMeshFromResource (const std::string &resource, const Eigen::Vector3d &scale)
 Load a mesh from a resource that contains a mesh that can be loaded by assimp. More...
 
Mesh * shapes::createMeshFromShape (const Shape *shape)
 Construct a mesh from a primitive shape that is NOT already a mesh. This call allocates a new object. More...
 
Mesh * shapes::createMeshFromShape (const Box &box)
 Construct a mesh from a box. More...
 
Mesh * shapes::createMeshFromShape (const Sphere &sphere)
 Construct a mesh from a sphere. More...
 
Mesh * shapes::createMeshFromShape (const Cylinder &cylinder)
 Construct a mesh from a cylinder. More...
 
Mesh * shapes::createMeshFromShape (const Cone &cone)
 Construct a mesh from a cone. More...
 
Mesh * shapes::createMeshFromVertices (const EigenSTL::vector_Vector3d &vertices, const std::vector< unsigned int > &triangles)
 Load a mesh from a set of vertices. More...
 
Mesh * shapes::createMeshFromVertices (const EigenSTL::vector_Vector3d &source)
 Load a mesh from a set of vertices. More...
 
void shapes::writeSTLBinary (const Mesh *mesh, std::vector< char > &buffer)
 Write the mesh to a buffer in STL format. More...
 


geometric_shapes
Author(s): Ioan Sucan , Gil Jones
autogenerated on Fri Jun 7 2019 21:59:29