![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <visualization_trampoline.h>


Public Member Functions | |
| void | Reset () override |
| void | ChangeFieldOfView (double step) override |
| void | ChangeWindowSize (int width, int height) override |
| void | Scale (double scale) override |
| void | Rotate (double x, double y, double xo, double yo) override |
| Function to process rotation. More... | |
| void | Translate (double x, double y, double xo, double yo) override |
| Function to process translation. More... | |
Public Member Functions inherited from cloudViewer::visualization::ViewControl | |
| virtual | ~ViewControl () |
| void | SetViewMatrices (const Eigen::Matrix4d &model_matrix=Eigen::Matrix4d::Identity()) |
| bool | ConvertToViewParameters (ViewParameters &status) const |
| Function to get equivalent view parameters (support orthogonal) More... | |
| bool | ConvertFromViewParameters (const ViewParameters &status) |
| void | SetZoom (const double zoom) |
| void | SetUp (const Eigen::Vector3d &up) |
| void | SetFront (const Eigen::Vector3d &front) |
| void | SetLookat (const Eigen::Vector3d &lookat) |
| bool | ConvertToPinholeCameraParameters (camera::PinholeCameraParameters ¶meters) |
| bool | ConvertFromPinholeCameraParameters (const camera::PinholeCameraParameters ¶meters, bool allow_arbitrary=false) |
| ProjectionType | GetProjectionType () const |
| void | SetProjectionParameters () |
| virtual void | CameraLocalTranslate (double forward, double right, double up) |
| virtual void | CameraLocalRotate (double x, double y, double xo=0.0, double yo=0.0) |
| virtual void | ResetCameraLocalRotate () |
| virtual void | Roll (double x) |
| const ccBBox & | GetBoundingBox () const |
| void | ResetBoundingBox () |
| void | FitInGeometry (const ccHObject &geometry) |
| double | GetFieldOfView () const |
| Function to get field of view. More... | |
| gl_util::GLMatrix4f | GetMVPMatrix () const |
| gl_util::GLMatrix4f | GetProjectionMatrix () const |
| gl_util::GLMatrix4f | GetViewMatrix () const |
| gl_util::GLMatrix4f | GetModelMatrix () const |
| gl_util::GLVector3f | GetEye () const |
| gl_util::GLVector3f | GetLookat () const |
| gl_util::GLVector3f | GetUp () const |
| gl_util::GLVector3f | GetFront () const |
| gl_util::GLVector3f | GetRight () const |
| int | GetWindowWidth () const |
| int | GetWindowHeight () const |
| double | GetZNear () const |
| double | GetZFar () const |
| void | SetConstantZNear (double z_near) |
| void | SetConstantZFar (double z_far) |
| void | UnsetConstantZNear () |
| void | UnsetConstantZFar () |
Definition at line 49 of file visualization_trampoline.h.
|
inlineoverridevirtual |
Function to change field of view.
| step | The step to change field of view. |
Reimplemented from cloudViewer::visualization::ViewControl.
Definition at line 53 of file visualization_trampoline.h.
|
inlineoverridevirtual |
Reimplemented from cloudViewer::visualization::ViewControl.
Definition at line 56 of file visualization_trampoline.h.
|
inlineoverridevirtual |
Reimplemented from cloudViewer::visualization::ViewControl.
Definition at line 52 of file visualization_trampoline.h.
References Reset().
|
inlineoverridevirtual |
Function to process rotation.
Coordinates are measured in screen coordinates relative to the top-left corner of the window client area.
| x | The distance the mouse cursor has moved in x-axis. |
| y | The distance the mouse cursor has moved in y-axis. |
| xo | Original point coordinate of the mouse in x-axis. |
| yo | Original point coordinate of the mouse in y-axis. |
Reimplemented from cloudViewer::visualization::ViewControl.
Definition at line 63 of file visualization_trampoline.h.
|
inlineoverridevirtual |
Function to process scaling
| scale | is the scale ratio. |
Reimplemented from cloudViewer::visualization::ViewControl.
Definition at line 60 of file visualization_trampoline.h.
|
inlineoverridevirtual |
Function to process translation.
Coordinates are measured in screen coordinates relative to the top-left corner of the window client area.
| x | Distance the mouse cursor has moved in x-axis. |
| y | Distance the mouse cursor has moved in y-axis. |
| xo | Original point coordinate of the mouse in x-axis. |
| yo | Original point coordinate of the mouse in y-axis. |
Reimplemented from cloudViewer::visualization::ViewControl.
Definition at line 66 of file visualization_trampoline.h.