Public Member Functions | Private Attributes | List of all members
object_database::ObjectDatabaseEntry Class Reference

#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 ()
 
ObjectDatabaseRecognizergetRecognizer ()
 
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
 
ObjectDatabaseRecognizermRecognizerPtr
 
fs::path mRvizMeshResourcePath
 
std::string mUniqueName
 
fs::path rotation_invariance_resource_path
 
bool rotation_invariant
 

Detailed Description

The class 'ObjectDatabaseEntry' contains all information about an entry in the object database.

Definition at line 38 of file ObjectDatabaseEntry.h.

Constructor & Destructor Documentation

◆ ObjectDatabaseEntry() [1/2]

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.

Parameters
recognizerPtrraw pointer to the type this entry belongs to - the passer guarantees for the lifetime of this pointer.
uniqueNamethe unique name this entry is identified by.
paththe path to the entries definition file or directory.

Definition at line 38 of file ObjectDatabaseEntry.cpp.

◆ ObjectDatabaseEntry() [2/2]

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.

◆ ~ObjectDatabaseEntry()

virtual object_database::ObjectDatabaseEntry::~ObjectDatabaseEntry ( )
inlinevirtual

Definition at line 57 of file ObjectDatabaseEntry.h.

Member Function Documentation

◆ getDeviationResourcePath()

fs::path object_database::ObjectDatabaseEntry::getDeviationResourcePath ( ) const

Definition at line 186 of file ObjectDatabaseEntry.cpp.

◆ getDeviationsFromFile()

std::vector< double > object_database::ObjectDatabaseEntry::getDeviationsFromFile ( )

Definition at line 191 of file ObjectDatabaseEntry.cpp.

◆ getNormalVectorResourcePath()

const fs::path object_database::ObjectDatabaseEntry::getNormalVectorResourcePath ( )
Returns
the path to the normal vector definition file.

Definition at line 88 of file ObjectDatabaseEntry.cpp.

◆ getNormalVectors()

std::vector< geometry_msgs::Point > object_database::ObjectDatabaseEntry::getNormalVectors ( )

Definition at line 93 of file ObjectDatabaseEntry.cpp.

◆ getPath()

const fs::path object_database::ObjectDatabaseEntry::getPath ( )
Returns
the path to the entries definition file or directory.

Definition at line 78 of file ObjectDatabaseEntry.cpp.

◆ getRecognizer()

ObjectDatabaseRecognizer * object_database::ObjectDatabaseEntry::getRecognizer ( )
Returns
the raw pointer to the object recognizer.

Definition at line 68 of file ObjectDatabaseEntry.cpp.

◆ getRotationInvarianceFromFile()

const bool object_database::ObjectDatabaseEntry::getRotationInvarianceFromFile ( )
Returns
whether the object is rotation invariant.

Definition at line 243 of file ObjectDatabaseEntry.cpp.

◆ getRotationInvarianceResourcePath()

fs::path object_database::ObjectDatabaseEntry::getRotationInvarianceResourcePath ( ) const

Definition at line 238 of file ObjectDatabaseEntry.cpp.

◆ getRvizMeshResourcePath()

const fs::path object_database::ObjectDatabaseEntry::getRvizMeshResourcePath ( )
Returns
the path to the entries definition file or directory.

Definition at line 83 of file ObjectDatabaseEntry.cpp.

◆ getUniqueName()

const std::string object_database::ObjectDatabaseEntry::getUniqueName ( )
Returns
the unique name of the entry

Definition at line 73 of file ObjectDatabaseEntry.cpp.

Member Data Documentation

◆ deviation_resource_path_

fs::path object_database::ObjectDatabaseEntry::deviation_resource_path_
private

Path containing the definition of deviation

Definition at line 128 of file ObjectDatabaseEntry.h.

◆ deviations_

std::vector<double> object_database::ObjectDatabaseEntry::deviations_
private

Definition at line 136 of file ObjectDatabaseEntry.h.

◆ mNormalVectorResourcePath

fs::path object_database::ObjectDatabaseEntry::mNormalVectorResourcePath
private

Path containing the definition of normal vector.

Definition at line 123 of file ObjectDatabaseEntry.h.

◆ mNormalVectors

std::vector<geometry_msgs::Point> object_database::ObjectDatabaseEntry::mNormalVectors
private

Definition at line 135 of file ObjectDatabaseEntry.h.

◆ mPath

fs::path object_database::ObjectDatabaseEntry::mPath
private

Path containing the definition path or directory.

Definition at line 113 of file ObjectDatabaseEntry.h.

◆ mRecognizerPtr

ObjectDatabaseRecognizer* object_database::ObjectDatabaseEntry::mRecognizerPtr
private

Raw pointer to Object Database recognizer.

Definition at line 103 of file ObjectDatabaseEntry.h.

◆ mRvizMeshResourcePath

fs::path object_database::ObjectDatabaseEntry::mRvizMeshResourcePath
private

Path containing the definition path or directory.

Definition at line 118 of file ObjectDatabaseEntry.h.

◆ mUniqueName

std::string object_database::ObjectDatabaseEntry::mUniqueName
private

String containing the unique name.

Definition at line 108 of file ObjectDatabaseEntry.h.

◆ rotation_invariance_resource_path

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.

◆ rotation_invariant

bool object_database::ObjectDatabaseEntry::rotation_invariant
private

Definition at line 137 of file ObjectDatabaseEntry.h.


The documentation for this class was generated from the following files:


asr_object_database
Author(s): Allgeyer Tobias, Aumann Florian, Borella Jocelyn, Braun Kai, Heizmann Heinrich, Heller Florian, Kasper Alexander, Marek Felix, Mehlhaus Jonas, Meißner Pascal, Schleicher Ralf, Stöckle Patrick, Walter Milena
autogenerated on Mon Feb 28 2022 21:49:21