Object3D.cc
Go to the documentation of this file.
00001 
00008 #include <blort/Recognizer3D/Object3D.hh>
00009 
00010 namespace P 
00011 {
00012 
00013 unsigned Object3D::idcnt=0;
00014 
00015 
00016 /********************** Object3D ************************
00017  * Constructor/Destructor
00018  */
00019 Object3D::Object3D()
00020  : id(UINT_MAX), conf(0.), err(DBL_MAX)
00021 {
00022 }
00023 
00024 Object3D::~Object3D()
00025 {
00026   DeleteCodebook(codebook);
00027 }
00028 
00029 
00030 
00031 
00032 /******************************** PUBLIC **************************/
00033 
00034 
00035 
00036 void DeleteObjects3D(Array<Object3D*> &objects)
00037 {
00038   for (unsigned i=0; i<objects.Size(); i++)
00039     delete objects[i];
00040   objects.Clear();
00041 }
00042 
00043 
00044 
00045 }
00046 


blort
Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Thu Jan 2 2014 11:38:25