Skip to content

Commit

Permalink
Removed overload since default args serve this case already
Browse files Browse the repository at this point in the history
  • Loading branch information
timohl committed Dec 16, 2024
1 parent df984e9 commit a0a3bcb
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions cpp/pybind/visualization/utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,25 +108,6 @@ void pybind_visualization_utility_definitions(py::module &m) {
{"up", "The up vector of the camera."},
{"front", "The front vector of the camera."},
{"zoom", "The zoom of the camera."}};
m.def(
"draw_geometries",
[](const std::vector<std::shared_ptr<const geometry::Geometry>>
&geometry_ptrs,
const std::string &window_name, int width, int height, int left,
int top, bool point_show_normal, bool mesh_show_wireframe,
bool mesh_show_back_face) {
std::string current_dir =
utility::filesystem::GetWorkingDirectory();
DrawGeometries(geometry_ptrs, window_name, width, height, left,
top, point_show_normal, mesh_show_wireframe,
mesh_show_back_face);
utility::filesystem::ChangeWorkingDirectory(current_dir);
},
"Function to draw a list of geometry::Geometry objects",
"geometry_list"_a, "window_name"_a = "Open3D", "width"_a = 1920,
"height"_a = 1080, "left"_a = 50, "top"_a = 50,
"point_show_normal"_a = false, "mesh_show_wireframe"_a = false,
"mesh_show_back_face"_a = false);
m.def(
"draw_geometries",
[](const std::vector<std::shared_ptr<const geometry::Geometry>>
Expand Down

0 comments on commit a0a3bcb

Please sign in to comment.