Open3D (C++ API)  0.18.0+fcf98ee
Public Member Functions
open3d::visualization::rendering::IBLRotationInteractorLogic Class Reference

#include <IBLRotationInteractorLogic.h>

Inheritance diagram for open3d::visualization::rendering::IBLRotationInteractorLogic:
open3d::visualization::rendering::MatrixInteractorLogic

Public Member Functions

 IBLRotationInteractorLogic (Scene *scene, Camera *camera)
 
void Rotate (int dx, int dy) override
 
void RotateZ (int dx, int dy) override
 Rotates about the forward axis of the matrix. More...
 
void StartMouseDrag ()
 
void UpdateMouseDragUI ()
 
void EndMouseDrag ()
 
Camera::Transform GetCurrentRotation () const
 
- Public Member Functions inherited from open3d::visualization::rendering::MatrixInteractorLogic
virtual ~MatrixInteractorLogic ()
 
void SetViewSize (int width, int height)
 
int GetViewWidth () const
 
int GetViewHeight () const
 
const geometry::AxisAlignedBoundingBoxGetBoundingBox () const
 
virtual void SetBoundingBox (const geometry::AxisAlignedBoundingBox &bounds)
 
Eigen::Vector3f GetCenterOfRotation () const
 
void SetMouseDownInfo (const Camera::Transform &matrix, const Eigen::Vector3f &center_of_rotation)
 
const Camera::TransformGetMatrix () const
 
virtual void RotateWorld (int dx, int dy, const Eigen::Vector3f &x_axis, const Eigen::Vector3f &y_axis)
 
virtual void RotateZWorld (int dx, int dy, const Eigen::Vector3f &forward)
 
virtual void Dolly (float dy, DragType drag_type)
 
virtual void Dolly (float z_dist, Camera::Transform matrix)
 

Additional Inherited Members

- Public Types inherited from open3d::visualization::rendering::MatrixInteractorLogic
enum class  DragType { MOUSE , WHEEL , TWO_FINGER }
 
- Protected Member Functions inherited from open3d::visualization::rendering::MatrixInteractorLogic
void SetMatrix (const Camera::Transform &matrix)
 
float CalcRotateRadians (int dx, int dy)
 
float CalcRotateZRadians (int dx, int dy)
 
float CalcDollyDist (float dy, DragType drag_type, const Camera::Transform &matrix)
 
- Protected Attributes inherited from open3d::visualization::rendering::MatrixInteractorLogic
int view_width_ = 1
 
int view_height_ = 1
 
double model_size_ = 20.0
 
geometry::AxisAlignedBoundingBox model_bounds_
 
Eigen::Vector3f center_of_rotation_
 
Camera::Transform matrix_at_mouse_down_
 
Eigen::Vector3f center_of_rotation_at_mouse_down_
 

Constructor & Destructor Documentation

◆ IBLRotationInteractorLogic()

open3d::visualization::rendering::IBLRotationInteractorLogic::IBLRotationInteractorLogic ( Scene scene,
Camera camera 
)

Member Function Documentation

◆ EndMouseDrag()

void open3d::visualization::rendering::IBLRotationInteractorLogic::EndMouseDrag ( )

◆ GetCurrentRotation()

Camera::Transform open3d::visualization::rendering::IBLRotationInteractorLogic::GetCurrentRotation ( ) const

◆ Rotate()

void open3d::visualization::rendering::IBLRotationInteractorLogic::Rotate ( int  dx,
int  dy 
)
overridevirtual

Rotates about an axis defined by dx * matrixLeft, dy * matrixUp. dy is assumed to be in window-style coordinates, that is, going up produces a negative dy. The axis goes through the center of rotation.

Reimplemented from open3d::visualization::rendering::MatrixInteractorLogic.

◆ RotateZ()

void open3d::visualization::rendering::IBLRotationInteractorLogic::RotateZ ( int  dx,
int  dy 
)
overridevirtual

Rotates about the forward axis of the matrix.

Reimplemented from open3d::visualization::rendering::MatrixInteractorLogic.

◆ StartMouseDrag()

void open3d::visualization::rendering::IBLRotationInteractorLogic::StartMouseDrag ( )

◆ UpdateMouseDragUI()

void open3d::visualization::rendering::IBLRotationInteractorLogic::UpdateMouseDragUI ( )

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