#include <VisualizerWithKeyCallback.h>
|
| VisualizerWithKeyCallback () |
|
| ~VisualizerWithKeyCallback () override |
|
| VisualizerWithKeyCallback (const VisualizerWithKeyCallback &)=delete |
|
VisualizerWithKeyCallback & | operator= (const VisualizerWithKeyCallback &)=delete |
|
void | PrintVisualizerHelp () override |
|
void | RegisterKeyCallback (int key, std::function< bool(Visualizer *)> 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) |
|
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 | AddGeometry (std::shared_ptr< const geometry::Geometry > geometry_ptr) |
|
virtual bool | UpdateGeometry () |
|
virtual bool | HasGeometry () const |
|
virtual void | UpdateRender () |
| Function to set the redraw flag as dirty. More...
|
|
virtual void | UpdateWindowTitle () |
|
virtual void | BuildUtilities () |
|
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 |
|
|
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 () |
|
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) |
|
◆ KeyCallbackPair
◆ VisualizerWithKeyCallback() [1/2]
open3d::visualization::VisualizerWithKeyCallback::VisualizerWithKeyCallback |
( |
| ) |
|
◆ ~VisualizerWithKeyCallback()
open3d::visualization::VisualizerWithKeyCallback::~VisualizerWithKeyCallback |
( |
| ) |
|
|
override |
◆ VisualizerWithKeyCallback() [2/2]
◆ KeyPressCallback()
void open3d::visualization::VisualizerWithKeyCallback::KeyPressCallback |
( |
GLFWwindow * |
window, |
|
|
int |
key, |
|
|
int |
scancode, |
|
|
int |
action, |
|
|
int |
mods |
|
) |
| |
|
overrideprotectedvirtual |
◆ operator=()
◆ PrintKeyToString()
std::string open3d::visualization::VisualizerWithKeyCallback::PrintKeyToString |
( |
int |
key | ) |
|
|
protected |
◆ PrintVisualizerHelp()
void open3d::visualization::VisualizerWithKeyCallback::PrintVisualizerHelp |
( |
| ) |
|
|
overridevirtual |
◆ RegisterKeyCallback()
void open3d::visualization::VisualizerWithKeyCallback::RegisterKeyCallback |
( |
int |
key, |
|
|
std::function< bool(Visualizer *)> |
callback |
|
) |
| |
◆ key_to_callback_
std::map<int, std::function<bool(Visualizer *)> > open3d::visualization::VisualizerWithKeyCallback::key_to_callback_ |
|
protected |
The documentation for this class was generated from the following files: