Open3D (C++ API)  0.18.0+90810a3
Public Member Functions | Static Public Member Functions | Data Fields
open3d::geometry::OctreePointColorLeafNode Class Reference

OctreePointColorLeafNode class is an OctreeColorLeafNode containing a list of indices corresponding to the point cloud points contained in this leaf node. More...

#include <Octree.h>

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

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 (size_t index, const Eigen::Vector3d &color)
 Get lambda function for updating OctreeLeafNode. More...
 
- Static Public Member Functions inherited from open3d::geometry::OctreeColorLeafNode
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

std::vector< size_t > indices_
 Associated point indices with this node. More...
 
- Data Fields inherited from open3d::geometry::OctreeColorLeafNode
Eigen::Vector3d color_ = Eigen::Vector3d(0, 0, 0)
 

Detailed Description

OctreePointColorLeafNode class is an OctreeColorLeafNode containing a list of indices corresponding to the point cloud points contained in this leaf node.

Member Function Documentation

◆ Clone()

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

Clone this OctreeLeafNode.

Reimplemented from open3d::geometry::OctreeColorLeafNode.

◆ ConvertFromJsonValue()

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

◆ ConvertToJsonValue()

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

◆ GetInitFunction()

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

Get lambda function for initializing OctreeLeafNode.

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

◆ GetUpdateFunction()

std::function< void(std::shared_ptr< OctreeLeafNode >)> open3d::geometry::OctreePointColorLeafNode::GetUpdateFunction ( size_t  index,
const Eigen::Vector3d &  color 
)
static

Get lambda function for updating OctreeLeafNode.

When called, the update function adds the point cloud point index to the corresponding node index list.

Parameters
indexPoint cloud point index associated with node.
colorColor of the node.

◆ operator==()

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

Field Documentation

◆ indices_

std::vector<size_t> open3d::geometry::OctreePointColorLeafNode::indices_

Associated point indices with this node.


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