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

#include <posrel.h>

Inheritance diagram for FixedDirPosRel:
Collaboration diagram for FixedDirPosRel:

Public Member Functions

 FixedDirPosRel (StructNode *pNode, const Vec3 &v, const DriveCaller *pDC)
 
virtual ~FixedDirPosRel (void)
 
virtual const Vec3GetPosRel (void) const
 
- Public Member Functions inherited from PosRel
 PosRel (StructNode *pNode)
 
virtual ~PosRel (void)
 
const StructNodepGetNode (void) const
 
virtual const Vec3GetPosAbs (void) const
 
virtual const Vec3GetPosGlob (void) const
 
virtual const Vec3GetVelAbs (void) const
 
virtual const Vec3GetVelGlob (void) const
 

Protected Attributes

Vec3 v
 
DriveOwner d
 
- Protected Attributes inherited from PosRel
StructNodepNode
 

Detailed Description

Definition at line 132 of file posrel.h.

Constructor & Destructor Documentation

FixedDirPosRel::FixedDirPosRel ( StructNode pNode,
const Vec3 v,
const DriveCaller pDC 
)
virtual FixedDirPosRel::~FixedDirPosRel ( void  )
virtual

Member Function Documentation

const Vec3 & FixedDirPosRel::GetPosRel ( void  ) const
inlinevirtual

Implements PosRel.

Definition at line 144 of file posrel.h.

References d, DriveOwner::dGet(), and v.

145 {
146  return v*d.dGet();
147 }
doublereal dGet(const doublereal &dVar) const
Definition: drive.cc:664
DriveOwner d
Definition: posrel.h:135

Here is the call graph for this function:

Member Data Documentation

DriveOwner FixedDirPosRel::d
protected

Definition at line 135 of file posrel.h.

Referenced by GetPosRel().

Vec3 FixedDirPosRel::v
protected

Definition at line 134 of file posrel.h.

Referenced by GetPosRel().


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