#include <ViewControlWithCustomAnimation.h>
◆ AnimationMode
Enumerator |
---|
FreeMode | |
PreviewMode | |
PlayMode | |
◆ AddKeyFrame()
void open3d::visualization::ViewControlWithCustomAnimation::AddKeyFrame |
( |
| ) |
|
◆ AddSpinKeyFrames()
void open3d::visualization::ViewControlWithCustomAnimation::AddSpinKeyFrames |
( |
int |
num_of_key_frames = 20 | ) |
|
◆ CaptureTrajectory()
bool open3d::visualization::ViewControlWithCustomAnimation::CaptureTrajectory |
( |
const std::string & |
filename = "" | ) |
|
◆ ChangeFieldOfView()
void open3d::visualization::ViewControlWithCustomAnimation::ChangeFieldOfView |
( |
double |
step | ) |
|
|
overridevirtual |
◆ ChangeTrajectoryInterval()
void open3d::visualization::ViewControlWithCustomAnimation::ChangeTrajectoryInterval |
( |
int |
change | ) |
|
|
inline |
◆ ClearAllKeyFrames()
void open3d::visualization::ViewControlWithCustomAnimation::ClearAllKeyFrames |
( |
| ) |
|
|
inline |
◆ CurrentFrame()
size_t open3d::visualization::ViewControlWithCustomAnimation::CurrentFrame |
( |
| ) |
const |
|
inlineprotected |
◆ CurrentKeyframe()
size_t open3d::visualization::ViewControlWithCustomAnimation::CurrentKeyframe |
( |
| ) |
const |
|
inlineprotected |
◆ DeleteKeyFrame()
void open3d::visualization::ViewControlWithCustomAnimation::DeleteKeyFrame |
( |
| ) |
|
◆ GetStatusString()
std::string open3d::visualization::ViewControlWithCustomAnimation::GetStatusString |
( |
| ) |
const |
◆ GetTrajectoryInterval()
int open3d::visualization::ViewControlWithCustomAnimation::GetTrajectoryInterval |
( |
| ) |
const |
|
inline |
◆ GoToFirst()
void open3d::visualization::ViewControlWithCustomAnimation::GoToFirst |
( |
| ) |
|
◆ GoToLast()
void open3d::visualization::ViewControlWithCustomAnimation::GoToLast |
( |
| ) |
|
◆ IsPlaying()
bool open3d::visualization::ViewControlWithCustomAnimation::IsPlaying |
( |
| ) |
|
|
inline |
◆ IsPlayingEnd()
bool open3d::visualization::ViewControlWithCustomAnimation::IsPlayingEnd |
( |
size_t |
num | ) |
|
|
inline |
◆ IsPreviewing()
bool open3d::visualization::ViewControlWithCustomAnimation::IsPreviewing |
( |
| ) |
|
|
inline |
◆ IsValidPinholeCameraTrajectory()
bool open3d::visualization::ViewControlWithCustomAnimation::IsValidPinholeCameraTrajectory |
( |
| ) |
const |
◆ LoadTrajectoryFromCameraTrajectory()
bool open3d::visualization::ViewControlWithCustomAnimation::LoadTrajectoryFromCameraTrajectory |
( |
const camera::PinholeCameraTrajectory & |
camera_trajectory | ) |
|
◆ LoadTrajectoryFromJsonFile()
bool open3d::visualization::ViewControlWithCustomAnimation::LoadTrajectoryFromJsonFile |
( |
const std::string & |
filename | ) |
|
◆ NumOfFrames()
size_t open3d::visualization::ViewControlWithCustomAnimation::NumOfFrames |
( |
| ) |
const |
|
inline |
◆ NumOfKeyFrames()
size_t open3d::visualization::ViewControlWithCustomAnimation::NumOfKeyFrames |
( |
| ) |
const |
|
inline |
◆ RegularizeFrameIndex()
double open3d::visualization::ViewControlWithCustomAnimation::RegularizeFrameIndex |
( |
double |
current_frame, |
|
|
size_t |
num_of_frames, |
|
|
bool |
is_loop |
|
) |
| |
|
protected |
◆ Reset()
void open3d::visualization::ViewControlWithCustomAnimation::Reset |
( |
| ) |
|
|
overridevirtual |
◆ Rotate()
void open3d::visualization::ViewControlWithCustomAnimation::Rotate |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
xo, |
|
|
double |
yo |
|
) |
| |
|
overridevirtual |
- Parameters
-
x | and |
y | are the distances the mouse cursor has moved. |
xo | and |
yo | are the original point coordinate the mouse cursor started to move from. Coordinates are measured in screen coordinates relative to the top-left corner of the window client area. |
Reimplemented from open3d::visualization::ViewControl.
◆ Scale()
void open3d::visualization::ViewControlWithCustomAnimation::Scale |
( |
double |
scale | ) |
|
|
overridevirtual |
◆ SetAnimationMode()
void open3d::visualization::ViewControlWithCustomAnimation::SetAnimationMode |
( |
AnimationMode |
mode | ) |
|
◆ SetViewControlFromTrajectory()
void open3d::visualization::ViewControlWithCustomAnimation::SetViewControlFromTrajectory |
( |
| ) |
|
|
protected |
◆ Step()
void open3d::visualization::ViewControlWithCustomAnimation::Step |
( |
double |
change | ) |
|
◆ ToggleTrajectoryLoop()
void open3d::visualization::ViewControlWithCustomAnimation::ToggleTrajectoryLoop |
( |
| ) |
|
|
inline |
◆ Translate()
void open3d::visualization::ViewControlWithCustomAnimation::Translate |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
xo, |
|
|
double |
yo |
|
) |
| |
|
overridevirtual |
- Parameters
-
x | and |
y | are the distances the mouse cursor has moved. |
xo | and |
yo | are the original point coordinate the mouse cursor started to move from. Coordinates are measured in screen coordinates relative to the top-left corner of the window client area. |
Reimplemented from open3d::visualization::ViewControl.
◆ UpdateKeyFrame()
void open3d::visualization::ViewControlWithCustomAnimation::UpdateKeyFrame |
( |
| ) |
|
◆ animation_mode_
AnimationMode open3d::visualization::ViewControlWithCustomAnimation::animation_mode_ = AnimationMode::FreeMode |
|
protected |
◆ current_frame_
double open3d::visualization::ViewControlWithCustomAnimation::current_frame_ = 0.0 |
|
protected |
◆ current_keyframe_
double open3d::visualization::ViewControlWithCustomAnimation::current_keyframe_ = 0.0 |
|
protected |
◆ view_trajectory_
ViewTrajectory open3d::visualization::ViewControlWithCustomAnimation::view_trajectory_ |
|
protected |
The documentation for this class was generated from the following files: