Open3D (C++ API)
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
open3d::gui::RotationInteractor Class Reference
Inheritance diagram for open3d::gui::RotationInteractor:
open3d::gui::MouseInteractor open3d::gui::RotateCameraInteractor open3d::gui::RotateModelInteractor

Public Member Functions

visualization::MatrixInteractorLogicGetMatrixInteractor () override
 
void SetCenterOfRotation (const Eigen::Vector3f &center)
 
void Mouse (const MouseEvent &e) override
 
void Key (const KeyEvent &e) override
 
- Public Member Functions inherited from open3d::gui::MouseInteractor
virtual ~MouseInteractor ()=default
 
virtual bool Tick (const TickEvent &e)
 

Protected Types

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

Protected Member Functions

void SetInteractor (visualization::RotationInteractorLogic *r)
 

Protected Attributes

visualization::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

◆ GetMatrixInteractor()

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

◆ Key()

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

◆ Mouse()

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

◆ SetCenterOfRotation()

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

◆ SetInteractor()

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

Field Documentation

◆ interactor_

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

◆ mouse_down_x_

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

◆ mouse_down_y_

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

◆ state_

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

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