    

 ## On this page

  

 

 # rocky\_point\_cloud\_api

 Last update: 17.07.2025 

<a id="l00001" name="l00001"></a> 1\#pragma once

<a id="l00002" name="l00002"></a> 2 

<a id="l00003" name="l00003"></a> 3// Includes =======================================================================================

<a id="l00004" name="l00004"></a> 4\#include "rocky\_point\_cloud.h"

<a id="l00005" name="l00005"></a> 5 

<a id="l00006" name="l00006"></a> 6// ================================================================================================

<a id="l00007" name="l00007"></a> 7// IRockyCloudPoint

<a id="l00008" name="l00008"></a> 8// ================================================================================================

<a id="l00009" name="l00009"></a> 9 

<a id="l00014" name="l00014"></a>[ 14](structIRockyCloudPoint.xhtml)struct [IRockyCloudPoint](structIRockyCloudPoint.xhtml)

<a id="l00015" name="l00015"></a> 15{

<a id="l00019" name="l00019"></a> 19 inline ROCKY_FUNCTIONS double3 [get\_position](structIRockyCloudPoint.xhtml#a1d06a1eb80ad0811ab2794f2a494fe17)() const;

<a id="l00020" name="l00020"></a> 20 

<a id="l00025" name="l00025"></a> 25 inline ROCKY_FUNCTIONS double [get\_property](structIRockyCloudPoint.xhtml#a095eab870337f4c41b876246e734708a)(int property_index) const;

<a id="l00026" name="l00026"></a> 26 

<a id="l00030" name="l00030"></a> 30 inline ROCKY_FUNCTIONS bool [is\_enabled](structIRockyCloudPoint.xhtml#ae9e37938664d6977e49593d1ec8f3dbd)() const;

<a id="l00031" name="l00031"></a> 31 

<a id="l00034" name="l00034"></a> 34 ROCKY_FUNCTIONS [IRockyCloudPoint](structIRockyCloudPoint.xhtml)(device::PointCloud* _point_cloud, int _point_index)

<a id="l00035" name="l00035"></a> 35 {

<a id="l00036" name="l00036"></a> 36 this-&gt;_impl.point_cloud = _point_cloud;

<a id="l00037" name="l00037"></a> 37 this-&gt;point_index = _point_index;

<a id="l00038" name="l00038"></a> 38 }

<a id="l00039" name="l00039"></a> 39 

<a id="l00040" name="l00040"></a> 40 RockyPointCloud _impl;

<a id="l00041" name="l00041"></a> 41 int point_index;

<a id="l00042" name="l00042"></a> 42 

<a id="l00044" name="l00044"></a> 44};



<a id="l00045" name="l00045"></a> 45 

<a id="l00046" name="l00046"></a>[ 46](structIRockyCloudPoint.xhtml#a1d06a1eb80ad0811ab2794f2a494fe17)inline ROCKY_FUNCTIONS double3 [IRockyCloudPoint::get\_position](structIRockyCloudPoint.xhtml#a1d06a1eb80ad0811ab2794f2a494fe17)() const

<a id="l00047" name="l00047"></a> 47{

<a id="l00048" name="l00048"></a> 48 return this-&gt;_impl.get_point_position(this-&gt;point_index);

<a id="l00049" name="l00049"></a> 49}



<a id="l00050" name="l00050"></a> 50 

<a id="l00051" name="l00051"></a>[ 51](structIRockyCloudPoint.xhtml#a095eab870337f4c41b876246e734708a)inline ROCKY_FUNCTIONS double [IRockyCloudPoint::get\_property](structIRockyCloudPoint.xhtml#a095eab870337f4c41b876246e734708a)(int property_index) const

<a id="l00052" name="l00052"></a> 52{

<a id="l00053" name="l00053"></a> 53 return this-&gt;_impl.get_point_property(this-&gt;point_index, property_index);

<a id="l00054" name="l00054"></a> 54}



<a id="l00055" name="l00055"></a> 55 

<a id="l00056" name="l00056"></a>[ 56](structIRockyCloudPoint.xhtml#ae9e37938664d6977e49593d1ec8f3dbd)inline ROCKY_FUNCTIONS bool [IRockyCloudPoint::is\_enabled](structIRockyCloudPoint.xhtml#ae9e37938664d6977e49593d1ec8f3dbd)() const

<a id="l00057" name="l00057"></a> 57{

<a id="l00058" name="l00058"></a> 58 return this-&gt;_impl.point_cloud-&gt;[is\_enabled](structIRockyCloudPoint.xhtml#ae9e37938664d6977e49593d1ec8f3dbd)();

<a id="l00059" name="l00059"></a> 59}



[IRockyCloudPoint](structIRockyCloudPoint.xhtml)

**Definition** rocky_point_cloud_api.hpp:15



[IRockyCloudPoint::get\_property](structIRockyCloudPoint.xhtml#a095eab870337f4c41b876246e734708a)

ROCKY_FUNCTIONS double get_property(int property_index) const

**Definition** rocky_point_cloud_api.hpp:51



[IRockyCloudPoint::get\_position](structIRockyCloudPoint.xhtml#a1d06a1eb80ad0811ab2794f2a494fe17)

ROCKY_FUNCTIONS double3 get_position() const

**Definition** rocky_point_cloud_api.hpp:46



[IRockyCloudPoint::is\_enabled](structIRockyCloudPoint.xhtml#ae9e37938664d6977e49593d1ec8f3dbd)

ROCKY_FUNCTIONS bool is_enabled() const

**Definition** rocky_point_cloud_api.hpp:56