Open3D (C++ API)  0.18.0+5c982c7
Public Member Functions | Static Public Member Functions | Data Fields
open3d::geometry::OctreeColorLeafNode Class Reference

OctreeColorLeafNode class is an OctreeLeafNode containing color. More...

#include <Octree.h>

Inheritance diagram for open3d::geometry::OctreeColorLeafNode:
open3d::geometry::OctreeLeafNode open3d::geometry::OctreeNode open3d::utility::IJsonConvertible open3d::geometry::OctreePointColorLeafNode

Public Member Functions

bool operator== (const OctreeLeafNode &other) const override
 
std::shared_ptr< OctreeLeafNodeClone () const override
 Clone this OctreeLeafNode. More...
 
bool ConvertToJsonValue (Json::Value &value) const override
 
bool ConvertFromJsonValue (const Json::Value &value) override
 
- Public Member Functions inherited from open3d::geometry::OctreeNode
 OctreeNode ()
 Default Constructor. More...
 
virtual ~OctreeNode ()
 
- 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...
 

Static Public Member Functions

static std::function< std::shared_ptr< OctreeLeafNode >)> GetInitFunction ()
 Get lambda function for initializing OctreeLeafNode. More...
 
static std::function< void(std::shared_ptr< OctreeLeafNode >)> GetUpdateFunction (const Eigen::Vector3d &color)
 Get lambda function for updating OctreeLeafNode. More...
 
- Static Public Member Functions inherited from open3d::geometry::OctreeNode
static std::shared_ptr< OctreeNodeConstructFromJsonValue (const Json::Value &value)
 Factory function to construct an OctreeNode by parsing the json value. More...
 
- 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)
 

Data Fields

Eigen::Vector3d color_ = Eigen::Vector3d(0, 0, 0)
 

Detailed Description

OctreeColorLeafNode class is an OctreeLeafNode containing color.

Member Function Documentation

◆ Clone()

std::shared_ptr< OctreeLeafNode > open3d::geometry::OctreeColorLeafNode::Clone ( ) const
overridevirtual

◆ ConvertFromJsonValue()

bool open3d::geometry::OctreeColorLeafNode::ConvertFromJsonValue ( const Json::Value &  value)
overridevirtual

◆ ConvertToJsonValue()

bool open3d::geometry::OctreeColorLeafNode::ConvertToJsonValue ( Json::Value &  value) const
overridevirtual

◆ GetInitFunction()

std::function< std::shared_ptr< OctreeLeafNode >)> open3d::geometry::OctreeColorLeafNode::GetInitFunction ( )
static

Get lambda function for initializing OctreeLeafNode.

When the init function is called, an empty OctreeColorLeafNode is created.

◆ GetUpdateFunction()

std::function< void(std::shared_ptr< OctreeLeafNode >)> open3d::geometry::OctreeColorLeafNode::GetUpdateFunction ( const Eigen::Vector3d &  color)
static

Get lambda function for updating OctreeLeafNode.

When called, the update function updates the corresponding node with the input color.

Parameters
colorColor of the node.

◆ operator==()

bool open3d::geometry::OctreeColorLeafNode::operator== ( const OctreeLeafNode other) const
overridevirtual

Field Documentation

◆ color_

Eigen::Vector3d open3d::geometry::OctreeColorLeafNode::color_ = Eigen::Vector3d(0, 0, 0)

TODO: flexible data, with lambda function for handling node Color of the node.


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