@@ -62,7 +62,7 @@ namespace pcl
62
62
/* * \brief Default constructor.*/
63
63
Octree ();
64
64
65
- /* * \brief Denstructor .*/
65
+ /* * \brief Destructor .*/
66
66
virtual ~Octree ();
67
67
68
68
/* * \brief Types */
@@ -98,46 +98,46 @@ namespace pcl
98
98
/* * \brief Returns true if tree has been built */
99
99
bool isBuilt () const ;
100
100
101
- /* * \brief Downloads Octree from GPU to search using CPU function. It use useful for single (not-batch) search */
101
+ /* * \brief Downloads Octree from GPU to search using CPU function. It is useful for single (not-batch) search */
102
102
void internalDownload ();
103
103
104
- /* * \brief Performs search of all points within given radius on CPU. It call \a internalDownload if necessary
104
+ /* * \brief Performs search of all points within given radius on CPU. It calls \a internalDownload if necessary
105
105
* \param[in] center center of sphere
106
106
* \param[in] radius radious of sphere
107
- * \param[out] out indeces of points within give sphere
108
- * \param[in] max_nn maximum numver of results returned
107
+ * \param[out] out indices of points within given sphere
108
+ * \param[in] max_nn maximum number of results returned
109
109
*/
110
110
void radiusSearchHost (const PointType& center, float radius, std::vector<int >& out,
111
111
int max_nn = std::numeric_limits<int >::max());
112
112
113
- /* * \brief Performs approximate nearest neighbor search on CPU. It call \a internalDownload if necessary
114
- * \param[in] query 3D point for which neighbour is be fetched
115
- * \param[out] out_index neighbour index
116
- * \param[out] sqr_dist square distance to the neighbour returned
113
+ /* * \brief Performs approximate nearest neighbor search on CPU. It calls \a internalDownload if necessary
114
+ * \param[in] query 3D point for which neighbor is to be fetched
115
+ * \param[out] out_index neighbor index
116
+ * \param[out] sqr_dist square distance to the neighbor returned
117
117
*/
118
118
void approxNearestSearchHost (const PointType& query, int & out_index, float & sqr_dist);
119
119
120
120
/* * \brief Performs batch radius search on GPU
121
121
* \param[in] centers array of centers
122
122
* \param[in] radius radius for all queries
123
- * \param[in] max_results max number of returned points for each querey
123
+ * \param[in] max_results max number of returned points for each query
124
124
* \param[out] result results packed to single array
125
125
*/
126
126
void radiusSearch (const Queries& centers, float radius, int max_results, NeighborIndices& result) const ;
127
127
128
128
/* * \brief Performs batch radius search on GPU
129
129
* \param[in] centers array of centers
130
130
* \param[in] radiuses array of radiuses
131
- * \param[in] max_results max number of returned points for each querey
131
+ * \param[in] max_results max number of returned points for each query
132
132
* \param[out] result results packed to single array
133
133
*/
134
134
void radiusSearch (const Queries& centers, const Radiuses& radiuses, int max_results, NeighborIndices& result) const ;
135
135
136
136
/* * \brief Performs batch radius search on GPU
137
137
* \param[in] centers array of centers
138
- * \param[in] indices indices for centers array (only for these points search is performed)
138
+ * \param[in] indices indices for centers array (only for these points is search performed)
139
139
* \param[in] radius radius for all queries
140
- * \param[in] max_results max number of returned points for each querey
140
+ * \param[in] max_results max number of returned points for each query
141
141
* \param[out] result results packed to single array
142
142
*/
143
143
void radiusSearch (const Queries& centers, const Indices& indices, float radius, int max_results, NeighborIndices& result) const ;
@@ -175,7 +175,7 @@ namespace pcl
175
175
* \param[in] cloud cloud where to search
176
176
* \param[in] query query point
177
177
* \param[in] radius radius
178
- * \param[out] result indeces of points within give sphere
178
+ * \param[out] result indices of points within give sphere
179
179
* \param[in] buffer buffer for intermediate results. Keep reference to it between calls to eliminate internal allocations
180
180
*/
181
181
PCL_EXPORTS void bruteForceRadiusSearchGPU (const Octree::PointCloud& cloud, const Octree::PointType& query, float radius, DeviceArray<int >& result, DeviceArray<int >& buffer);
0 commit comments