Drake
Drake C++ Documentation
obj_to_surface_mesh.h File Reference
#include <functional>
#include <istream>
#include <optional>
#include <string>
#include <string_view>
#include <vector>
#include "drake/common/diagnostic_policy.h"
#include "drake/geometry/proximity/triangle_surface_mesh.h"
Include dependency graph for obj_to_surface_mesh.h:

Namespaces

 drake
 
 drake::geometry
 

Functions

TriangleSurfaceMesh< doubleReadObjToTriangleSurfaceMesh (const std::string &filename, double scale=1.0, std::function< void(std::string_view)> on_warning={})
 Constructs a surface mesh from a Wavefront .obj file and optionally scales coordinates by the given scale factor. More...
 
TriangleSurfaceMesh< doubleReadObjToTriangleSurfaceMesh (std::istream *input_stream, double scale=1.0, std::function< void(std::string_view)> on_warning={})
 Overload of ReadObjToTriangleSurfaceMesh(const std::string&, double) with the Wavefront .obj file given in std::istream. More...