21 #ifndef OBJECT_DESCRIPTOR_H 22 #define OBJECT_DESCRIPTOR_H 25 #include <HalconCpp.h> 86 ObjectDescriptor(std::string folder_path, std::string xml_path,
int instance_count,
bool use_pose_val);
HalconCpp::HSurfaceModel surface_model_
std::vector< ObjectViewDescriptor > model_view_descriptors_
HalconCpp::HSurfaceModel getSurfaceModel() const
int getRotationModelType() const
bool isValid() const
Checks whether this object can be used for recognition.
static const int ROTATION_MODEL_SPHERE
Eigen::Vector3d orientation_
std::vector< ObjectViewDescriptor > getModelViewDescriptors() const
int getInstanceCount() const
static const int ROTATION_MODEL_CYLINDER
std::string getMesh() const
double getScore3D() const
double getDiameter() const
void setUsePoseVal(bool usePoseVal)
bool getUsePoseVal() const
std::string getName() const
static const int ROTATION_MODEL_NONE
ObjectDescriptor(std::string folder_path, std::string xml_path, int instance_count, bool use_pose_val)
The constructor of this class.
Eigen::Vector3d getOrientation() const