Open3D (C++ API)  0.17.0
Public Member Functions
open3d::visualization::gui::Interactors Class Reference

Public Member Functions

 Interactors (rendering::Open3DScene *scene, rendering::Camera *camera)
 
void SetViewSize (const Size &size)
 
void SetBoundingBox (const geometry::AxisAlignedBoundingBox &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)
 

Constructor & Destructor Documentation

◆ Interactors()

open3d::visualization::gui::Interactors::Interactors ( rendering::Open3DScene scene,
rendering::Camera camera 
)
inline

Member Function Documentation

◆ ClearPolygonPick()

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

◆ DoPolygonPick()

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

◆ GetCenterOfRotation()

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

◆ GetControls()

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

◆ Key()

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

◆ Mouse()

void open3d::visualization::gui::Interactors::Mouse ( const MouseEvent e)
inline

◆ SetBoundingBox()

void open3d::visualization::gui::Interactors::SetBoundingBox ( const geometry::AxisAlignedBoundingBox bounds)
inline

◆ SetCenterOfRotation()

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

◆ SetControls()

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

◆ SetOnInteractorUIUpdated()

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

◆ SetOnPointsPicked()

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

◆ SetOnStartedPolygonPicking()

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

◆ SetOnSunLightChanged()

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

◆ SetPickableGeometry()

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

◆ SetPickablePointSize()

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

◆ SetPickNeedsRedraw()

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

◆ SetSunInteractorEnabled()

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

◆ SetViewSize()

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

◆ Tick()

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

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