Solar
Public Member Functions | Friends | List of all members
SolAR::datastructure::CoordinateSystem Class Reference

This component includes coordinate systems of a map. It can be a floating coordinate system or be related to other coordinate systems. More...

#include <CoordinateSystem.h>

Inheritance diagram for SolAR::datastructure::CoordinateSystem:
Inheritance graph
[legend]
Collaboration diagram for SolAR::datastructure::CoordinateSystem:
Collaboration graph
[legend]

Public Member Functions

 CoordinateSystem ()
 Identification constructor.
 
 ~CoordinateSystem ()=default
 ~Identification
 
void setAbsolutePosition (const Vector3f &position)
 Set the absolute position of this map in the earth coordinate. More...
 
const Vector3fgetAbsolutePosition () const
 Get the absolute position of this map in the earth coordinate. More...
 
void setAbsoluteRotation (const Vector3f &euler)
 Set the absolute euler rotation of this map in the earth coordinate. More...
 
const Vector3fgetAbsoluteRotation () const
 Get the absolute euler rotation of this map in the earth coordinate. More...
 
void setParentId (const boost::uuids::uuid &parent_uuid)
 Set the uuid of parent map that this map belongs to. More...
 
const boost::uuids::uuid & getParentId () const
 Get the uuid of parent map that this map belongs to. More...
 
void setParentTransform (const Transform3Df &parent_transform)
 Set the transformation matrix from this map to its parent map. More...
 
const Transform3DfgetParentTransform () const
 Get the transformation matrix from this map to its parent map. More...
 
bool isFloating () const
 Check this map is a floating map. More...
 
template<typename Archive >
void serialize (Archive &ar, ATTRIBUTE(maybe_unused) const unsigned int version)
 
- Public Member Functions inherited from SolAR::datastructure::Lockable
 Lockable ()=default
 LockableCollection constructor.
 
std::unique_lock< std::mutex > acquireLock ()
 This method returns the point cloud. More...
 
void lock ()
 
void unlock ()
 
bool tryLock ()
 

Friends

class boost::serialization::access
 

Detailed Description

This component includes coordinate systems of a map. It can be a floating coordinate system or be related to other coordinate systems.

Member Function Documentation

◆ getAbsolutePosition()

const Vector3f & SolAR::datastructure::CoordinateSystem::getAbsolutePosition ( ) const

Get the absolute position of this map in the earth coordinate.

Returns
the position

◆ getAbsoluteRotation()

const Vector3f & SolAR::datastructure::CoordinateSystem::getAbsoluteRotation ( ) const

Get the absolute euler rotation of this map in the earth coordinate.

Returns
the rotation

◆ getParentId()

const boost::uuids::uuid & SolAR::datastructure::CoordinateSystem::getParentId ( ) const

Get the uuid of parent map that this map belongs to.

Returns
the parent uuid

◆ getParentTransform()

const Transform3Df & SolAR::datastructure::CoordinateSystem::getParentTransform ( ) const

Get the transformation matrix from this map to its parent map.

Returns
the transformation matrix

◆ isFloating()

bool SolAR::datastructure::CoordinateSystem::isFloating ( ) const

Check this map is a floating map.

Returns
true if this is a floating map, false for otherwise

◆ setAbsolutePosition()

void SolAR::datastructure::CoordinateSystem::setAbsolutePosition ( const Vector3f position)

Set the absolute position of this map in the earth coordinate.

Parameters
[in]positionthe absolute position

◆ setAbsoluteRotation()

void SolAR::datastructure::CoordinateSystem::setAbsoluteRotation ( const Vector3f euler)

Set the absolute euler rotation of this map in the earth coordinate.

Parameters
[in]eulerthe absolute euler rotation

◆ setParentId()

void SolAR::datastructure::CoordinateSystem::setParentId ( const boost::uuids::uuid &  parent_uuid)

Set the uuid of parent map that this map belongs to.

Parameters
[in]parent_uuidthe parent uuid

◆ setParentTransform()

void SolAR::datastructure::CoordinateSystem::setParentTransform ( const Transform3Df parent_transform)

Set the transformation matrix from this map to its parent map.

Parameters
[in]parent_transformthe transformation matrix

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