Specialized class a version of the model which loads its geometry dirrectly from the database. More...
#include <graspit_db_model.h>
Public Member Functions | |
GeomGraspitDBModel (db_planner::DatabaseManager *manager) | |
Emty Stub. | |
Private Member Functions | |
virtual int | loadGeometry () |
Gets the geometry directly form the database, in binary format. | |
Private Attributes | |
db_planner::DatabaseManager * | mManager |
Pointer to the db manager which can load the geometry on demand. |
Specialized class a version of the model which loads its geometry dirrectly from the database.
Might be integrated into the class above at some point
Definition at line 76 of file graspit_db_model.h.
GeomGraspitDBModel::GeomGraspitDBModel | ( | db_planner::DatabaseManager * | manager | ) | [inline] |
Emty Stub.
Definition at line 85 of file graspit_db_model.h.
int GeomGraspitDBModel::loadGeometry | ( | ) | [private, virtual] |
Gets the geometry directly form the database, in binary format.
Uses the stored vectors of vertices and triangles to initialize geometry; if these are not yet in memory, will first ask the manager to load them.
Reimplemented from GraspitDBModel.
Definition at line 119 of file graspit_db_model.cpp.
Pointer to the db manager which can load the geometry on demand.
Definition at line 80 of file graspit_db_model.h.