#include <VisualizerWithEditing.h>
|
| VisualizerWithEditing (double voxel_size=-1.0, bool use_dialog=true, const std::string &directory="") |
|
| ~VisualizerWithEditing () override |
|
| VisualizerWithEditing (const VisualizerWithEditing &)=delete |
|
VisualizerWithEditing & | operator= (const VisualizerWithEditing &)=delete |
|
bool | AddGeometry (std::shared_ptr< const geometry::Geometry > geometry_ptr) override |
|
void | PrintVisualizerHelp () override |
|
void | UpdateWindowTitle () override |
|
void | BuildUtilities () override |
|
int | PickPoint (double x, double y) |
|
std::vector< size_t > & | GetPickedPoints () |
|
| Visualizer () |
|
virtual | ~Visualizer () |
|
| Visualizer (Visualizer &&)=delete |
|
| Visualizer (const Visualizer &)=delete |
|
Visualizer & | operator= (const Visualizer &)=delete |
|
bool | CreateVisualizerWindow (const std::string &window_name="Open3D", const int width=640, const int height=480, const int left=50, const int top=50, const bool visible=true) |
|
void | DestroyVisualizerWindow () |
|
void | RegisterAnimationCallback (std::function< bool(Visualizer *)> callback_func) |
|
void | Run () |
|
void | Close () |
| Function to to notify the window to be closed. More...
|
|
bool | WaitEvents () |
|
bool | PollEvents () |
|
virtual bool | UpdateGeometry () |
|
virtual bool | HasGeometry () const |
|
virtual void | UpdateRender () |
| Function to set the redraw flag as dirty. More...
|
|
ViewControl & | GetViewControl () |
|
RenderOption & | GetRenderOption () |
|
std::shared_ptr< geometry::Image > | CaptureScreenFloatBuffer (bool do_render=true) |
|
void | CaptureScreenImage (const std::string &filename="", bool do_render=true) |
|
std::shared_ptr< geometry::Image > | CaptureDepthFloatBuffer (bool do_render=true) |
|
void | CaptureDepthImage (const std::string &filename="", bool do_render=true, double depth_scale=1000.0) |
|
void | CaptureDepthPointCloud (const std::string &filename="", bool do_render=true, bool convert_to_world_coordinate=false) |
|
void | CaptureRenderOption (const std::string &filename="") |
|
void | ResetViewPoint (bool reset_bounding_box=false) |
|
const std::string & | GetWindowName () const |
|
|
bool | InitViewControl () override |
| Function to initialize ViewControl. More...
|
|
bool | InitRenderOption () override |
| Function to initialize RenderOption. More...
|
|
void | WindowResizeCallback (GLFWwindow *window, int w, int h) override |
|
void | MouseMoveCallback (GLFWwindow *window, double x, double y) override |
|
void | MouseScrollCallback (GLFWwindow *window, double x, double y) override |
|
void | MouseButtonCallback (GLFWwindow *window, int button, int action, int mods) override |
|
void | KeyPressCallback (GLFWwindow *window, int key, int scancode, int action, int mods) override |
|
void | InvalidateSelectionPolygon () |
|
void | InvalidatePicking () |
|
void | SaveCroppingResult (const std::string &filename="") |
|
virtual bool | InitOpenGL () |
| Function to initialize OpenGL. More...
|
|
virtual void | Render () |
|
void | CopyViewStatusToClipboard () |
|
void | CopyViewStatusFromClipboard () |
|
virtual void | WindowRefreshCallback (GLFWwindow *window) |
|
virtual void | WindowCloseCallback (GLFWwindow *window) |
|
◆ SelectionMode
Enumerator |
---|
None | |
Rectangle | |
Polygon | |
◆ VisualizerWithEditing() [1/2]
open3d::visualization::VisualizerWithEditing::VisualizerWithEditing |
( |
double |
voxel_size = -1.0 , |
|
|
bool |
use_dialog = true , |
|
|
const std::string & |
directory = "" |
|
) |
| |
|
inline |
◆ ~VisualizerWithEditing()
open3d::visualization::VisualizerWithEditing::~VisualizerWithEditing |
( |
| ) |
|
|
inlineoverride |
◆ VisualizerWithEditing() [2/2]
◆ AddGeometry()
bool open3d::visualization::VisualizerWithEditing::AddGeometry |
( |
std::shared_ptr< const geometry::Geometry > |
geometry_ptr | ) |
|
|
overridevirtual |
Function to add geometry to the scene and create corresponding shaders
- After calling this function, the Visualizer owns the geometry object.
- This function MUST be called after CreateVisualizerWindow().
- This function returns FALSE when the geometry is of an unsupported type.
- If an added geometry is changed, the behavior of Visualizer is undefined. Programmers are responsible for calling UpdateGeometry() to notify the Visualizer that the geometry has been changed and the Visualizer should be updated accordingly.
Reimplemented from open3d::visualization::Visualizer.
◆ BuildUtilities()
void open3d::visualization::VisualizerWithEditing::BuildUtilities |
( |
| ) |
|
|
overridevirtual |
◆ GetPickedPoints()
std::vector< size_t > & open3d::visualization::VisualizerWithEditing::GetPickedPoints |
( |
| ) |
|
◆ InitRenderOption()
bool open3d::visualization::VisualizerWithEditing::InitRenderOption |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ InitViewControl()
bool open3d::visualization::VisualizerWithEditing::InitViewControl |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ InvalidatePicking()
void open3d::visualization::VisualizerWithEditing::InvalidatePicking |
( |
| ) |
|
|
protected |
◆ InvalidateSelectionPolygon()
void open3d::visualization::VisualizerWithEditing::InvalidateSelectionPolygon |
( |
| ) |
|
|
protected |
◆ KeyPressCallback()
void open3d::visualization::VisualizerWithEditing::KeyPressCallback |
( |
GLFWwindow * |
window, |
|
|
int |
key, |
|
|
int |
scancode, |
|
|
int |
action, |
|
|
int |
mods |
|
) |
| |
|
overrideprotectedvirtual |
◆ MouseButtonCallback()
void open3d::visualization::VisualizerWithEditing::MouseButtonCallback |
( |
GLFWwindow * |
window, |
|
|
int |
button, |
|
|
int |
action, |
|
|
int |
mods |
|
) |
| |
|
overrideprotectedvirtual |
◆ MouseMoveCallback()
void open3d::visualization::VisualizerWithEditing::MouseMoveCallback |
( |
GLFWwindow * |
window, |
|
|
double |
x, |
|
|
double |
y |
|
) |
| |
|
overrideprotectedvirtual |
◆ MouseScrollCallback()
void open3d::visualization::VisualizerWithEditing::MouseScrollCallback |
( |
GLFWwindow * |
window, |
|
|
double |
x, |
|
|
double |
y |
|
) |
| |
|
overrideprotectedvirtual |
◆ operator=()
◆ PickPoint()
int open3d::visualization::VisualizerWithEditing::PickPoint |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
◆ PrintVisualizerHelp()
void open3d::visualization::VisualizerWithEditing::PrintVisualizerHelp |
( |
| ) |
|
|
overridevirtual |
◆ SaveCroppingResult()
void open3d::visualization::VisualizerWithEditing::SaveCroppingResult |
( |
const std::string & |
filename = "" | ) |
|
|
protected |
◆ UpdateWindowTitle()
void open3d::visualization::VisualizerWithEditing::UpdateWindowTitle |
( |
| ) |
|
|
overridevirtual |
◆ WindowResizeCallback()
void open3d::visualization::VisualizerWithEditing::WindowResizeCallback |
( |
GLFWwindow * |
window, |
|
|
int |
w, |
|
|
int |
h |
|
) |
| |
|
overrideprotectedvirtual |
◆ crop_action_count_
unsigned int open3d::visualization::VisualizerWithEditing::crop_action_count_ = 0 |
|
protected |
◆ default_directory_
std::string open3d::visualization::VisualizerWithEditing::default_directory_ |
|
protected |
◆ editing_geometry_ptr_
std::shared_ptr<geometry::Geometry> open3d::visualization::VisualizerWithEditing::editing_geometry_ptr_ |
|
protected |
◆ editing_geometry_renderer_ptr_
std::shared_ptr<glsl::GeometryRenderer> open3d::visualization::VisualizerWithEditing::editing_geometry_renderer_ptr_ |
|
protected |
◆ original_geometry_ptr_
std::shared_ptr<const geometry::Geometry> open3d::visualization::VisualizerWithEditing::original_geometry_ptr_ |
|
protected |
◆ pointcloud_picker_ptr_
std::shared_ptr<PointCloudPicker> open3d::visualization::VisualizerWithEditing::pointcloud_picker_ptr_ |
|
protected |
◆ pointcloud_picker_renderer_ptr_
◆ selection_mode_
◆ selection_polygon_ptr_
std::shared_ptr<SelectionPolygon> open3d::visualization::VisualizerWithEditing::selection_polygon_ptr_ |
|
protected |
◆ selection_polygon_renderer_ptr_
◆ use_dialog_
bool open3d::visualization::VisualizerWithEditing::use_dialog_ = true |
|
protected |
◆ voxel_size_
double open3d::visualization::VisualizerWithEditing::voxel_size_ = -1.0 |
|
protected |
The documentation for this class was generated from the following files: