Open3D (C++ API)  0.18.0+fcf98ee
Public Member Functions | Static Public Member Functions
open3d::utility::IJsonConvertible Class Referenceabstract

#include <IJsonConvertible.h>

Inheritance diagram for open3d::utility::IJsonConvertible:
open3d::camera::PinholeCameraIntrinsic open3d::camera::PinholeCameraParameters open3d::camera::PinholeCameraTrajectory open3d::geometry::Octree open3d::geometry::OctreeNode open3d::io::MKVMetadata open3d::io::RGBDSensorConfig open3d::pipelines::color_map::ImageWarpingField open3d::pipelines::registration::PoseGraph open3d::pipelines::registration::PoseGraphEdge open3d::pipelines::registration::PoseGraphNode open3d::t::io::RGBDVideoMetadata open3d::visualization::RenderOption open3d::visualization::SelectionPolygonVolume open3d::visualization::ViewParameters open3d::visualization::ViewTrajectory

Public Member Functions

virtual ~IJsonConvertible ()
 
virtual bool ConvertToJsonValue (Json::Value &value) const =0
 
virtual bool ConvertFromJsonValue (const Json::Value &value)=0
 
virtual std::string ToString () const
 Convert to a styled string representation of JSON data for display. More...
 

Static Public Member Functions

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)
 

Detailed Description

Class IJsonConvertible defines the behavior of a class that can convert itself to/from a json::Value.

Constructor & Destructor Documentation

◆ ~IJsonConvertible()

virtual open3d::utility::IJsonConvertible::~IJsonConvertible ( )
inlinevirtual

Member Function Documentation

◆ ConvertFromJsonValue()

virtual bool open3d::utility::IJsonConvertible::ConvertFromJsonValue ( const Json::Value &  value)
pure virtual

◆ ConvertToJsonValue()

virtual bool open3d::utility::IJsonConvertible::ConvertToJsonValue ( Json::Value &  value) const
pure virtual

◆ EigenMatrix3dFromJsonArray()

bool open3d::utility::IJsonConvertible::EigenMatrix3dFromJsonArray ( Eigen::Matrix3d &  mat,
const Json::Value &  value 
)
static

◆ EigenMatrix3dToJsonArray()

bool open3d::utility::IJsonConvertible::EigenMatrix3dToJsonArray ( const Eigen::Matrix3d &  mat,
Json::Value &  value 
)
static

◆ EigenMatrix4dFromJsonArray() [1/2]

bool open3d::utility::IJsonConvertible::EigenMatrix4dFromJsonArray ( Eigen::Matrix4d &  mat,
const Json::Value &  value 
)
static

◆ EigenMatrix4dFromJsonArray() [2/2]

bool open3d::utility::IJsonConvertible::EigenMatrix4dFromJsonArray ( Eigen::Matrix4d_u &  mat,
const Json::Value &  value 
)
static

◆ EigenMatrix4dToJsonArray() [1/2]

bool open3d::utility::IJsonConvertible::EigenMatrix4dToJsonArray ( const Eigen::Matrix4d &  mat,
Json::Value &  value 
)
static

◆ EigenMatrix4dToJsonArray() [2/2]

bool open3d::utility::IJsonConvertible::EigenMatrix4dToJsonArray ( const Eigen::Matrix4d_u &  mat,
Json::Value &  value 
)
static

◆ EigenMatrix6dFromJsonArray() [1/2]

bool open3d::utility::IJsonConvertible::EigenMatrix6dFromJsonArray ( Eigen::Matrix6d &  mat,
const Json::Value &  value 
)
static

◆ EigenMatrix6dFromJsonArray() [2/2]

bool open3d::utility::IJsonConvertible::EigenMatrix6dFromJsonArray ( Eigen::Matrix6d_u &  mat,
const Json::Value &  value 
)
static

◆ EigenMatrix6dToJsonArray() [1/2]

bool open3d::utility::IJsonConvertible::EigenMatrix6dToJsonArray ( const Eigen::Matrix6d &  mat,
Json::Value &  value 
)
static

◆ EigenMatrix6dToJsonArray() [2/2]

bool open3d::utility::IJsonConvertible::EigenMatrix6dToJsonArray ( const Eigen::Matrix6d_u &  mat,
Json::Value &  value 
)
static

◆ EigenVector3dFromJsonArray()

bool open3d::utility::IJsonConvertible::EigenVector3dFromJsonArray ( Eigen::Vector3d &  vec,
const Json::Value &  value 
)
static

◆ EigenVector3dToJsonArray()

bool open3d::utility::IJsonConvertible::EigenVector3dToJsonArray ( const Eigen::Vector3d &  vec,
Json::Value &  value 
)
static

◆ EigenVector4dFromJsonArray()

bool open3d::utility::IJsonConvertible::EigenVector4dFromJsonArray ( Eigen::Vector4d &  vec,
const Json::Value &  value 
)
static

◆ EigenVector4dToJsonArray()

bool open3d::utility::IJsonConvertible::EigenVector4dToJsonArray ( const Eigen::Vector4d &  vec,
Json::Value &  value 
)
static

◆ ToString()

std::string open3d::utility::IJsonConvertible::ToString ( ) const
virtual

Convert to a styled string representation of JSON data for display.


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