#include <ViewControlWithEditing.h>
|
virtual | ~ViewControlWithEditing () |
|
void | Reset () override |
|
void | ChangeFieldOfView (double step) 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...
|
|
void | SetEditingMode (EditingMode mode) |
|
std::string | GetStatusString () const |
|
EditingMode | GetEditingMode () const |
|
void | ToggleEditingX () |
|
void | ToggleEditingY () |
|
void | ToggleEditingZ () |
|
void | ToggleLocking () |
|
bool | IsLocked () const |
|
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 | SetLookat (const Eigen::Vector3d &lookat) |
|
void | SetUp (const Eigen::Vector3d &up) |
|
void | SetFront (const Eigen::Vector3d &front) |
|
void | SetZoom (const double zoom) |
|
bool | ConvertToPinholeCameraParameters (camera::PinholeCameraParameters ¶meters) |
|
bool | ConvertFromPinholeCameraParameters (const camera::PinholeCameraParameters ¶meters, bool allow_arbitrary=false) |
|
ProjectionType | GetProjectionType () const |
|
void | SetProjectionParameters () |
|
virtual void | ChangeWindowSize (int width, int height) |
|
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 geometry::AxisAlignedBoundingBox & | GetBoundingBox () const |
|
void | ResetBoundingBox () |
|
void | FitInGeometry (const geometry::Geometry &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 () |
|
◆ EditingMode
Enumerator |
---|
FreeMode | |
OrthoPositiveX | |
OrthoNegativeX | |
OrthoPositiveY | |
OrthoNegativeY | |
OrthoPositiveZ | |
OrthoNegativeZ | |
◆ ~ViewControlWithEditing()
virtual open3d::visualization::ViewControlWithEditing::~ViewControlWithEditing |
( |
| ) |
|
|
inlinevirtual |
◆ ChangeFieldOfView()
void open3d::visualization::ViewControlWithEditing::ChangeFieldOfView |
( |
double |
step | ) |
|
|
overridevirtual |
◆ GetEditingMode()
EditingMode open3d::visualization::ViewControlWithEditing::GetEditingMode |
( |
| ) |
const |
|
inline |
◆ GetStatusString()
std::string open3d::visualization::ViewControlWithEditing::GetStatusString |
( |
| ) |
const |
◆ IsLocked()
bool open3d::visualization::ViewControlWithEditing::IsLocked |
( |
| ) |
const |
|
inline |
◆ Reset()
void open3d::visualization::ViewControlWithEditing::Reset |
( |
| ) |
|
|
overridevirtual |
◆ Rotate()
void open3d::visualization::ViewControlWithEditing::Rotate |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
xo, |
|
|
double |
yo |
|
) |
| |
|
overridevirtual |
Function to process rotation.
Coordinates are measured in screen coordinates relative to the top-left corner of the window client area.
- Parameters
-
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 open3d::visualization::ViewControl.
◆ Scale()
void open3d::visualization::ViewControlWithEditing::Scale |
( |
double |
scale | ) |
|
|
overridevirtual |
◆ SetEditingMode()
void open3d::visualization::ViewControlWithEditing::SetEditingMode |
( |
EditingMode |
mode | ) |
|
◆ ToggleEditingX()
void open3d::visualization::ViewControlWithEditing::ToggleEditingX |
( |
| ) |
|
|
inline |
◆ ToggleEditingY()
void open3d::visualization::ViewControlWithEditing::ToggleEditingY |
( |
| ) |
|
|
inline |
◆ ToggleEditingZ()
void open3d::visualization::ViewControlWithEditing::ToggleEditingZ |
( |
| ) |
|
|
inline |
◆ ToggleLocking()
void open3d::visualization::ViewControlWithEditing::ToggleLocking |
( |
| ) |
|
|
inline |
◆ Translate()
void open3d::visualization::ViewControlWithEditing::Translate |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
xo, |
|
|
double |
yo |
|
) |
| |
|
overridevirtual |
Function to process translation.
Coordinates are measured in screen coordinates relative to the top-left corner of the window client area.
- Parameters
-
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 open3d::visualization::ViewControl.
◆ editing_mode_
◆ is_view_locked_
bool open3d::visualization::ViewControlWithEditing::is_view_locked_ = false |
|
protected |
◆ view_status_backup_
ViewParameters open3d::visualization::ViewControlWithEditing::view_status_backup_ |
|
protected |
The documentation for this class was generated from the following files: