|
Open3D (C++ API)
0.17.0
|
OctreeColorLeafNode class is an OctreeLeafNode containing color. More...
#include <Octree.h>
Public Member Functions | |
| bool | operator== (const OctreeLeafNode &other) const override |
| std::shared_ptr< OctreeLeafNode > | Clone () const override |
| Clone this OctreeLeafNode. More... | |
| bool | ConvertToJsonValue (Json::Value &value) const override |
| bool | ConvertFromJsonValue (const Json::Value &value) override |
| virtual bool | operator== (const OctreeLeafNode &other) const =0 |
| virtual std::shared_ptr< OctreeLeafNode > | Clone () const =0 |
| Clone this OctreeLeafNode. More... | |
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 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 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< OctreeNode > | ConstructFromJsonValue (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) |
OctreeColorLeafNode class is an OctreeLeafNode containing color.
|
overridevirtual |
Clone this OctreeLeafNode.
Implements open3d::geometry::OctreeLeafNode.
Reimplemented in open3d::geometry::OctreePointColorLeafNode.
|
overridevirtual |
Implements open3d::utility::IJsonConvertible.
Reimplemented in open3d::geometry::OctreePointColorLeafNode.
|
overridevirtual |
Implements open3d::utility::IJsonConvertible.
Reimplemented in open3d::geometry::OctreePointColorLeafNode.
|
static |
Get lambda function for initializing OctreeLeafNode.
When the init function is called, an empty OctreeColorLeafNode is created.
|
static |
Get lambda function for updating OctreeLeafNode.
When called, the update function updates the corresponding node with the input color.
| color | Color of the node. |
|
overridevirtual |
Implements open3d::geometry::OctreeLeafNode.
Reimplemented in open3d::geometry::OctreePointColorLeafNode.
| Eigen::Vector3d open3d::geometry::OctreeColorLeafNode::color_ = Eigen::Vector3d(0, 0, 0) |
TODO: flexible data, with lambda function for handling node Color of the node.