|
|
| C_PointCloud () |
| | Creates a cloud with no points.
|
| |
|
virtual | ~C_PointCloud () |
| | Destroys cloud and frees all property data.
|
| |
|
| C_PointCloud (const C_PointCloud &source) |
| | Make a deep copy of the source C_PointCloud.
|
| |
|
C_PointCloud & | operator= (const C_PointCloud &source) |
| | Make a deep copy of the source C_PointCloud.
|
| |
|
| C_PointCloud (C_PointCloud &&) noexcept=default |
| | Move-construct C_PointCloud.
|
| |
|
C_PointCloud & | operator= (C_PointCloud &&) noexcept=default |
| | Move-construct C_PointCloud.
|
| |
|
virtual bool | Import (const char *filename) |
| | Imports point cloud from a file.
|
| |
|
virtual bool | Export (const char *filename) const |
| | Exports point clouds to a file.
|
| |
|
virtual void | Resize (uint32_t new_size) |
| | Resizes point count to the new value without initialization of data of newly created points.
|
| |
|
virtual uint32_t | GetSize () const |
| | Returns number of points currently stored in the cloud.
|
| |
|
virtual void | Reserve (uint32_t new_capacity) |
| | Changes capacity of cloud. This method is not adding any points.
|
| |
|
uint32_t | GetCapacity () const |
| | Returns how much points can be added with currently reserved memory.
|
| |
|
virtual void | ShrinkToFit () |
| | Frees spare memory so that new capacity exactly matches size.
|
| |
|
void | Clear () |
| | Removes all points from cloud.
|
| |
| virtual void | Erase (const uint32_t *ids_to_erase, size_t count) |
| | Removes points with specific ids from cloud. More...
|
| |
| virtual void | Append (const C_PointCloud &pc) |
| | Increments size of this by the size of pc and copies property data available in both. More...
|
| |
| glm::vec3 * | GetPositions () |
| | Returns pointer to position data. More...
|
| |
| const glm::vec3 * | GetPositions () const |
| | Returns pointer to position data. More...
|
| |
| bool | HasNormals () const |
| | Checks whether normal property exists. More...
|
| |
| glm::vec3 * | GetNormals () |
| | When normal property exists, returns the pointer to data, nullptr otherwise. More...
|
| |
| const glm::vec3 * | GetNormals () const |
| | When normal property exists, returns the pointer to data, nullptr otherwise. More...
|
| |
| void | AddNormals () |
| | Creates PointCloud::NORMALS property buffer if it was is not added already. More...
|
| |
| float * | GetIntensities () |
| | When intensity property exists, returns the pointer to data, nullptr otherwise. More...
|
| |
| const float * | GetIntensities () const |
| | When intensity property exists, returns the pointer to data, nullptr otherwise. More...
|
| |
| void | AddIntensities () |
| | Creates PointCloud::INTENSITIES property buffer if it was is not added already. More...
|
| |
|
size_t | GetPropertyCount () const |
| | Returns count of all available properties.
|
| |
|
const cogs::PointCloudProperty * | GetProperties () const |
| | Returns an array of all available properties.
|
| |
| const cogs::PointCloudProperty | AddProperty (const char *key, DataType type) |
| | Creates new property buffer. More...
|
| |
| const cogs::PointCloudProperty | AddProperty (const char *key, size_t bytes_per_point) |
| | Creates new property buffer. More...
|
| |
|
void | RemoveProperty (const char *key) |
| | Remove a single property by key..
|
| |
|
bool | HasProperty (const char *key) const |
| | Checks whether a specific property exists.
|
| |
|
PointCloudProperty | GetProperty (const char *key) |
| | Returns property with specified key if it exists, nullptr otherwise.
|
| |
|
const PointCloudProperty | GetProperty (const char *key) const |
| | Returns property with specified key if it exists, nullptr otherwise.
|
| |
|
virtual void | Transform (const glm::mat4 &transform) |
| | Transforms point positions and normals.
|
| |
Adapter for cogs::PointCloud structure.