MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
PosRel Class Referenceabstract

#include <posrel.h>

Inheritance diagram for PosRel:
Collaboration diagram for PosRel:

Public Member Functions

 PosRel (StructNode *pNode)
 
virtual ~PosRel (void)
 
const StructNodepGetNode (void) const
 
virtual const Vec3GetPosRel (void) const =0
 
virtual const Vec3GetPosAbs (void) const
 
virtual const Vec3GetPosGlob (void) const
 
virtual const Vec3GetVelAbs (void) const
 
virtual const Vec3GetVelGlob (void) const
 

Protected Attributes

StructNodepNode
 

Detailed Description

Definition at line 63 of file posrel.h.

Constructor & Destructor Documentation

PosRel::PosRel ( StructNode pNode)
virtual PosRel::~PosRel ( void  )
virtual

Member Function Documentation

const StructNode * PosRel::GetPosAbs ( void  ) const
inlinevirtual

Definition at line 86 of file posrel.h.

References GetPosRel(), StructNode::GetRCurr(), and pNode.

87 {
88  return pNode->GetRCurr()*GetPosRel();
89 }
virtual const Mat3x3 & GetRCurr(void) const
Definition: strnode.h:1012
virtual const Vec3 & GetPosRel(void) const =0
StructNode * pNode
Definition: posrel.h:65

Here is the call graph for this function:

const StructNode * PosRel::GetPosGlob ( void  ) const
inlinevirtual

Definition at line 91 of file posrel.h.

References GetPosRel(), StructNode::GetRCurr(), StructDispNode::GetXCurr(), and pNode.

92 {
93  return pNode->GetXCurr()+pNode->GetRCurr()*GetPosRel();
94 }
virtual const Mat3x3 & GetRCurr(void) const
Definition: strnode.h:1012
virtual const Vec3 & GetPosRel(void) const =0
StructNode * pNode
Definition: posrel.h:65
virtual const Vec3 & GetXCurr(void) const
Definition: strnode.h:310

Here is the call graph for this function:

virtual const Vec3& PosRel::GetPosRel ( void  ) const
pure virtual

Implemented in FixedDirPosRel, and ConstPosRel.

Referenced by GetPosAbs(), GetPosGlob(), GetVelAbs(), and GetVelGlob().

const StructNode * PosRel::GetVelAbs ( void  ) const
inlinevirtual

Definition at line 96 of file posrel.h.

References Vec3::Cross(), GetPosRel(), StructNode::GetRCurr(), StructNode::GetWCurr(), and pNode.

97 {
98  return pNode->GetWCurr().Cross(pNode->GetRCurr()*GetPosRel());
99 }
Vec3 Cross(const Vec3 &v) const
Definition: matvec3.h:218
virtual const Mat3x3 & GetRCurr(void) const
Definition: strnode.h:1012
virtual const Vec3 & GetPosRel(void) const =0
StructNode * pNode
Definition: posrel.h:65
virtual const Vec3 & GetWCurr(void) const
Definition: strnode.h:1030

Here is the call graph for this function:

const StructNode * PosRel::GetVelGlob ( void  ) const
inlinevirtual

Definition at line 101 of file posrel.h.

References Vec3::Cross(), GetPosRel(), StructNode::GetRCurr(), StructDispNode::GetVCurr(), StructNode::GetWCurr(), and pNode.

102 {
103  return pNode->GetVCurr()
105 }
Vec3 Cross(const Vec3 &v) const
Definition: matvec3.h:218
virtual const Mat3x3 & GetRCurr(void) const
Definition: strnode.h:1012
virtual const Vec3 & GetPosRel(void) const =0
StructNode * pNode
Definition: posrel.h:65
virtual const Vec3 & GetWCurr(void) const
Definition: strnode.h:1030
virtual const Vec3 & GetVCurr(void) const
Definition: strnode.h:322

Here is the call graph for this function:

const StructNode * PosRel::pGetNode ( void  ) const
inline

Definition at line 81 of file posrel.h.

References pNode.

82 {
83  return pNode;
84 }
StructNode * pNode
Definition: posrel.h:65

Member Data Documentation

StructNode* PosRel::pNode
protected

Definition at line 65 of file posrel.h.

Referenced by GetPosAbs(), GetPosGlob(), GetVelAbs(), GetVelGlob(), and pGetNode().


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