|
PointCloud2BIM Library
1.0
Library to facilitate the transpormation of point clouds into digital BIM representation
|
Public Member Functions | |
| PointCloud ()=default | |
| Constructs empty PointCloud. | |
| PointCloud (std::string name) | |
| Constructs PointCloud with given name. More... | |
| void | setId (double id) |
| Sets PointCloud identifier. More... | |
| int | getId () const |
| Returns PointCloud identifier. More... | |
| std::string | getName () const |
| Returns PointCloud name. More... | |
| void | setName (std::string name) |
| Sets PointCloud name. More... | |
| PointType | getPointType () const |
| Returns PointType. More... | |
| void | setPointType (PointType name) |
| Sets PointType. More... | |
| fs::path | getFilepath () |
| Returns path to the file storing the PointCloud. More... | |
| void | setFilepath (fs::path filepath) |
| Sets path to the file storing the PointCloud. More... | |
| void | writePointsCount (int n) |
| Saves number of points to the file storing the PointCloud. More... | |
| int | getNumberOfPoints () |
| Returns number of points in the PointCloud. More... | |
| template<typename T > | |
| void | writeXYZPoint (std::fstream &output, T &point) |
| Saves the point to the file. More... | |
| void | writeXYZNormalPoint (std::fstream &output, PointXYZ &point) |
| Saves the point to the file. More... | |
| void | writeXYZNormalPoint (std::fstream &output, PointXYZNormal &point) |
| Saves the point to the file. More... | |
| template<typename T > | |
| void | setPoints (std::vector< T > &points) |
| Sets points of the PointCloud. More... | |
| void | readXYZPoint (std::ifstream &infile, std::vector< PointXYZ > &points) |
| Uploads points from the given file. More... | |
| void | readXYZPoint (std::ifstream &infile, std::vector< PointXYZNormal > &points) |
| Uploads points from the given file. More... | |
| void | readXYZNormalPoint (std::ifstream &infile, std::vector< PointXYZNormal > &points) |
| Uploads points from the given file. More... | |
| void | readXYZNormalPoint (std::ifstream &infile, std::vector< PointXYZ > &points) |
| Uploads points from the given file. More... | |
| template<typename T > | |
| void | getPoints (std::vector< T > &points) |
| Returns points stored in the PointCloud. More... | |
|
inline |
Constructs PointCloud with given name.
| name | PointCloud name |
|
inline |
Returns path to the file storing the PointCloud.
|
inline |
Returns PointCloud identifier.
|
inline |
Returns PointCloud name.
|
inline |
Returns number of points in the PointCloud.
|
inline |
Returns points stored in the PointCloud.
| points | Return parametr storing the points |
|
inline |
Returns PointType.
|
inline |
Uploads points from the given file.
| infile | File storing the PointCloud |
| points | Return parametr storing the uploaded points |
|
inline |
Uploads points from the given file.
| infile | File storing the PointCloud |
| points | Return parametr storing the uploaded points |
|
inline |
Uploads points from the given file.
| infile | File storing the PointCloud |
| points | Return parametr storing the uploaded points |
|
inline |
Uploads points from the given file.
| infile | File storing the PointCloud |
| points | Return parametr storing the uploaded points |
|
inline |
Sets path to the file storing the PointCloud.
| filepath | File path to be set |
|
inline |
Sets PointCloud identifier.
| id | Identifier to be set |
|
inline |
Sets PointCloud name.
| name | Name to be set |
|
inline |
Sets points of the PointCloud.
| points | Points to be saved |
|
inline |
Sets PointType.
| name | PointType to be set (xyz/ xyznormal) |
|
inline |
Saves number of points to the file storing the PointCloud.
| n | Number of points to be saved |
|
inline |
Saves the point to the file.
| output | File where to save the point |
| point | Point to be saved |
|
inline |
Saves the point to the file.
| output | File where to save the point |
| point | Point to be saved |
|
inline |
Saves the point to the file.
| output | File where to save the point |
| point | Point to be saved |
1.8.11