Open3D (C++ API)  0.18.0+252c867
Public Member Functions | Data Fields | Static Public Attributes
open3d::visualization::ViewTrajectory Class Reference

#include <ViewTrajectory.h>

Inheritance diagram for open3d::visualization::ViewTrajectory:
open3d::utility::IJsonConvertible

Public Member Functions

 ViewTrajectory ()
 
 ~ViewTrajectory () override
 
void ComputeInterpolationCoefficients ()
 
void ChangeInterval (int change)
 
size_t NumOfFrames () const
 
void Reset ()
 
std::tuple< bool, ViewParametersGetInterpolatedFrame (size_t k)
 
bool ConvertToJsonValue (Json::Value &value) const override
 
bool ConvertFromJsonValue (const Json::Value &value) override
 
- Public Member Functions inherited from open3d::utility::IJsonConvertible
virtual ~IJsonConvertible ()
 
virtual std::string ToString () const
 Convert to a styled string representation of JSON data for display. More...
 

Data Fields

std::vector< ViewParametersview_status_
 
bool is_loop_ = false
 
int interval_ = INTERVAL_DEFAULT
 
std::vector< ViewParameters::Matrix17x4d, ViewParameters::Matrix17x4d_allocatorcoeff_
 

Static Public Attributes

static const int INTERVAL_MAX = 59
 
static const int INTERVAL_MIN = 0
 
static const int INTERVAL_STEP = 1
 
static const int INTERVAL_DEFAULT = 29
 

Additional Inherited Members

- Static Public Member Functions inherited from open3d::utility::IJsonConvertible
static bool EigenVector3dFromJsonArray (Eigen::Vector3d &vec, const Json::Value &value)
 
static bool EigenVector3dToJsonArray (const Eigen::Vector3d &vec, Json::Value &value)
 
static bool EigenVector4dFromJsonArray (Eigen::Vector4d &vec, const Json::Value &value)
 
static bool EigenVector4dToJsonArray (const Eigen::Vector4d &vec, Json::Value &value)
 
static bool EigenMatrix3dFromJsonArray (Eigen::Matrix3d &mat, const Json::Value &value)
 
static bool EigenMatrix3dToJsonArray (const Eigen::Matrix3d &mat, Json::Value &value)
 
static bool EigenMatrix4dFromJsonArray (Eigen::Matrix4d &mat, const Json::Value &value)
 
static bool EigenMatrix4dToJsonArray (const Eigen::Matrix4d &mat, Json::Value &value)
 
static bool EigenMatrix4dFromJsonArray (Eigen::Matrix4d_u &mat, const Json::Value &value)
 
static bool EigenMatrix4dToJsonArray (const Eigen::Matrix4d_u &mat, Json::Value &value)
 
static bool EigenMatrix6dFromJsonArray (Eigen::Matrix6d &mat, const Json::Value &value)
 
static bool EigenMatrix6dToJsonArray (const Eigen::Matrix6d &mat, Json::Value &value)
 
static bool EigenMatrix6dFromJsonArray (Eigen::Matrix6d_u &mat, const Json::Value &value)
 
static bool EigenMatrix6dToJsonArray (const Eigen::Matrix6d_u &mat, Json::Value &value)
 

Constructor & Destructor Documentation

◆ ViewTrajectory()

open3d::visualization::ViewTrajectory::ViewTrajectory ( )
inline

◆ ~ViewTrajectory()

open3d::visualization::ViewTrajectory::~ViewTrajectory ( )
inlineoverride

Member Function Documentation

◆ ChangeInterval()

void open3d::visualization::ViewTrajectory::ChangeInterval ( int  change)
inline

◆ ComputeInterpolationCoefficients()

void open3d::visualization::ViewTrajectory::ComputeInterpolationCoefficients ( )

Function to compute a Cubic Spline Interpolation See this paper for details: Bartels, R. H.; Beatty, J. C.; and Barsky, B. A. "Hermite and Cubic Spline Interpolation." Ch. 3 in An Introduction to Splines for Use in Computer Graphics and Geometric Modelling. San Francisco, CA: Morgan Kaufmann, pp. 9-17, 1998. Also see explanation on this page: http://mathworld.wolfram.com/CubicSpline.html

◆ ConvertFromJsonValue()

bool open3d::visualization::ViewTrajectory::ConvertFromJsonValue ( const Json::Value &  value)
overridevirtual

◆ ConvertToJsonValue()

bool open3d::visualization::ViewTrajectory::ConvertToJsonValue ( Json::Value &  value) const
overridevirtual

◆ GetInterpolatedFrame()

std::tuple< bool, ViewParameters > open3d::visualization::ViewTrajectory::GetInterpolatedFrame ( size_t  k)

◆ NumOfFrames()

size_t open3d::visualization::ViewTrajectory::NumOfFrames ( ) const
inline

◆ Reset()

void open3d::visualization::ViewTrajectory::Reset ( )
inline

Field Documentation

◆ coeff_

std::vector<ViewParameters::Matrix17x4d, ViewParameters::Matrix17x4d_allocator> open3d::visualization::ViewTrajectory::coeff_

◆ interval_

int open3d::visualization::ViewTrajectory::interval_ = INTERVAL_DEFAULT

◆ INTERVAL_DEFAULT

const int open3d::visualization::ViewTrajectory::INTERVAL_DEFAULT = 29
static

◆ INTERVAL_MAX

const int open3d::visualization::ViewTrajectory::INTERVAL_MAX = 59
static

◆ INTERVAL_MIN

const int open3d::visualization::ViewTrajectory::INTERVAL_MIN = 0
static

◆ INTERVAL_STEP

const int open3d::visualization::ViewTrajectory::INTERVAL_STEP = 1
static

◆ is_loop_

bool open3d::visualization::ViewTrajectory::is_loop_ = false

◆ view_status_

std::vector<ViewParameters> open3d::visualization::ViewTrajectory::view_status_

The documentation for this class was generated from the following files: