#include <filesystem>
#include <functional>
#include <optional>
#include <string>
#include <string_view>
#include <vector>
#include "drake/common/diagnostic_policy.h"
#include "drake/geometry/mesh_source.h"
#include "drake/geometry/proximity/triangle_surface_mesh.h"
Namespaces | |
drake | |
drake::geometry | |
Functions | |
TriangleSurfaceMesh< double > | ReadObjToTriangleSurfaceMesh (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< double > | ReadObjToTriangleSurfaceMesh (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... | |