Container class for histogram and SURF descriptor of an object. More...
#include <ObjectProperties.h>
Public Member Functions | |
void | addImageProperties (ImagePropertiesCV *imageProperties) |
Takes ownership of the given ImageProperties. | |
void | deleteImageProperties (std::string name) |
void | deleteImageProperties (int index) |
std::vector< std::string > | getImageNames () |
const std::vector < ImagePropertiesCV * > | getImageProperties () const |
const ImagePropertiesCV * | getImageProperties (std::string name) const |
std::string | getName () |
std::string | getType () |
template<class Archive > | |
void | load (Archive &ar, const unsigned int version_b) |
ObjectProperties (std::string name="") | |
Default constructor. | |
ObjectProperties (const ObjectProperties &other) | |
Copy constructor. | |
ObjectProperties & | operator= (const ObjectProperties &right) |
Assignment operator. | |
void | printOn (std::ostream &strm) |
Print object information. | |
template<class Archive > | |
void | save (Archive &ar, const unsigned int version) const |
void | setName (std::string name) |
void | setType (std::string type) |
Set type of ObjectProperty (e.g. face or object ) | |
~ObjectProperties () | |
The destructor. | |
Private Attributes | |
std::vector< ImagePropertiesCV * > | m_ImageProperties |
std::string | m_Name |
std::string | m_Type |
Friends | |
class | boost::serialization::access |
Container class for histogram and SURF descriptor of an object.
Definition at line 31 of file ObjectProperties.h.
ObjectProperties::ObjectProperties | ( | std::string | name = "" | ) |
Default constructor.
ObjectProperties::ObjectProperties | ( | const ObjectProperties & | other | ) |
Copy constructor.
The destructor.
void ObjectProperties::addImageProperties | ( | ImagePropertiesCV * | imageProperties | ) |
Takes ownership of the given ImageProperties.
void ObjectProperties::deleteImageProperties | ( | std::string | name | ) |
void ObjectProperties::deleteImageProperties | ( | int | index | ) |
std::vector<std::string> ObjectProperties::getImageNames | ( | ) |
const std::vector< ImagePropertiesCV* > ObjectProperties::getImageProperties | ( | ) | const [inline] |
Definition at line 68 of file ObjectProperties.h.
const ImagePropertiesCV* ObjectProperties::getImageProperties | ( | std::string | name | ) | const |
std::string ObjectProperties::getName | ( | ) | [inline] |
Definition at line 63 of file ObjectProperties.h.
std::string ObjectProperties::getType | ( | ) | [inline] |
Definition at line 66 of file ObjectProperties.h.
void ObjectProperties::load | ( | Archive & | ar, |
const unsigned int | version_b | ||
) | [inline] |
Definition at line 97 of file ObjectProperties.h.
ObjectProperties& ObjectProperties::operator= | ( | const ObjectProperties & | right | ) |
Assignment operator.
void ObjectProperties::printOn | ( | std::ostream & | strm | ) |
Print object information.
void ObjectProperties::save | ( | Archive & | ar, |
const unsigned int | version | ||
) | const [inline] |
Definition at line 79 of file ObjectProperties.h.
void ObjectProperties::setName | ( | std::string | name | ) | [inline] |
Definition at line 55 of file ObjectProperties.h.
void ObjectProperties::setType | ( | std::string | type | ) | [inline] |
Set type of ObjectProperty (e.g. face or object )
Definition at line 53 of file ObjectProperties.h.
friend class boost::serialization::access [friend] |
Definition at line 35 of file ObjectProperties.h.
std::vector< ImagePropertiesCV* > ObjectProperties::m_ImageProperties [private] |
Definition at line 132 of file ObjectProperties.h.
std::string ObjectProperties::m_Name [private] |
Definition at line 128 of file ObjectProperties.h.
std::string ObjectProperties::m_Type [private] |
Definition at line 130 of file ObjectProperties.h.