Classes | Public Member Functions | Private Attributes | List of all members
ProbabilisticSceneRecognition::TopologyAdapter Class Reference

#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
 

Detailed Description

Transforms topologies from PSM to ISM and vice versa.

Definition at line 30 of file TopologyAdapter.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

boost::shared_ptr< SceneModel::Topology > ProbabilisticSceneRecognition::TopologyAdapter::ismToPsm ( ISM::TopologyPtr  pIsmTopology)

Transforms an ISM::Topology into a PSM SceneModel::Topology.

Parameters
pIsmTopologyISM::Topology to transform.
Returns
PSM Topology.

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.

Parameters
pPsmTopologyPSM SceneModel::Topology to transform.
Returns
ISM::Topology.

Definition at line 39 of file TopologyAdapter.cpp.

Member Data Documentation

unsigned int ProbabilisticSceneRecognition::TopologyAdapter::mISMTopologyIndex
private

Counter used for assigning a unique index to each new ISM Topology.

Definition at line 40 of file TopologyAdapter.h.

unsigned int ProbabilisticSceneRecognition::TopologyAdapter::mPSMTopologyIndex
private

Counter used for assigning a unique index to each new PSM Topology.

Definition at line 36 of file TopologyAdapter.h.

std::vector<SceneModel::Relation> ProbabilisticSceneRecognition::TopologyAdapter::mRelations
private

All possible relations mapped to unique indices.

Definition at line 44 of file TopologyAdapter.h.

std::string ProbabilisticSceneRecognition::TopologyAdapter::mSceneId
private

Id of the scene that is currently being recognized.

Definition at line 48 of file TopologyAdapter.h.


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


asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 04:00:09