48 #include <pcl/recognition/ransac_based/model_library.h>
49 #include <pcl/recognition/ransac_based/auxiliary.h>
129 bounds[0] = bounds[1] = p[0];
130 bounds[2] = bounds[3] = p[1];
131 bounds[4] = bounds[5] = p[2];
float rigid_transform_[12]
HypothesisBase(const ModelLibrary::Model *obj_model)
void setModel(const ModelLibrary::Model *model)
virtual ~HypothesisBase()=default
HypothesisBase(const ModelLibrary::Model *obj_model, const float *rigid_transform)
const ModelLibrary::Model * obj_model_
~Hypothesis() override=default
void computeCenterOfMass(float center_of_mass[3]) const
std::set< int > explained_pixels_
Hypothesis(const Hypothesis &src)
Hypothesis(const ModelLibrary::Model *obj_model=nullptr)
const Hypothesis & operator=(const Hypothesis &src)
void computeBounds(float bounds[6]) const
Stores some information about the model.
const float * getOctreeCenterOfMass() const
const float * getBoundsOfOctreePoints() const
void expandBoundingBoxToContainPoint(T bbox[6], const T p[3])
Expands the bounding box 'bbox' such that it contains the point 'p'.
void transform(const T t[12], const T p[3], T out[3])
The first 9 elements of 't' are treated as a 3x3 matrix (row major order) and the last 3 as a transla...