Open3D (C++ API)
Public Member Functions | Data Fields
open3d::camera::PinholeCameraIntrinsic Class Reference

#include <PinholeCameraIntrinsic.h>

Inheritance diagram for open3d::camera::PinholeCameraIntrinsic:
open3d::utility::IJsonConvertible

Public Member Functions

 PinholeCameraIntrinsic ()
 
 PinholeCameraIntrinsic (PinholeCameraIntrinsicParameters)
 
 PinholeCameraIntrinsic (int width, int height, double fx, double fy, double cx, double cy)
 
 ~PinholeCameraIntrinsic () override
 
void SetIntrinsics (int width, int height, double fx, double fy, double cx, double cy)
 
std::pair< double, double > GetFocalLength () const
 
std::pair< double, double > GetPrincipalPoint () const
 
double GetSkew () const
 
bool IsValid () const
 
bool ConvertToJsonValue (Json::Value &value) const override
 
bool ConvertFromJsonValue (const Json::Value &value) override
 
- Public Member Functions inherited from open3d::utility::IJsonConvertible
virtual ~IJsonConvertible ()
 

Data Fields

int width_ = -1
 
int height_ = -1
 
Eigen::Matrix3d intrinsic_matrix_
 

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

◆ PinholeCameraIntrinsic() [1/3]

open3d::camera::PinholeCameraIntrinsic::PinholeCameraIntrinsic ( )

◆ PinholeCameraIntrinsic() [2/3]

open3d::camera::PinholeCameraIntrinsic::PinholeCameraIntrinsic ( PinholeCameraIntrinsicParameters  param)

◆ PinholeCameraIntrinsic() [3/3]

open3d::camera::PinholeCameraIntrinsic::PinholeCameraIntrinsic ( int  width,
int  height,
double  fx,
double  fy,
double  cx,
double  cy 
)

◆ ~PinholeCameraIntrinsic()

open3d::camera::PinholeCameraIntrinsic::~PinholeCameraIntrinsic ( )
override

Member Function Documentation

◆ ConvertFromJsonValue()

bool open3d::camera::PinholeCameraIntrinsic::ConvertFromJsonValue ( const Json::Value &  value)
overridevirtual

◆ ConvertToJsonValue()

bool open3d::camera::PinholeCameraIntrinsic::ConvertToJsonValue ( Json::Value &  value) const
overridevirtual

◆ GetFocalLength()

std::pair<double, double> open3d::camera::PinholeCameraIntrinsic::GetFocalLength ( ) const
inline

◆ GetPrincipalPoint()

std::pair<double, double> open3d::camera::PinholeCameraIntrinsic::GetPrincipalPoint ( ) const
inline

◆ GetSkew()

double open3d::camera::PinholeCameraIntrinsic::GetSkew ( ) const
inline

◆ IsValid()

bool open3d::camera::PinholeCameraIntrinsic::IsValid ( ) const
inline

◆ SetIntrinsics()

void open3d::camera::PinholeCameraIntrinsic::SetIntrinsics ( int  width,
int  height,
double  fx,
double  fy,
double  cx,
double  cy 
)
inline

Field Documentation

◆ height_

int open3d::camera::PinholeCameraIntrinsic::height_ = -1

◆ intrinsic_matrix_

Eigen::Matrix3d open3d::camera::PinholeCameraIntrinsic::intrinsic_matrix_

◆ width_

int open3d::camera::PinholeCameraIntrinsic::width_ = -1

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