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

Public Member Functions

rendering::MatrixInteractorLogicGetMatrixInteractor () override
 
Eigen::Vector3f GetCenterOfRotation () const
 
void SetCenterOfRotation (const Eigen::Vector3f &center)
 
void Mouse (const MouseEvent &e) override
 
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)
 

Protected Types

enum class  State {
  NONE , PAN , DOLLY , ROTATE_XY ,
  ROTATE_Z
}
 

Protected Member Functions

void SetInteractor (rendering::RotationInteractorLogic *r)
 

Protected Attributes

rendering::RotationInteractorLogicinteractor_ = nullptr
 
int mouse_down_x_ = 0
 
int mouse_down_y_ = 0
 
State state_ = State::NONE
 

Member Enumeration Documentation

◆ State

Enumerator
NONE 
PAN 
DOLLY 
ROTATE_XY 
ROTATE_Z 

Member Function Documentation

◆ GetCenterOfRotation()

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

◆ GetMatrixInteractor()

rendering::MatrixInteractorLogic& open3d::visualization::gui::RotationInteractor::GetMatrixInteractor ( )
inlineoverridevirtual

◆ Key()

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

◆ Mouse()

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

◆ SetCenterOfRotation()

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

◆ SetInteractor()

void open3d::visualization::gui::RotationInteractor::SetInteractor ( rendering::RotationInteractorLogic r)
inlineprotected

Field Documentation

◆ interactor_

rendering::RotationInteractorLogic* open3d::visualization::gui::RotationInteractor::interactor_ = nullptr
protected

◆ mouse_down_x_

int open3d::visualization::gui::RotationInteractor::mouse_down_x_ = 0
protected

◆ mouse_down_y_

int open3d::visualization::gui::RotationInteractor::mouse_down_y_ = 0
protected

◆ state_

State open3d::visualization::gui::RotationInteractor::state_ = State::NONE
protected

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