![]() |
SCENE C++ API
2.0.31
|
The general view interface which provides functionality common to all view types. More...
#include <lsview.h>
Public Types | |
enum | ViewType { VIEW_3D = 0, CORRESPONDENCE_VIEW = 1, QUICK_VIEW = 3, PLANAR_VIEW = 4 } |
The list of supported view types. More... | |
Public Member Functions | |
bool | isOffscreen () const |
Determines whether the view is an offscreen view. More... | |
ViewType | getViewType () const |
Gets the view type of the view. More... | |
unsigned | getViewSizeX () |
Get the size of the view in x-direction. More... | |
unsigned | getViewSizeY () |
Get the size of the view in y-direction. More... | |
ref_ptr< LSObject > | getVisualizedObject () const |
Gets the object which is being visualized by the view. More... | |
Eigen::Vector3d | pickScanPoint (const Eigen::Vector2ui &viewPoint) |
Pick a scan point from the current view. More... | |
Public Attributes | |
Signals | |
LSSignal< ref_ptr< LSMouseEvent > > | onMouseLeftButtonDown |
Dispatched when the left mouse button is pushed down in the view. More... | |
LSSignal< ref_ptr< LSMouseEvent > > | onMouseLeftButtonUp |
Dispatched when the left mouse button is released in the view. More... | |
LSSignal< ref_ptr< LSMouseEvent > > | onMouseLeftButtonDoubleClick |
Dispatched when the left mouse button is double-clicked in the view. More... | |
LSSignal< ref_ptr< LSMouseEvent > > | onMouseRightButtonDown |
Dispatched when the right mouse button is pushed down in the view. More... | |
LSSignal< ref_ptr< LSMouseEvent > > | onMouseRightButtonUp |
Dispatched when the right mouse button is released in the view. More... | |
LSSignal< ref_ptr< LSMouseEvent > > | onMouseMiddleButtonDown |
Dispatched when the middle mouse button is pushed down in the view. More... | |
LSSignal< ref_ptr< LSMouseEvent > > | onMouseMiddleButtonUp |
Dispatched when the middle mouse button is released in the view. More... | |
LSSignal< ref_ptr< LSMouseEvent > > | onMouseMoved |
Dispatched when the mouse is moved in the view. More... | |
LSSignal< ref_ptr< LSMouseWheelEvent > > | onMouseWheelMoved |
Dispatched when the mouse wheel is moved in the view. More... | |
LSSignal< ref_ptr< LSKeyEvent > > | onKeyDown |
Dispatched when a keyboard key is pushed down in the view. More... | |
LSSignal< ref_ptr< LSKeyEvent > > | onKeyUp |
Dispatched when a keyboard button is released in the view. More... | |
Additional Inherited Members | |
![]() | |
void | ref () const |
Increments the internal reference counter. More... | |
void | unref () const |
Decrements the internal reference counter. More... | |
The general view interface which provides functionality common to all view types.
enum ViewType |
bool isOffscreen | ( | ) | const |
Determines whether the view is an offscreen view.
ViewType getViewType | ( | ) | const |
Gets the view type of the view.
unsigned getViewSizeX | ( | ) |
Get the size of the view in x-direction.
unsigned getViewSizeY | ( | ) |
Get the size of the view in y-direction.
Gets the object which is being visualized by the view.
Eigen::Vector3d pickScanPoint | ( | const Eigen::Vector2ui & | viewPoint | ) |
Pick a scan point from the current view.
Note: The point position is given in global coordinates.
viewPoint | The view point at which to pick. |
LSSignal<ref_ptr<LSMouseEvent> > onMouseLeftButtonDown |
Dispatched when the left mouse button is pushed down in the view.
LSSignal<ref_ptr<LSMouseEvent> > onMouseLeftButtonUp |
Dispatched when the left mouse button is released in the view.
LSSignal<ref_ptr<LSMouseEvent> > onMouseLeftButtonDoubleClick |
Dispatched when the left mouse button is double-clicked in the view.
LSSignal<ref_ptr<LSMouseEvent> > onMouseRightButtonDown |
Dispatched when the right mouse button is pushed down in the view.
LSSignal<ref_ptr<LSMouseEvent> > onMouseRightButtonUp |
Dispatched when the right mouse button is released in the view.
LSSignal<ref_ptr<LSMouseEvent> > onMouseMiddleButtonDown |
Dispatched when the middle mouse button is pushed down in the view.
LSSignal<ref_ptr<LSMouseEvent> > onMouseMiddleButtonUp |
Dispatched when the middle mouse button is released in the view.
LSSignal<ref_ptr<LSMouseEvent> > onMouseMoved |
Dispatched when the mouse is moved in the view.
LSSignal<ref_ptr<LSMouseWheelEvent> > onMouseWheelMoved |
Dispatched when the mouse wheel is moved in the view.
LSSignal<ref_ptr<LSKeyEvent> > onKeyDown |
Dispatched when a keyboard key is pushed down in the view.
LSSignal<ref_ptr<LSKeyEvent> > onKeyUp |
Dispatched when a keyboard button is released in the view.