|
| VisualizerWithKeyCallback () |
| Default Constructor. More...
|
|
| ~VisualizerWithKeyCallback () override |
|
| VisualizerWithKeyCallback (const VisualizerWithKeyCallback &)=delete |
|
VisualizerWithKeyCallback & | operator= (const VisualizerWithKeyCallback &)=delete |
|
void | PrintVisualizerHelp () override |
|
void | RegisterKeyCallback (int key, std::function< bool(Visualizer *)> callback) |
|
void | RegisterKeyActionCallback (int key, std::function< bool(Visualizer *, int, int)> callback) |
|
| 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) |
| Function to create a window and initialize GLFW. More...
|
|
void | DestroyVisualizerWindow () |
| Function to destroy a window. More...
|
|
void | RegisterAnimationCallback (std::function< bool(Visualizer *)> callback_func) |
| Function to register a callback function for animation. More...
|
|
void | Run () |
| Function to activate the window. More...
|
|
void | Close () |
| Function to to notify the window to be closed. More...
|
|
bool | WaitEvents () |
| Function to process the event queue and return if the window is closed. More...
|
|
bool | PollEvents () |
|
virtual bool | AddGeometry (std::shared_ptr< const geometry::Geometry > geometry_ptr, bool reset_bounding_box=true) |
| Function to add geometry to the scene and create corresponding shaders. More...
|
|
virtual bool | RemoveGeometry (std::shared_ptr< const geometry::Geometry > geometry_ptr, bool reset_bounding_box=true) |
| Function to remove geometry from the scene. More...
|
|
virtual bool | ClearGeometries () |
|
virtual bool | UpdateGeometry (std::shared_ptr< const geometry::Geometry > geometry_ptr=nullptr) |
| Function to update geometry. More...
|
|
virtual bool | HasGeometry () const |
|
virtual void | UpdateRender () |
| Function to inform render needed to be updated. More...
|
|
virtual void | SetFullScreen (bool fullscreen) |
| Functions to change between fullscreen and windowed modes. More...
|
|
virtual void | ToggleFullScreen () |
|
virtual bool | IsFullScreen () |
|
virtual void | UpdateWindowTitle () |
|
virtual void | BuildUtilities () |
|
ViewControl & | GetViewControl () |
| Function to retrieve the associated ViewControl. More...
|
|
RenderOption & | GetRenderOption () |
| Function to retrieve the associated RenderOption. More...
|
|
std::shared_ptr< geometry::Image > | CaptureScreenFloatBuffer (bool do_render=true) |
| Function to capture screen and store RGB in a float buffer. More...
|
|
void | CaptureScreenImage (const std::string &filename="", bool do_render=true) |
| Function to capture and save a screen image. More...
|
|
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) |
| Function to capture and save local point cloud. More...
|
|
void | CaptureRenderOption (const std::string &filename="") |
|
void | ResetViewPoint (bool reset_bounding_box=false) |
| Function to reset view point. More...
|
|
const std::string & | GetWindowName () const |
|
|
void | KeyPressCallback (GLFWwindow *window, int key, int scancode, int action, int mods) override |
|
std::string | PrintKeyToString (int key) |
|
virtual bool | InitOpenGL () |
| Function to initialize OpenGL. More...
|
|
virtual bool | InitViewControl () |
| Function to initialize ViewControl. More...
|
|
virtual bool | InitRenderOption () |
| Function to initialize RenderOption. More...
|
|
virtual void | Render (bool render_screen=false) |
|
void | CopyViewStatusToClipboard () |
|
void | CopyViewStatusFromClipboard () |
|
virtual void | WindowRefreshCallback (GLFWwindow *window) |
|
virtual void | WindowResizeCallback (GLFWwindow *window, int w, int h) |
|
virtual void | MouseMoveCallback (GLFWwindow *window, double x, double y) |
|
virtual void | MouseScrollCallback (GLFWwindow *window, double x, double y) |
|
virtual void | MouseButtonCallback (GLFWwindow *window, int button, int action, int mods) |
|
virtual void | WindowCloseCallback (GLFWwindow *window) |
| Function to notify the window to be closed. More...
|
|
Visualizer with custom key callack capabilities.