Skip to content

Commit 2938ed0

Browse files
authored
Issue documentation change (#5889)
* Made_Changes * Made_Changes * Ran format.sh * Reset the changes * Added filter.set_negative * Final_Changes_made * Added_the_Changes
1 parent 464f929 commit 2938ed0

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

filters/include/pcl/filters/model_outlier_removal.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,24 @@ namespace pcl
4848
{
4949
/** \brief @b ModelOutlierRemoval filters points in a cloud based on the distance between model and point.
5050
* \details Iterates through the entire input once, automatically filtering non-finite points and the points outside
51-
* the model specified by setSampleConsensusModelPointer() and the threshold specified by setThreholdFunctionPointer().
5251
* <br><br>
5352
* Usage example:
5453
* \code
54+
*
5555
* pcl::ModelCoefficients model_coeff;
5656
* model_coeff.values.resize(4);
57-
* model_coeff.values[0] = 0; model_coeff.values[1] = 0; model_coeff.values[2] = 1.5; model_coeff.values[3] = 0.5;
57+
* model_coeff.values[0] = 0;
58+
* model_coeff.values[1] = 0;
59+
* model_coeff.values[2] = 1;
60+
* model_coeff.values[3] = 0.5;
5861
* pcl::ModelOutlierRemoval<pcl::PointXYZ> filter;
5962
* filter.setModelCoefficients (model_coeff);
6063
* filter.setThreshold (0.1);
6164
* filter.setModelType (pcl::SACMODEL_PLANE);
6265
* filter.setInputCloud (*cloud_in);
63-
* filter.setFilterLimitsNegative (false);
66+
* filter.setNegative (false);
6467
* filter.filter (*cloud_out);
68+
6569
* \endcode
6670
*/
6771
template <typename PointT>

0 commit comments

Comments
 (0)