34 namespace visualization {
47 void Reset()
override;
49 void Scale(
double scale)
override;
50 void Rotate(
double x,
double y,
double xo,
double yo)
override;
51 void Translate(
double x,
double y,
double xo,
double yo)
override;
75 void Step(
double change);
Definition: PinholeCameraTrajectory.h:40
View controller for visualizer.
Definition: ViewControl.h:41
Definition: ViewControlWithCustomAnimation.h:36
bool IsPlayingEnd(size_t num)
Definition: ViewControlWithCustomAnimation.h:86
bool IsPlaying()
Definition: ViewControlWithCustomAnimation.h:85
void Scale(double scale) override
Definition: ViewControlWithCustomAnimation.cpp:64
void GoToLast()
Definition: ViewControlWithCustomAnimation.cpp:222
void Step(double change)
Definition: ViewControlWithCustomAnimation.cpp:192
ViewTrajectory view_trajectory_
Definition: ViewControlWithCustomAnimation.h:101
bool IsValidPinholeCameraTrajectory() const
Definition: ViewControlWithCustomAnimation.cpp:289
size_t CurrentFrame() const
Definition: ViewControlWithCustomAnimation.h:92
size_t NumOfKeyFrames() const
Definition: ViewControlWithCustomAnimation.h:59
size_t CurrentKeyframe() const
Definition: ViewControlWithCustomAnimation.h:93
double RegularizeFrameIndex(double current_frame, size_t num_of_frames, bool is_loop)
Definition: ViewControlWithCustomAnimation.cpp:305
double current_keyframe_
Definition: ViewControlWithCustomAnimation.h:103
bool CaptureTrajectory(const std::string &filename="")
Definition: ViewControlWithCustomAnimation.cpp:234
bool LoadTrajectoryFromJsonFile(const std::string &filename)
Definition: ViewControlWithCustomAnimation.cpp:249
void SetAnimationMode(AnimationMode mode)
Definition: ViewControlWithCustomAnimation.cpp:88
void GoToFirst()
Definition: ViewControlWithCustomAnimation.cpp:210
double current_frame_
Definition: ViewControlWithCustomAnimation.h:102
virtual ~ViewControlWithCustomAnimation()
Definition: ViewControlWithCustomAnimation.h:45
void AddSpinKeyFrames(int num_of_key_frames=20)
Definition: ViewControlWithCustomAnimation.cpp:144
void Reset() override
Definition: ViewControlWithCustomAnimation.cpp:36
void UpdateKeyFrame()
Definition: ViewControlWithCustomAnimation.cpp:123
AnimationMode animation_mode_
Definition: ViewControlWithCustomAnimation.h:100
void ChangeTrajectoryInterval(int change)
Definition: ViewControlWithCustomAnimation.h:68
void ChangeFieldOfView(double step) override
Definition: ViewControlWithCustomAnimation.cpp:42
std::string GetStatusString() const
Definition: ViewControlWithCustomAnimation.cpp:155
void ToggleTrajectoryLoop()
Definition: ViewControlWithCustomAnimation.h:63
void DeleteKeyFrame()
Definition: ViewControlWithCustomAnimation.cpp:131
size_t NumOfFrames() const
Definition: ViewControlWithCustomAnimation.h:62
AnimationMode
Definition: ViewControlWithCustomAnimation.h:38
@ PlayMode
Definition: ViewControlWithCustomAnimation.h:41
@ PreviewMode
Definition: ViewControlWithCustomAnimation.h:40
@ FreeMode
Definition: ViewControlWithCustomAnimation.h:39
bool LoadTrajectoryFromCameraTrajectory(const camera::PinholeCameraTrajectory &camera_trajectory)
Definition: ViewControlWithCustomAnimation.cpp:261
void AddKeyFrame()
Definition: ViewControlWithCustomAnimation.cpp:106
bool IsPreviewing()
Definition: ViewControlWithCustomAnimation.h:82
void ClearAllKeyFrames()
Definition: ViewControlWithCustomAnimation.h:58
void SetViewControlFromTrajectory()
Definition: ViewControlWithCustomAnimation.cpp:329
void Rotate(double x, double y, double xo, double yo) override
Function to process rotation.
Definition: ViewControlWithCustomAnimation.cpp:70
void Translate(double x, double y, double xo, double yo) override
Function to process translation.
Definition: ViewControlWithCustomAnimation.cpp:79
int GetTrajectoryInterval() const
Definition: ViewControlWithCustomAnimation.h:73
Definition: ViewTrajectory.h:39
bool is_loop_
Definition: ViewTrajectory.h:90
int interval_
Definition: ViewTrajectory.h:91
void ChangeInterval(int change)
Definition: ViewTrajectory.h:61
std::vector< ViewParameters > view_status_
Definition: ViewTrajectory.h:89
size_t NumOfFrames() const
Definition: ViewTrajectory.h:68
const char const char value recording_handle imu_sample recording_handle uint8_t size_t data_size k4a_record_configuration_t config target_format k4a_capture_t capture_handle k4a_imu_sample_t imu_sample playback_handle k4a_logging_message_cb_t void min_level device_handle k4a_imu_sample_t timeout_in_ms capture_handle capture_handle capture_handle image_handle temperature_c k4a_image_t image_handle uint8_t image_handle image_handle image_handle image_handle image_handle timestamp_usec white_balance image_handle k4a_device_configuration_t config device_handle char size_t serial_number_size bool int32_t int32_t int32_t int32_t k4a_color_control_mode_t default_mode mode
Definition: K4aPlugin.cpp:697
Definition: PinholeCameraIntrinsic.cpp:35