#include <ViewControl.h>
◆ ProjectionType
Enumerator |
---|
Perspective | |
Orthogonal | |
◆ ChangeFieldOfView()
void open3d::visualization::ViewControl::ChangeFieldOfView |
( |
double |
step | ) |
|
|
virtual |
◆ ChangeWindowSize()
void open3d::visualization::ViewControl::ChangeWindowSize |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
virtual |
◆ ConvertFromPinholeCameraParameters()
◆ ConvertFromViewParameters()
bool open3d::visualization::ViewControl::ConvertFromViewParameters |
( |
const ViewParameters & |
status | ) |
|
◆ ConvertToPinholeCameraParameters()
Function to get equivalent pinhole camera parameters (does not support orthogonal since it is not a real camera view)
◆ ConvertToViewParameters()
bool open3d::visualization::ViewControl::ConvertToViewParameters |
( |
ViewParameters & |
status | ) |
const |
Function to get equivalent view parameters (support orthogonal)
◆ FitInGeometry()
void open3d::visualization::ViewControl::FitInGeometry |
( |
const geometry::Geometry & |
geometry | ) |
|
|
inline |
◆ GetBoundingBox()
const BoundingBox& open3d::visualization::ViewControl::GetBoundingBox |
( |
| ) |
const |
|
inline |
◆ GetEye()
◆ GetFieldOfView()
double open3d::visualization::ViewControl::GetFieldOfView |
( |
| ) |
const |
|
inline |
◆ GetFront()
◆ GetLookat()
◆ GetModelMatrix()
◆ GetMVPMatrix()
◆ GetProjectionMatrix()
◆ GetProjectionType()
◆ GetRight()
◆ GetUp()
◆ GetViewMatrix()
◆ GetWindowHeight()
int open3d::visualization::ViewControl::GetWindowHeight |
( |
| ) |
const |
|
inline |
◆ GetWindowWidth()
int open3d::visualization::ViewControl::GetWindowWidth |
( |
| ) |
const |
|
inline |
◆ GetZFar()
double open3d::visualization::ViewControl::GetZFar |
( |
| ) |
const |
|
inline |
◆ GetZNear()
double open3d::visualization::ViewControl::GetZNear |
( |
| ) |
const |
|
inline |
◆ Reset()
void open3d::visualization::ViewControl::Reset |
( |
| ) |
|
|
virtual |
◆ ResetBoundingBox()
void open3d::visualization::ViewControl::ResetBoundingBox |
( |
| ) |
|
|
inline |
◆ Roll()
void open3d::visualization::ViewControl::Roll |
( |
double |
x | ) |
|
|
virtual |
- Parameters
-
x | is the distances the mouse cursor has moved. Coordinates are measured in screen coordinates relative to the top-left corner of the window client area. |
◆ Rotate()
void open3d::visualization::ViewControl::Rotate |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
xo = 0.0 , |
|
|
double |
yo = 0.0 |
|
) |
| |
|
virtual |
◆ Scale()
void open3d::visualization::ViewControl::Scale |
( |
double |
scale | ) |
|
|
virtual |
◆ SetProjectionParameters()
void open3d::visualization::ViewControl::SetProjectionParameters |
( |
| ) |
|
◆ SetViewMatrices()
void open3d::visualization::ViewControl::SetViewMatrices |
( |
const Eigen::Matrix4d & |
model_matrix = Eigen::Matrix4d::Identity() | ) |
|
Function to set view points This function obtains OpenGL context and calls OpenGL functions to set the view point.
◆ Translate()
void open3d::visualization::ViewControl::Translate |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
xo = 0.0 , |
|
|
double |
yo = 0.0 |
|
) |
| |
|
virtual |
◆ aspect_
double open3d::visualization::ViewControl::aspect_ |
|
protected |
◆ bounding_box_
BoundingBox open3d::visualization::ViewControl::bounding_box_ |
|
protected |
◆ distance_
double open3d::visualization::ViewControl::distance_ |
|
protected |
◆ eye_
Eigen::Vector3d open3d::visualization::ViewControl::eye_ |
|
protected |
◆ field_of_view_
double open3d::visualization::ViewControl::field_of_view_ |
|
protected |
◆ FIELD_OF_VIEW_DEFAULT
const double open3d::visualization::ViewControl::FIELD_OF_VIEW_DEFAULT = 60.0 |
|
static |
◆ FIELD_OF_VIEW_MAX
const double open3d::visualization::ViewControl::FIELD_OF_VIEW_MAX = 90.0 |
|
static |
◆ FIELD_OF_VIEW_MIN
const double open3d::visualization::ViewControl::FIELD_OF_VIEW_MIN = 5.0 |
|
static |
◆ FIELD_OF_VIEW_STEP
const double open3d::visualization::ViewControl::FIELD_OF_VIEW_STEP = 5.0 |
|
static |
◆ front_
Eigen::Vector3d open3d::visualization::ViewControl::front_ |
|
protected |
◆ lookat_
Eigen::Vector3d open3d::visualization::ViewControl::lookat_ |
|
protected |
◆ model_matrix_
◆ MVP_matrix_
◆ projection_matrix_
◆ right_
Eigen::Vector3d open3d::visualization::ViewControl::right_ |
|
protected |
◆ ROTATION_RADIAN_PER_PIXEL
const double open3d::visualization::ViewControl::ROTATION_RADIAN_PER_PIXEL = 0.003 |
|
static |
◆ up_
Eigen::Vector3d open3d::visualization::ViewControl::up_ |
|
protected |
◆ view_matrix_
◆ view_ratio_
double open3d::visualization::ViewControl::view_ratio_ |
|
protected |
◆ window_height_
int open3d::visualization::ViewControl::window_height_ = 0 |
|
protected |
◆ window_width_
int open3d::visualization::ViewControl::window_width_ = 0 |
|
protected |
◆ z_far_
double open3d::visualization::ViewControl::z_far_ |
|
protected |
◆ z_near_
double open3d::visualization::ViewControl::z_near_ |
|
protected |
◆ zoom_
double open3d::visualization::ViewControl::zoom_ |
|
protected |
◆ ZOOM_DEFAULT
const double open3d::visualization::ViewControl::ZOOM_DEFAULT = 0.7 |
|
static |
◆ ZOOM_MAX
const double open3d::visualization::ViewControl::ZOOM_MAX = 2.0 |
|
static |
◆ ZOOM_MIN
const double open3d::visualization::ViewControl::ZOOM_MIN = 0.02 |
|
static |
◆ ZOOM_STEP
const double open3d::visualization::ViewControl::ZOOM_STEP = 0.02 |
|
static |
The documentation for this class was generated from the following files:
- /home/ylao/repo/Open3D/src/Open3D/Visualization/Visualizer/ViewControl.h
- /home/ylao/repo/Open3D/src/Open3D/Visualization/Visualizer/ViewControl.cpp