#include <TopologyAdapter.h>
Classes | |
class | CostFunction |
Public Member Functions | |
boost::shared_ptr< SceneModel::Topology > | ismToPsm (ISM::TopologyPtr pIsmTopology) |
ISM::TopologyPtr | psmToIsm (boost::shared_ptr< SceneModel::Topology > pPsmTopology) |
TopologyAdapter (std::vector< std::string > pObjectTypes, std::string pSceneId) | |
~TopologyAdapter () | |
Private Attributes | |
unsigned int | mISMTopologyIndex |
unsigned int | mPSMTopologyIndex |
std::vector< SceneModel::Relation > | mRelations |
std::string | mSceneId |
Transforms topologies from PSM to ISM and vice versa.
Definition at line 30 of file TopologyAdapter.h.
ProbabilisticSceneRecognition::TopologyAdapter::TopologyAdapter | ( | std::vector< std::string > | pObjectTypes, |
std::string | pSceneId | ||
) |
Constructor.
Definition at line 28 of file TopologyAdapter.cpp.
ProbabilisticSceneRecognition::TopologyAdapter::~TopologyAdapter | ( | ) |
Destructor.
Definition at line 36 of file TopologyAdapter.cpp.
boost::shared_ptr< SceneModel::Topology > ProbabilisticSceneRecognition::TopologyAdapter::ismToPsm | ( | ISM::TopologyPtr | pIsmTopology | ) |
Transforms an ISM::Topology into a PSM SceneModel::Topology.
pIsmTopology | ISM::Topology to transform. |
Definition at line 78 of file TopologyAdapter.cpp.
ISM::TopologyPtr ProbabilisticSceneRecognition::TopologyAdapter::psmToIsm | ( | boost::shared_ptr< SceneModel::Topology > | pPsmTopology | ) |
Transforms a PSM SceneModel::Topology into an ISM::Topology.
pPsmTopology | PSM SceneModel::Topology to transform. |
Definition at line 39 of file TopologyAdapter.cpp.
|
private |
Counter used for assigning a unique index to each new ISM Topology.
Definition at line 40 of file TopologyAdapter.h.
|
private |
Counter used for assigning a unique index to each new PSM Topology.
Definition at line 36 of file TopologyAdapter.h.
|
private |
All possible relations mapped to unique indices.
Definition at line 44 of file TopologyAdapter.h.
|
private |
Id of the scene that is currently being recognized.
Definition at line 48 of file TopologyAdapter.h.