Open3D (C++ API)  0.18.0+252c867
Public Member Functions
open3d::visualization::gui::PickInteractor Class Reference
Inheritance diagram for open3d::visualization::gui::PickInteractor:
open3d::visualization::gui::RotateCameraInteractor open3d::visualization::gui::RotationInteractor open3d::visualization::gui::SceneWidget::MouseInteractor

Public Member Functions

 PickInteractor (rendering::Open3DScene *scene, rendering::Camera *camera)
 
void SetViewSize (const Size &size)
 
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 SetOnInteractorUIUpdated (std::function< void(const std::vector< Eigen::Vector2i > &)> on_ui)
 
void SetOnStartedPolygonPicking (std::function< void()> on_poly_pick)
 
void DoPolygonPick ()
 
void ClearPolygonPick ()
 
void SetNeedsRedraw ()
 
void Mouse (const MouseEvent &e) override
 
void Key (const KeyEvent &e) override
 
- Public Member Functions inherited from open3d::visualization::gui::RotateCameraInteractor
 RotateCameraInteractor (rendering::Open3DScene *scene, rendering::Camera *camera)
 
- Public Member Functions inherited from open3d::visualization::gui::RotationInteractor
rendering::MatrixInteractorLogicGetMatrixInteractor () override
 
Eigen::Vector3f GetCenterOfRotation () const
 
void SetCenterOfRotation (const Eigen::Vector3f &center)
 
- Public Member Functions inherited from open3d::visualization::gui::SceneWidget::MouseInteractor
virtual ~MouseInteractor ()=default
 
virtual bool Tick (const TickEvent &e)
 

Additional Inherited Members

- Protected Types inherited from open3d::visualization::gui::RotationInteractor
enum class  State {
  NONE , PAN , DOLLY , ROTATE_XY ,
  ROTATE_Z
}
 
- Protected Member Functions inherited from open3d::visualization::gui::RotationInteractor
void SetInteractor (rendering::RotationInteractorLogic *r)
 
- Protected Attributes inherited from open3d::visualization::gui::RotationInteractor
rendering::RotationInteractorLogicinteractor_ = nullptr
 
int mouse_down_x_ = 0
 
int mouse_down_y_ = 0
 
State state_ = State::NONE
 

Constructor & Destructor Documentation

◆ PickInteractor()

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

Member Function Documentation

◆ ClearPolygonPick()

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

◆ DoPolygonPick()

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

◆ Key()

void open3d::visualization::gui::PickInteractor::Key ( const KeyEvent e)
inlineoverridevirtual

◆ Mouse()

void open3d::visualization::gui::PickInteractor::Mouse ( const MouseEvent e)
inlineoverridevirtual

◆ SetNeedsRedraw()

void open3d::visualization::gui::PickInteractor::SetNeedsRedraw ( )
inline

◆ SetOnInteractorUIUpdated()

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

◆ SetOnPointsPicked()

void open3d::visualization::gui::PickInteractor::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::PickInteractor::SetOnStartedPolygonPicking ( std::function< void()>  on_poly_pick)
inline

◆ SetPickableGeometry()

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

◆ SetPickablePointSize()

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

◆ SetViewSize()

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

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