Choreonoid  1.8
Public Types | Public Member Functions | Friends | List of all members
cnoid::CoordinateFrame Class Reference

#include <CoordinateFrame.h>

Inheritance diagram for cnoid::CoordinateFrame:
cnoid::Referenced

Public Types

enum  Mode { Local, Global }
 
enum  UpdateFlag { IdUpdate = 1 << 0, ModeUpdate = 1 << 1, NoteUpdate = 1 << 2, PositionUpdate = 1 << 3 }
 

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW CoordinateFrame ()
 
 CoordinateFrame (const GeneralId &id)
 
 CoordinateFrame (const CoordinateFrame &org)
 
 CoordinateFrame (const GeneralId &id, CoordinateFrameList *owner)
 
const GeneralIdid () const
 
bool resetId (const GeneralId &id)
 
void setMode (int mode)
 
int mode () const
 
bool isLocal () const
 
bool isGlobal () const
 
const Isometry3T () const
 
const Isometry3position () const
 
void setPosition (const Isometry3 &T)
 
const std::string & note () const
 
void setNote (const std::string &note)
 
CoordinateFrameListownerFrameList () const
 
bool read (const Mapping &archive)
 
bool write (Mapping &archive) const
 
SignalProxy< void(int flags)> sigUpdated ()
 
void notifyUpdate (int flags)
 
- Public Member Functions inherited from cnoid::Referenced
virtual ~Referenced ()
 

Friends

class CoordinateFrameList
 

Additional Inherited Members

- Protected Member Functions inherited from cnoid::Referenced
 Referenced ()
 
 Referenced (const Referenced &)
 
int refCount () const
 

Member Enumeration Documentation

◆ Mode

Enumerator
Local 
Global 

◆ UpdateFlag

Enumerator
IdUpdate 
ModeUpdate 
NoteUpdate 
PositionUpdate 

Constructor & Destructor Documentation

◆ CoordinateFrame() [1/4]

CoordinateFrame::CoordinateFrame ( )

◆ CoordinateFrame() [2/4]

CoordinateFrame::CoordinateFrame ( const GeneralId id)

◆ CoordinateFrame() [3/4]

CoordinateFrame::CoordinateFrame ( const CoordinateFrame org)

◆ CoordinateFrame() [4/4]

CoordinateFrame::CoordinateFrame ( const GeneralId id,
CoordinateFrameList owner 
)

This constructor is used in a special case where the frame is not actually contained in the owner, but the frame needs to set the owner formally.

Member Function Documentation

◆ id()

const GeneralId& cnoid::CoordinateFrame::id ( ) const
inline

◆ isGlobal()

bool cnoid::CoordinateFrame::isGlobal ( ) const
inline

◆ isLocal()

bool cnoid::CoordinateFrame::isLocal ( ) const
inline

◆ mode()

int cnoid::CoordinateFrame::mode ( ) const
inline

◆ note()

const std::string& cnoid::CoordinateFrame::note ( ) const
inline

◆ notifyUpdate()

void CoordinateFrame::notifyUpdate ( int  flags)

◆ ownerFrameList()

CoordinateFrameList * CoordinateFrame::ownerFrameList ( ) const

◆ position()

const Isometry3& cnoid::CoordinateFrame::position ( ) const
inline

◆ read()

bool CoordinateFrame::read ( const Mapping archive)

◆ resetId()

bool CoordinateFrame::resetId ( const GeneralId id)

◆ setMode()

void cnoid::CoordinateFrame::setMode ( int  mode)
inline

◆ setNote()

void cnoid::CoordinateFrame::setNote ( const std::string &  note)
inline

◆ setPosition()

void cnoid::CoordinateFrame::setPosition ( const Isometry3 T)
inline

◆ sigUpdated()

SignalProxy<void(int flags)> cnoid::CoordinateFrame::sigUpdated ( )
inline

◆ T()

const Isometry3& cnoid::CoordinateFrame::T ( ) const
inline

◆ write()

bool CoordinateFrame::write ( Mapping archive) const

Friends And Related Function Documentation

◆ CoordinateFrameList

friend class CoordinateFrameList
friend

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