Open3D (C++ API)  0.12.0
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 SetNeedsRedraw ()
 
void Mouse (const MouseEvent &e) override
 
- Public Member Functions inherited from open3d::visualization::gui::RotateCameraInteractor
 RotateCameraInteractor (rendering::Camera *camera)
 
- Public Member Functions inherited from open3d::visualization::gui::RotationInteractor
rendering::MatrixInteractorLogicGetMatrixInteractor () override
 
void SetCenterOfRotation (const Eigen::Vector3f &center)
 
void Key (const KeyEvent &e) override
 
- 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  State {
  State::NONE, State::PAN, State::DOLLY, State::ROTATE_XY,
  State::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

◆ Mouse()

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

◆ SetNeedsRedraw()

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

◆ SetOnPointsPicked()

void open3d::visualization::gui::PickInteractor::SetOnPointsPicked ( )
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: