Drake
Drake C++ Documentation
obj_to_surface_mesh.h File Reference
#include <filesystem>
#include <functional>
#include <istream>
#include <optional>
#include <string>
#include <string_view>
#include <vector>
#include "drake/common/diagnostic_policy.h"
#include "drake/common/drake_deprecated.h"
#include "drake/geometry/mesh_source.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::filesystem::path &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={}, std::string_view description="from_stream")
 Overload of ReadObjToTriangleSurfaceMesh(const std::string&, double) with the Wavefront .obj file given in std::istream. More...
 
TriangleSurfaceMesh< doubleReadObjToTriangleSurfaceMesh (const MeshSource &mesh_source, double scale=1.0, std::function< void(std::string_view)> on_warning={})
 Overload of ReadObjToTriangleSurfaceMesh(const std::filesystem::path&, double) with the Wavefront .obj in a Mesh shape specification. More...