Solar
|
A generic map composed of an identification and a coordinate system. This class provides a generic map. More...
#include <Map.h>
Public Types | |
enum | MapType { _PointCloud = 0x01 , _Keyframe = 0x02 , _CovisibilityGraph = 0x04 , _KFRetriever = 0x08 } |
Public Member Functions | |
Map () | |
Map constructor. | |
Map (const Map &other)=default | |
Map & | operator= (const Map &other)=default |
Map (MapType type) | |
~Map ()=default | |
~Map | |
bool | handles (MapType type) |
This method is to check an element existed in the map. More... | |
const SRef< Identification > & | getConstIdentification () const |
This method returns the identification. More... | |
std::unique_lock< std::mutex > | getIdentification (SRef< Identification > &identification) |
This method returns the identification. More... | |
void | setIdentification (const SRef< Identification > identification) |
This method is to set the identification. More... | |
const SRef< CoordinateSystem > & | getConstCoordinateSystem () const |
This method returns the coordinate system. More... | |
std::unique_lock< std::mutex > | getCoordinateSystem (SRef< CoordinateSystem > &coordinateSystem) |
This method returns the coordinate system. More... | |
void | setCoordinateSystem (const SRef< CoordinateSystem > coordinateSystem) |
This method is to set the coordinate system. More... | |
const SRef< PointCloud > & | getConstPointCloud () const |
This method returns the point cloud. More... | |
std::unique_lock< std::mutex > | getPointCloud (SRef< PointCloud > &pointCloud) |
This method returns the point cloud. More... | |
void | setPointCloud (const SRef< PointCloud > pointCloud) |
This method is to set the point cloud. More... | |
const SRef< KeyframeCollection > & | getConstKeyframeCollection () const |
This method returns the keyframe collection. More... | |
std::unique_lock< std::mutex > | getKeyframeCollection (SRef< KeyframeCollection > &keyframeCollection) |
This method returns the keyframe collection. More... | |
void | setKeyframeCollection (const SRef< KeyframeCollection > keyframeCollection) |
This method is to set the keyframe collection. More... | |
const SRef< CovisibilityGraph > & | getConstCovisibilityGraph () const |
This method returns the covisibility graph. More... | |
std::unique_lock< std::mutex > | getCovisibilityGraph (SRef< CovisibilityGraph > &covisibilityGraph) |
This method returns the covisibility graph. More... | |
void | setCovisibilityGraph (const SRef< CovisibilityGraph > covisibilityGraph) |
This method is to set the covisibility graph. More... | |
const SRef< KeyframeRetrieval > & | getConstKeyframeRetrieval () const |
This method returns the keyframe retrieval. More... | |
std::unique_lock< std::mutex > | getKeyframeRetrieval (SRef< KeyframeRetrieval > &keyframeRetrieval) |
This method returns the keyframe retrieval. More... | |
void | setKeyframeRetrieval (const SRef< KeyframeRetrieval > keyframeRetrieval) |
This method is to set the keyframe retrieval. More... | |
template<typename Archive > | |
void | serialize (Archive &ar, ATTRIBUTE(maybe_unused) const unsigned int version) |
Friends | |
class | boost::serialization::access |
A generic map composed of an identification and a coordinate system. This class provides a generic map.
const SRef< CoordinateSystem > & SolAR::datastructure::Map::getConstCoordinateSystem | ( | ) | const |
This method returns the coordinate system.
const SRef< CovisibilityGraph > & SolAR::datastructure::Map::getConstCovisibilityGraph | ( | ) | const |
This method returns the covisibility graph.
const SRef< Identification > & SolAR::datastructure::Map::getConstIdentification | ( | ) | const |
This method returns the identification.
const SRef< KeyframeCollection > & SolAR::datastructure::Map::getConstKeyframeCollection | ( | ) | const |
This method returns the keyframe collection.
const SRef< KeyframeRetrieval > & SolAR::datastructure::Map::getConstKeyframeRetrieval | ( | ) | const |
This method returns the keyframe retrieval.
const SRef< PointCloud > & SolAR::datastructure::Map::getConstPointCloud | ( | ) | const |
This method returns the point cloud.
std::unique_lock< std::mutex > SolAR::datastructure::Map::getCoordinateSystem | ( | SRef< CoordinateSystem > & | coordinateSystem | ) |
This method returns the coordinate system.
[out] | coordinateSystem | the coordinate system of map |
std::unique_lock< std::mutex > SolAR::datastructure::Map::getCovisibilityGraph | ( | SRef< CovisibilityGraph > & | covisibilityGraph | ) |
This method returns the covisibility graph.
[out] | covisibilityGraph | the covisibility graph of map |
std::unique_lock< std::mutex > SolAR::datastructure::Map::getIdentification | ( | SRef< Identification > & | identification | ) |
This method returns the identification.
[out] | identification | the identification of map |
std::unique_lock< std::mutex > SolAR::datastructure::Map::getKeyframeCollection | ( | SRef< KeyframeCollection > & | keyframeCollection | ) |
This method returns the keyframe collection.
[out] | keyframeCollection | the keyframe collection of map |
std::unique_lock< std::mutex > SolAR::datastructure::Map::getKeyframeRetrieval | ( | SRef< KeyframeRetrieval > & | keyframeRetrieval | ) |
This method returns the keyframe retrieval.
[out] | keyframeRetrieval | the keyframe retrieval of map |
std::unique_lock< std::mutex > SolAR::datastructure::Map::getPointCloud | ( | SRef< PointCloud > & | pointCloud | ) |
This method returns the point cloud.
[out] | pointCloud | the point cloud |
|
inline |
This method is to check an element existed in the map.
void SolAR::datastructure::Map::setCoordinateSystem | ( | const SRef< CoordinateSystem > | coordinateSystem | ) |
This method is to set the coordinate system.
[in] | coordinateSystem | the coordinate system of map |
void SolAR::datastructure::Map::setCovisibilityGraph | ( | const SRef< CovisibilityGraph > | covisibilityGraph | ) |
This method is to set the covisibility graph.
[in] | covisibilityGraph | the covisibility graph of map |
void SolAR::datastructure::Map::setIdentification | ( | const SRef< Identification > | identification | ) |
This method is to set the identification.
[in] | identification | the identification of map |
void SolAR::datastructure::Map::setKeyframeCollection | ( | const SRef< KeyframeCollection > | keyframeCollection | ) |
This method is to set the keyframe collection.
[in] | keyframeCollection | the keyframe collection of map |
void SolAR::datastructure::Map::setKeyframeRetrieval | ( | const SRef< KeyframeRetrieval > | keyframeRetrieval | ) |
This method is to set the keyframe retrieval.
[in] | keyframeRetrieval | the keyframe retrieval of map |
void SolAR::datastructure::Map::setPointCloud | ( | const SRef< PointCloud > | pointCloud | ) |
This method is to set the point cloud.
[in] | pointCloud | the point cloud |