![]() |
SCENE C++ API
2.0.31
|
Interface class to access information and functionality of project point clouds. More...
#include <lspointcloud.h>
Public Member Functions | |
int | getPointCloudVersion () const |
Returns the internal version number of this point cloud. More... | |
LSIterator< LSPointXYZRGB > | getPointCloudIterator () |
Gets an iterator to run over all points which are part of the point cloud. More... | |
LSIterator< LSPointXYZRGB > | getPointCloudIterator (const LSSphereVolume &volume) const |
Gets an iterator to run over all points which are contained in a volume. More... | |
LSIterator< LSPointXYZRGB > | getPointCloudIterator (ref_ptr< LSVolumeDefinition > volume) const |
Gets an iterator to run over all points which are contained in a user-defined volume. More... | |
ref_ptr< LSPointCloudRenderer > | createPointCloudRenderer () const |
Creates a renderer instance for this point cloud. More... | |
void | determineBoundingBox (Eigen::Vector3d &minOut, Eigen::Vector3d &maxOut) const |
Determines the bounding box in global coordinates of this point cloud. More... | |
uint64_t | getNumberOfPoints () const |
Retrieves the number of points of the this point cloud. More... | |
LSIterator< LSPointXYZRGBN > | getPointCloudNormalsIterator () |
Gets an iterator to run over all points which are part of the point cloud and extract their normal data. More... | |
LSIterator< LSPointXYZRGBN > | getPointCloudNormalsIterator (const LSSphereVolume &volume) const |
Gets an iterator to run over all points which are contained in a volume. More... | |
LSIterator< LSPointXYZRGBN > | getPointCloudNormalsIterator (ref_ptr< LSVolumeDefinition > volume) const |
Gets an iterator to run over all points which are contained in a volume. More... | |
Additional Inherited Members | |
![]() | |
void | ref () const |
Increments the internal reference counter. More... | |
void | unref () const |
Decrements the internal reference counter. More... | |
Interface class to access information and functionality of project point clouds.
int getPointCloudVersion | ( | ) | const |
Returns the internal version number of this point cloud.
Version 1 is a point cloud created with SCENE 5.X Version 2 is a point cloud created with SCENE 6.0 Version 3 is a point cloud created with SCENE >= 6.1 and contains point normals information
LSIterator<LSPointXYZRGB> getPointCloudIterator | ( | ) |
Gets an iterator to run over all points which are part of the point cloud.
The returned points are in global coordinates.
LSIterator<LSPointXYZRGB> getPointCloudIterator | ( | const LSSphereVolume & | volume | ) | const |
Gets an iterator to run over all points which are contained in a volume.
The returned points are in global coordinates.
volume | The volume to search. |
LSIterator<LSPointXYZRGB> getPointCloudIterator | ( | ref_ptr< LSVolumeDefinition > | volume | ) | const |
Gets an iterator to run over all points which are contained in a user-defined volume.
The returned points are in global coordinates.
volume | The user-defined volume to search. |
ref_ptr<LSPointCloudRenderer> createPointCloudRenderer | ( | ) | const |
Creates a renderer instance for this point cloud.
void determineBoundingBox | ( | Eigen::Vector3d & | minOut, |
Eigen::Vector3d & | maxOut | ||
) | const |
Determines the bounding box in global coordinates of this point cloud.
minOut | Output parameter describing the minimum of the bounding box. |
maxOut | Output parameter describing the maximum of the bounding box. |
uint64_t getNumberOfPoints | ( | ) | const |
Retrieves the number of points of the this point cloud.
LSIterator<LSPointXYZRGBN> getPointCloudNormalsIterator | ( | ) |
Gets an iterator to run over all points which are part of the point cloud and extract their normal data.
The returned points are in global coordinates.
LSIterator<LSPointXYZRGBN> getPointCloudNormalsIterator | ( | const LSSphereVolume & | volume | ) | const |
Gets an iterator to run over all points which are contained in a volume.
The returned points are in global coordinates.
volume | The volume to search. |
LSIterator<LSPointXYZRGBN> getPointCloudNormalsIterator | ( | ref_ptr< LSVolumeDefinition > | volume | ) | const |
Gets an iterator to run over all points which are contained in a volume.
The returned points are in global coordinates.
volume | The volume to search. |