Open3D (C++ API)  0.11.0
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::MouseInteractor open3d::visualization::gui::RotateCameraInteractor open3d::visualization::gui::RotateModelInteractor

Public Member Functions

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

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