This code houses the LSDCloudRaster object, designed to create clouds from raster objects. More...
#include <LSDCloudRaster.hpp>
| Public Member Functions | |
| LSDCloudRaster & | operator= (const LSDCloudRaster &cloud_object) | 
| LSDCloudRaster (LSDRaster &raster) | |
| create an LSDCloud from a raster. | |
| LSDCloudRaster (PointData &point_data, LSDRaster &raster) | |
| create an LSDCloud from a PointData object (see LSDShapeTools module) | |
| LSDCloudRaster (int n_pts, float x_min, float x_max, float y_min, float y_max, float x_offset, float y_offset, pcl::PointCloud< pcl::PointXYZI >::Ptr cloud, const double resolution) | |
| int | get_NPts () const | 
| float | get_XMin () const | 
| float | get_YMin () const | 
| float | get_XMax () const | 
| float | get_YMax () const | 
| float | get_XOffset () const | 
| float | get_YOffset () const | 
| pcl::PointCloud < pcl::PointXYZI >::Ptr | get_theCloud () const | 
| float | get_OctreeResolution () const | 
| float | get_point_x (int index) | 
| float | get_point_y (int index) | 
| void | raster_to_cloud (LSDRaster &raster) | 
| Read in data from an LSDRaster into a LSDCloud object.  More... | |
| void | PointData_to_cloud (PointData &point_data, LSDRaster &raster) | 
| Read in data from a PointData (LSDShapeTools) into a LSDCloud.  More... | |
| void | RadiusSearch2D (float searchPoint_x, float searchPoint_y, float searchRadius, vector< float > &pointValues, vector< int > &pointIndex, vector< float > &pointSquaredDistance) | 
| Conducts a focal search (in xy plane), to find all points within defined search radius.  More... | |
| void | NearestNeighbourSearch2D (float searchPoint_x, float searchPoint_y, int K, vector< float > &pointValues, vector< int > &pointIndex, vector< float > &pointSquaredDistance) | 
| Conducts a focal search (in the xy plane), to find the nearest K points.  More... | |
This code houses the LSDCloudRaster object, designed to create clouds from raster objects.
| void LSDCloudRaster::NearestNeighbourSearch2D | ( | float | searchPoint_x, | 
| float | searchPoint_y, | ||
| int | K, | ||
| vector< float > & | pointValues, | ||
| vector< int > & | pointIndex, | ||
| vector< float > & | pointSquaredDistance | ||
| ) | 
Conducts a focal search (in the xy plane), to find the nearest K points.
Points are arranged according to proximity to the query point
| float | -> the x coordinate of the query point | 
| float | -> the y coordinate of the query point | 
| int | -> the number of points to find | 
| vector<float> | -> the values associated with the returned points | 
| vector<int> | -> the indexes associated with the returned points | 
| vector<float> | -> the squared distance of the returned points from the query point | 
Read in data from a PointData (LSDShapeTools) into a LSDCloud.
The point cloud is also structured in an octree for rapid spatial querying. Uses the PCL library (www.poinclouds.org).
| PointData | -> x,y coordinate strucure to load into cloud | 
| LSDRaster | -> raster used as spatial reference frame | 
| void LSDCloudRaster::RadiusSearch2D | ( | float | searchPoint_x, | 
| float | searchPoint_y, | ||
| float | searchRadius, | ||
| vector< float > & | pointValues, | ||
| vector< int > & | pointIndex, | ||
| vector< float > & | pointSquaredDistance | ||
| ) | 
Conducts a focal search (in xy plane), to find all points within defined search radius.
SEARCH TOOLS
Points are arranged according to proximity to the query point
| float | -> the x coordinate of the query point | 
| float | -> the y coordinate of the query point | 
| float | -> the search radius | 
| vector<float> | -> the values associated with the returned points | 
| vector<int> | -> the indexes associated with the returned points | 
| vector<float> | -> the squared distance of the returned points from the query point | 
| void LSDCloudRaster::raster_to_cloud | ( | LSDRaster & | raster | ) | 
 1.8.6
 1.8.6