33 namespace visualization {
34 class SelectionPolygon;
35 class PointCloudPicker;
47 bool use_dialog =
true,
48 const std::string &directory =
"")
58 std::shared_ptr<const geometry::Geometry> geometry_ptr)
override;
86 std::shared_ptr<glsl::SelectionPolygonRenderer>
91 std::shared_ptr<glsl::PointCloudPickerRenderer>
void WindowResizeCallback(GLFWwindow *window, int w, int h) override
Definition: VisualizerWithEditing.cpp:474
std::shared_ptr< geometry::Geometry > editing_geometry_ptr_
Definition: VisualizerWithEditing.h:95
void InvalidatePicking()
Definition: VisualizerWithEditing.cpp:643
VisualizerWithEditing & operator=(const VisualizerWithEditing &)=delete
bool AddGeometry(std::shared_ptr< const geometry::Geometry > geometry_ptr) override
Definition: VisualizerWithEditing.cpp:48
std::vector< size_t > & GetPickedPoints()
Definition: VisualizerWithEditing.cpp:253
void UpdateWindowTitle() override
Definition: VisualizerWithEditing.cpp:142
void MouseButtonCallback(GLFWwindow *window, int button, int action, int mods) override
Definition: VisualizerWithEditing.cpp:519
SelectionMode selection_mode_
Definition: VisualizerWithEditing.h:88
void BuildUtilities() override
Definition: VisualizerWithEditing.cpp:151
std::shared_ptr< PointCloudPicker > pointcloud_picker_ptr_
Definition: VisualizerWithEditing.h:90
std::string default_directory_
Definition: VisualizerWithEditing.h:100
unsigned int crop_action_count_
Definition: VisualizerWithEditing.h:101
SelectionMode
Definition: VisualizerWithEditing.h:39
~VisualizerWithEditing() override
Definition: VisualizerWithEditing.h:52
bool use_dialog_
Definition: VisualizerWithEditing.h:99
void SaveCroppingResult(const std::string &filename="")
Definition: VisualizerWithEditing.cpp:650
void MouseScrollCallback(GLFWwindow *window, double x, double y) override
Definition: VisualizerWithEditing.cpp:509
VisualizerWithEditing(double voxel_size=-1.0, bool use_dialog=true, const std::string &directory="")
Definition: VisualizerWithEditing.h:46
void PrintVisualizerHelp() override
Definition: VisualizerWithEditing.cpp:116
Definition: PinholeCameraIntrinsic.cpp:33
std::shared_ptr< glsl::PointCloudPickerRenderer > pointcloud_picker_renderer_ptr_
Definition: VisualizerWithEditing.h:92
Definition: Visualizer.h:50
bool InitRenderOption() override
Function to initialize RenderOption.
Definition: VisualizerWithEditing.cpp:264
std::shared_ptr< SelectionPolygon > selection_polygon_ptr_
Definition: VisualizerWithEditing.h:85
std::shared_ptr< glsl::GeometryRenderer > editing_geometry_renderer_ptr_
Definition: VisualizerWithEditing.h:96
std::shared_ptr< const geometry::Geometry > original_geometry_ptr_
Definition: VisualizerWithEditing.h:94
std::shared_ptr< glsl::SelectionPolygonRenderer > selection_polygon_renderer_ptr_
Definition: VisualizerWithEditing.h:87
Definition: VisualizerWithEditing.h:37
void InvalidateSelectionPolygon()
Definition: VisualizerWithEditing.cpp:635
int PickPoint(double x, double y)
Definition: VisualizerWithEditing.cpp:188
double voxel_size_
Definition: VisualizerWithEditing.h:98
void KeyPressCallback(GLFWwindow *window, int key, int scancode, int action, int mods) override
Definition: VisualizerWithEditing.cpp:270
void MouseMoveCallback(GLFWwindow *window, double x, double y) override
Definition: VisualizerWithEditing.cpp:481
bool InitViewControl() override
Function to initialize ViewControl.
Definition: VisualizerWithEditing.cpp:257