FlowEngine 7.530
Photogrammetry Software Development Kit
|
Stores a PointCloud object. More...
#include <SparsePointCloudInterface.h>
Public Member Functions | |
virtual FLE_DLL | ~SparsePointCloudInterface ()=default |
Default virtual destructor. | |
virtual FLE_DLL Index | getPointCount () const =0 |
virtual FLE_DLL Result | getPointPosition (Index idx, Point3 &outPosition) const =0 |
virtual FLE_DLL Result | getPointColor (Index idx, Color &outColor) const =0 |
virtual FLE_DLL Index | getPointVisibilityCount (Index pointIndex) const =0 |
virtual FLE_DLL Result | getPointVisibility (Index pointIndex, Index visibilityIndex, CameraInterface &outCamera) const =0 |
virtual FLE_DLL Result | removePoint (Index index)=0 |
virtual FLE_DLL Result | removePoints (ConstBuffer< Index > indexes)=0 |
virtual FLE_DLL Result | transform (ConstBuffer< double > transform)=0 |
virtual FLE_DLL Result | saveToPly (ConstStringBuffer filePath) const =0 |
virtual FLE_DLL Result | loadFromPly (ConstStringBuffer filePath)=0 |
Public Member Functions inherited from FlowEngine::NamedObjectInterface | |
virtual FLE_DLL | ~NamedObjectInterface ()=default |
Default virtual destructor. | |
virtual FLE_DLL Size | getNameLength () const =0 |
virtual FLE_DLL Result | getName (StringBuffer outName) const =0 |
virtual FLE_DLL Result | setName (ConstStringBuffer name)=0 |
Stores a PointCloud object.
Nothing needed in input. Everything will be filled by FlowEngine.
|
virtualdefault |
Default virtual destructor.
|
pure virtual |
Returns the color of the point at index idx
. This function is not available in the free version of the SDK.
[in] | idx | the index of the position to retrieve. Must be in the range [0, getPointCount()) |
[out] | outColor | the retrieved color |
|
pure virtual |
|
pure virtual |
Returns the position of the point at index idx
. This function is not available in the free version of the SDK.
[in] | idx | the index of the position to retrieve. Must be in the range [0, getPointCount()) |
[out] | outPosition | the retrieved position |
|
pure virtual |
Query visibility information about a point.
[in] | pointIndex | the point to query for visibility info. Must be in the range [0, getPointCount()) |
[in] | visibilityIndex | the index of the visibility entry. Must be in the range [0, getPointVisibilityCount( pointIndex )) |
[in,out] | outCamera | the Camera object to fill with the information, |
outCamera
is filled with the visibility information queried.outCamera
is not a valid Camera object.pointIndex
is not in the valid range.visibilityInfo
is not in the valid range.
|
pure virtual |
Query the number of visibility information present in a point.
[in] | pointIndex | the index of the point to query for visibility count. Must be in the range [0, getPointCount()) |
pointIndex
.
|
pure virtual |
Load the point cloud from a PLY file
[in] | filePath | a buffer containing the source file path |
|
pure virtual |
Removes one point (and its visibility information) from this point cloud and its related cameras.
[in] | index | the index of the point to be removed. Must be in the range [0, getPointCount()). |
index
is not in the valid range.
|
pure virtual |
Removes one or more points (and their visibility information) from this point cloud and its related cameras.
[in] | indexes | a buffer of point indexes to be removed. Each index must be in the range [0, getPointCount()). |
indexes
is not a valid buffer.indexes
is not in the valid range.
|
pure virtual |
Save the point cloud to a PLY file. This function is not available in the free version of the SDK.
[in] | filePath | a buffer containing the target file path |
|
pure virtual |
Transforms every point in the point cloud with a SRT matrix.
[in] | transform | a buffer of doubles representing the 4x4 transform matrix that will be applied to every point. |
transform
is not a valid buffer or it's not 16 elements long.