ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cloudViewer::visualization::gui::Interactors Class Reference

Public Member Functions

 Interactors (rendering::CloudViewerScene *scene, rendering::Camera *camera)
 
void SetViewSize (const Size &size)
 
void SetBoundingBox (const ccBBox &bounds)
 
Eigen::Vector3f GetCenterOfRotation () const
 
void SetCenterOfRotation (const Eigen::Vector3f &center)
 
void SetOnSunLightChanged (std::function< void(const Eigen::Vector3f &)> onChanged)
 
void SetSunInteractorEnabled (bool enable)
 
void SetPickableGeometry (const std::vector< SceneWidget::PickableGeometry > &geometry)
 
void SetPickablePointSize (int px)
 
void SetOnPointsPicked (std::function< void(const std::map< std::string, std::vector< std::pair< size_t, Eigen::Vector3d >>> &, int)> on_picked)
 
void SetOnStartedPolygonPicking (std::function< void()> on_poly_pick)
 
void DoPolygonPick ()
 
void ClearPolygonPick ()
 
void SetPickNeedsRedraw ()
 
void SetOnInteractorUIUpdated (std::function< void(const std::vector< Eigen::Vector2i > &)> on_ui)
 
SceneWidget::Controls GetControls () const
 
void SetControls (SceneWidget::Controls mode)
 
void Mouse (const MouseEvent &e)
 
void Key (const KeyEvent &e)
 
Widget::DrawResult Tick (const TickEvent &e)
 

Detailed Description

Definition at line 558 of file SceneWidget.cpp.

Constructor & Destructor Documentation

◆ Interactors()

cloudViewer::visualization::gui::Interactors::Interactors ( rendering::CloudViewerScene scene,
rendering::Camera camera 
)
inline

Definition at line 560 of file SceneWidget.cpp.

Member Function Documentation

◆ ClearPolygonPick()

void cloudViewer::visualization::gui::Interactors::ClearPolygonPick ( )
inline

Definition at line 638 of file SceneWidget.cpp.

◆ DoPolygonPick()

void cloudViewer::visualization::gui::Interactors::DoPolygonPick ( )
inline

Definition at line 636 of file SceneWidget.cpp.

◆ GetCenterOfRotation()

Eigen::Vector3f cloudViewer::visualization::gui::Interactors::GetCenterOfRotation ( ) const
inline

Definition at line 594 of file SceneWidget.cpp.

◆ GetControls()

SceneWidget::Controls cloudViewer::visualization::gui::Interactors::GetControls ( ) const
inline

Definition at line 647 of file SceneWidget.cpp.

◆ Key()

void cloudViewer::visualization::gui::Interactors::Key ( const KeyEvent e)
inline

Definition at line 711 of file SceneWidget.cpp.

◆ Mouse()

◆ SetBoundingBox()

void cloudViewer::visualization::gui::Interactors::SetBoundingBox ( const ccBBox bounds)
inline

Definition at line 584 of file SceneWidget.cpp.

◆ SetCenterOfRotation()

void cloudViewer::visualization::gui::Interactors::SetCenterOfRotation ( const Eigen::Vector3f &  center)
inline

Definition at line 602 of file SceneWidget.cpp.

◆ SetControls()

void cloudViewer::visualization::gui::Interactors::SetControls ( SceneWidget::Controls  mode)
inline

Definition at line 665 of file SceneWidget.cpp.

◆ SetOnInteractorUIUpdated()

void cloudViewer::visualization::gui::Interactors::SetOnInteractorUIUpdated ( std::function< void(const std::vector< Eigen::Vector2i > &)>  on_ui)
inline

Definition at line 642 of file SceneWidget.cpp.

◆ SetOnPointsPicked()

void cloudViewer::visualization::gui::Interactors::SetOnPointsPicked ( std::function< void(const std::map< std::string, std::vector< std::pair< size_t, Eigen::Vector3d >>> &, int)>  on_picked)
inline

Definition at line 623 of file SceneWidget.cpp.

◆ SetOnStartedPolygonPicking()

void cloudViewer::visualization::gui::Interactors::SetOnStartedPolygonPicking ( std::function< void()>  on_poly_pick)
inline

Definition at line 632 of file SceneWidget.cpp.

◆ SetOnSunLightChanged()

void cloudViewer::visualization::gui::Interactors::SetOnSunLightChanged ( std::function< void(const Eigen::Vector3f &)>  onChanged)
inline

Definition at line 607 of file SceneWidget.cpp.

◆ SetPickableGeometry()

void cloudViewer::visualization::gui::Interactors::SetPickableGeometry ( const std::vector< SceneWidget::PickableGeometry > &  geometry)
inline

Definition at line 616 of file SceneWidget.cpp.

◆ SetPickablePointSize()

void cloudViewer::visualization::gui::Interactors::SetPickablePointSize ( int  px)
inline

Definition at line 621 of file SceneWidget.cpp.

◆ SetPickNeedsRedraw()

void cloudViewer::visualization::gui::Interactors::SetPickNeedsRedraw ( )
inline

Definition at line 640 of file SceneWidget.cpp.

◆ SetSunInteractorEnabled()

void cloudViewer::visualization::gui::Interactors::SetSunInteractorEnabled ( bool  enable)
inline

Definition at line 612 of file SceneWidget.cpp.

◆ SetViewSize()

void cloudViewer::visualization::gui::Interactors::SetViewSize ( const Size size)
inline

Definition at line 573 of file SceneWidget.cpp.

References size.

◆ Tick()

Widget::DrawResult cloudViewer::visualization::gui::Interactors::Tick ( const TickEvent e)
inline

The documentation for this class was generated from the following file: