#include <ObjectDatabaseEntry.h>
Public Member Functions | |
fs::path | getDeviationResourcePath () const |
std::vector< double > | getDeviationsFromFile () |
const fs::path | getNormalVectorResourcePath () |
std::vector< geometry_msgs::Point > | getNormalVectors () |
const fs::path | getPath () |
ObjectDatabaseRecognizer * | getRecognizer () |
const bool | getRotationInvarianceFromFile () |
fs::path | getRotationInvarianceResourcePath () const |
const fs::path | getRvizMeshResourcePath () |
const std::string | getUniqueName () |
ROS_DEPRECATED | ObjectDatabaseEntry (ObjectDatabaseRecognizer *recognizerPtr, const std::string uniqueName, const fs::path path, const fs::path rvizMeshResourcePath, const fs::path normalVectorResourcePath) |
ObjectDatabaseEntry (ObjectDatabaseRecognizer *recognizerPtr, const std::string uniqueName, const fs::path path, const fs::path rvizMeshResourcePath, const fs::path normalVectorResourcePath, const fs::path getDeviationResourcePath, const fs::path rotation_invariance_resource_path) | |
virtual | ~ObjectDatabaseEntry () |
Private Attributes | |
fs::path | deviation_resource_path_ |
std::vector< double > | deviations_ |
fs::path | mNormalVectorResourcePath |
std::vector< geometry_msgs::Point > | mNormalVectors |
fs::path | mPath |
ObjectDatabaseRecognizer * | mRecognizerPtr |
fs::path | mRvizMeshResourcePath |
std::string | mUniqueName |
fs::path | rotation_invariance_resource_path |
bool | rotation_invariant |
The class 'ObjectDatabaseEntry' contains all information about an entry in the object database.
Definition at line 38 of file ObjectDatabaseEntry.h.
object_database::ObjectDatabaseEntry::ObjectDatabaseEntry | ( | ObjectDatabaseRecognizer * | recognizerPtr, |
const std::string | uniqueName, | ||
const fs::path | path, | ||
const fs::path | rvizMeshResourcePath, | ||
const fs::path | normalVectorResourcePath | ||
) |
Creates a new database entry.
recognizerPtr | raw pointer to the type this entry belongs to - the passer guarantees for the lifetime of this pointer. |
uniqueName | the unique name this entry is identified by. |
path | the path to the entries definition file or directory. |
Definition at line 38 of file ObjectDatabaseEntry.cpp.
object_database::ObjectDatabaseEntry::ObjectDatabaseEntry | ( | ObjectDatabaseRecognizer * | recognizerPtr, |
const std::string | uniqueName, | ||
const fs::path | path, | ||
const fs::path | rvizMeshResourcePath, | ||
const fs::path | normalVectorResourcePath, | ||
const fs::path | getDeviationResourcePath, | ||
const fs::path | rotation_invariance_resource_path | ||
) |
Definition at line 50 of file ObjectDatabaseEntry.cpp.
virtual object_database::ObjectDatabaseEntry::~ObjectDatabaseEntry | ( | ) | [inline, virtual] |
Definition at line 57 of file ObjectDatabaseEntry.h.
fs::path object_database::ObjectDatabaseEntry::getDeviationResourcePath | ( | ) | const |
Definition at line 186 of file ObjectDatabaseEntry.cpp.
std::vector< double > object_database::ObjectDatabaseEntry::getDeviationsFromFile | ( | ) |
Definition at line 191 of file ObjectDatabaseEntry.cpp.
const fs::path object_database::ObjectDatabaseEntry::getNormalVectorResourcePath | ( | ) |
Definition at line 88 of file ObjectDatabaseEntry.cpp.
std::vector< geometry_msgs::Point > object_database::ObjectDatabaseEntry::getNormalVectors | ( | ) |
Definition at line 93 of file ObjectDatabaseEntry.cpp.
const fs::path object_database::ObjectDatabaseEntry::getPath | ( | ) |
Definition at line 78 of file ObjectDatabaseEntry.cpp.
Definition at line 68 of file ObjectDatabaseEntry.cpp.
Definition at line 243 of file ObjectDatabaseEntry.cpp.
fs::path object_database::ObjectDatabaseEntry::getRotationInvarianceResourcePath | ( | ) | const |
Definition at line 238 of file ObjectDatabaseEntry.cpp.
const fs::path object_database::ObjectDatabaseEntry::getRvizMeshResourcePath | ( | ) |
Definition at line 83 of file ObjectDatabaseEntry.cpp.
const std::string object_database::ObjectDatabaseEntry::getUniqueName | ( | ) |
Definition at line 73 of file ObjectDatabaseEntry.cpp.
fs::path object_database::ObjectDatabaseEntry::deviation_resource_path_ [private] |
Path containing the definition of deviation
Definition at line 128 of file ObjectDatabaseEntry.h.
std::vector<double> object_database::ObjectDatabaseEntry::deviations_ [private] |
Definition at line 136 of file ObjectDatabaseEntry.h.
fs::path object_database::ObjectDatabaseEntry::mNormalVectorResourcePath [private] |
Path containing the definition of normal vector.
Definition at line 123 of file ObjectDatabaseEntry.h.
std::vector<geometry_msgs::Point> object_database::ObjectDatabaseEntry::mNormalVectors [private] |
Definition at line 135 of file ObjectDatabaseEntry.h.
fs::path object_database::ObjectDatabaseEntry::mPath [private] |
Path containing the definition path or directory.
Definition at line 113 of file ObjectDatabaseEntry.h.
Raw pointer to Object Database recognizer.
Definition at line 103 of file ObjectDatabaseEntry.h.
fs::path object_database::ObjectDatabaseEntry::mRvizMeshResourcePath [private] |
Path containing the definition path or directory.
Definition at line 118 of file ObjectDatabaseEntry.h.
std::string object_database::ObjectDatabaseEntry::mUniqueName [private] |
String containing the unique name.
Definition at line 108 of file ObjectDatabaseEntry.h.
fs::path object_database::ObjectDatabaseEntry::rotation_invariance_resource_path [private] |
Path containing the definition of rotation invariance
Definition at line 133 of file ObjectDatabaseEntry.h.
bool object_database::ObjectDatabaseEntry::rotation_invariant [private] |
Definition at line 137 of file ObjectDatabaseEntry.h.