Choreonoid  1.8
Public Member Functions | Protected Member Functions | List of all members
cnoid::MprTagTraceStatement Class Referenceabstract

#include <MprTagTraceStatement.h>

Inheritance diagram for cnoid::MprTagTraceStatement:
cnoid::MprStructuredStatement cnoid::MprStatement cnoid::ClonableReferenced cnoid::Referenced

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW MprTagTraceStatement ()
 
virtual std::string label (int index) const override
 
void setTagGroupName (const std::string &name)
 
const std::string & tagGroupName () const
 
const std::string & originalTagGroupName () const
 
void setTagGroup (PositionTagGroup *tags, bool doUpdateTagGroupName, bool doUpdateTagTraceProgram)
 
PositionTagGrouptagGroup ()
 
const Isometry3tagGroupPosition () const
 The position of the tag group on the base coordinate frame. More...
 
void setTagGroupPosition (const Isometry3 &T)
 
const GeneralIdbaseFrameId () const
 
const GeneralIdoffsetFrameId () const
 
void setBaseFrameId (const GeneralId &id)
 
void setOffsetFrameId (const GeneralId &id)
 
void updateFramesWithCurrentFrames (LinkKinematicsKit *kinematicsKit)
 
void updateTagGroupPositionWithGlobalCoordinate (LinkKinematicsKit *kinematicsKit, const Isometry3 &T_global)
 
virtual bool updateTagTraceProgram ()=0
 
bool decomposeIntoTagTraceStatements ()
 
virtual bool isExpandedByDefault () const override
 
virtual bool read (MprProgram *program, const Mapping &archive) override
 
virtual bool write (Mapping &archive) const override
 
- Public Member Functions inherited from cnoid::MprStructuredStatement
MprProgramlowerLevelProgram ()
 
const MprProgramlowerLevelProgram () const
 
void setStructuredStatementAttribute (int attr)
 
bool hasStructuredStatementAttribute (int attr) const
 
virtual MprProgramgetLowerLevelProgram () override
 
- Public Member Functions inherited from cnoid::MprStatement
int classId () const
 
MprStatementclone () const
 
MprStatementclone (CloneMap &cloneMap) const
 
std::string label () const
 
MprProgramholderProgram () const
 
MprStructuredStatementholderStatement () const
 
MprProgramtopLevelProgram () const
 
void notifyUpdate ()
 
- Public Member Functions inherited from cnoid::ClonableReferenced
virtual ReferenceddoClone (CloneMap *cloneMap) const =0
 
- Public Member Functions inherited from cnoid::Referenced
virtual ~Referenced ()
 

Protected Member Functions

 MprTagTraceStatement (const MprTagTraceStatement &org, CloneMap *cloneMap)
 
virtual void onTagAdded (int index)
 
virtual void onTagRemoved (int index)
 
virtual void onTagPositionUpdated (int index)
 
virtual void onTagGroupOriginOffsetChanged ()
 
- Protected Member Functions inherited from cnoid::MprStructuredStatement
 MprStructuredStatement ()
 
 MprStructuredStatement (const MprStructuredStatement &org, CloneMap *cloneMap)
 
 ~MprStructuredStatement ()
 
- Protected Member Functions inherited from cnoid::MprStatement
 MprStatement ()
 
 MprStatement (const MprStatement &org)
 
 ~MprStatement ()
 
- Protected Member Functions inherited from cnoid::Referenced
 Referenced ()
 
 Referenced (const Referenced &)
 
int refCount () const
 

Additional Inherited Members

- Public Types inherited from cnoid::MprStructuredStatement
enum  Attribute { ArbitraryLowerLevelProgram = 1 }
 

Constructor & Destructor Documentation

◆ MprTagTraceStatement() [1/2]

MprTagTraceStatement::MprTagTraceStatement ( )

◆ MprTagTraceStatement() [2/2]

MprTagTraceStatement::MprTagTraceStatement ( const MprTagTraceStatement org,
CloneMap cloneMap 
)
protected

Member Function Documentation

◆ baseFrameId()

const GeneralId& cnoid::MprTagTraceStatement::baseFrameId ( ) const
inline

◆ decomposeIntoTagTraceStatements()

bool MprTagTraceStatement::decomposeIntoTagTraceStatements ( )

◆ isExpandedByDefault()

bool MprTagTraceStatement::isExpandedByDefault ( ) const
overridevirtual

Reimplemented from cnoid::MprStructuredStatement.

◆ label()

std::string MprTagTraceStatement::label ( int  index) const
overridevirtual

Implements cnoid::MprStatement.

◆ offsetFrameId()

const GeneralId& cnoid::MprTagTraceStatement::offsetFrameId ( ) const
inline

◆ onTagAdded()

void MprTagTraceStatement::onTagAdded ( int  index)
protectedvirtual

◆ onTagGroupOriginOffsetChanged()

void MprTagTraceStatement::onTagGroupOriginOffsetChanged ( )
protectedvirtual

◆ onTagPositionUpdated()

void MprTagTraceStatement::onTagPositionUpdated ( int  index)
protectedvirtual

◆ onTagRemoved()

void MprTagTraceStatement::onTagRemoved ( int  index)
protectedvirtual

◆ originalTagGroupName()

const std::string& cnoid::MprTagTraceStatement::originalTagGroupName ( ) const
inline

◆ read()

bool MprTagTraceStatement::read ( MprProgram program,
const Mapping archive 
)
overridevirtual

Reimplemented from cnoid::MprStructuredStatement.

◆ setBaseFrameId()

void cnoid::MprTagTraceStatement::setBaseFrameId ( const GeneralId id)
inline

◆ setOffsetFrameId()

void cnoid::MprTagTraceStatement::setOffsetFrameId ( const GeneralId id)
inline

◆ setTagGroup()

void MprTagTraceStatement::setTagGroup ( PositionTagGroup tags,
bool  doUpdateTagGroupName,
bool  doUpdateTagTraceProgram 
)

◆ setTagGroupName()

void cnoid::MprTagTraceStatement::setTagGroupName ( const std::string &  name)
inline

◆ setTagGroupPosition()

void cnoid::MprTagTraceStatement::setTagGroupPosition ( const Isometry3 T)
inline

◆ tagGroup()

PositionTagGroup* cnoid::MprTagTraceStatement::tagGroup ( )
inline

◆ tagGroupName()

const std::string& cnoid::MprTagTraceStatement::tagGroupName ( ) const
inline

◆ tagGroupPosition()

const Isometry3& cnoid::MprTagTraceStatement::tagGroupPosition ( ) const
inline

The position of the tag group on the base coordinate frame.

◆ updateFramesWithCurrentFrames()

void MprTagTraceStatement::updateFramesWithCurrentFrames ( LinkKinematicsKit kinematicsKit)

◆ updateTagGroupPositionWithGlobalCoordinate()

void MprTagTraceStatement::updateTagGroupPositionWithGlobalCoordinate ( LinkKinematicsKit kinematicsKit,
const Isometry3 T_global 
)

◆ updateTagTraceProgram()

virtual bool cnoid::MprTagTraceStatement::updateTagTraceProgram ( )
pure virtual

◆ write()

bool MprTagTraceStatement::write ( Mapping archive) const
overridevirtual

Reimplemented from cnoid::MprStructuredStatement.


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