59 if (input_->isOrganized ())
70 tree_->setInputCloud (surface_);
73 if (search_radius_ != 0.0)
77 PCL_ERROR (
"[pcl::%s::initCompute] Both radius (%f) and K (%d) defined! Set one of them to zero first and then re-run compute ().\n", getClassName ().
c_str (), search_radius_, k_);
82 search_parameter_ = search_radius_;
83 if (surface_ == input_)
104 search_parameter_ = k_;
105 if (surface_ == input_)
124 PCL_ERROR (
"[pcl::%s::initCompute] Neither radius nor K defined! Set one of them to a positive number first and then re-run compute ().\n", getClassName ().
c_str ());
130 keypoints_indices_->indices.reserve (input_->size ());