NTRT Simulator
 All Classes Files Functions Variables Typedefs Friends Pages
tgCPGInfo Class Reference

Public Member Functions

const int getNodeNumber () const
 
const CPGEquationsgetCPGSys () const
 
void addControlInfo (tgBaseCPGNode *string)
 

Protected Member Functions

 tgCPGInfo (CPGEquations *CPGSys, array_2D nodeParams)
 
void setConnectivity (tgConnectorInfo *thisString, std::vector< tgConnectorInfo * > allStrings, array_4D edgeParams)
 

Detailed Description

Definition at line 31 of file tgCPGInfo.h.

Constructor & Destructor Documentation

tgCPGInfo::tgCPGInfo ( CPGEquations CPGSys,
array_2D  nodeParams 
)
protected

Node parameters are required right

Definition at line 29 of file tgCPGInfo.cpp.

Member Function Documentation

void tgCPGInfo::addControlInfo ( tgBaseCPGNode string)

Give the CPG information to the tgModel

Todo:
see if this can be ready for construction of the tgModel the first time. Would require editing tgStructureInfo

Definition at line 110 of file tgCPGInfo.cpp.

const CPGEquations* tgCPGInfo::getCPGSys ( ) const
inline

Pointer to the CPG system. Owned by the higher level structure

Definition at line 44 of file tgCPGInfo.h.

void tgCPGInfo::setConnectivity ( tgConnectorInfo thisString,
std::vector< tgConnectorInfo * >  allStrings,
array_4D  edgeParams 
)
protected

Iterate through all other tgLinearStringCPGInfos, and determine CPG network by rigid body connectivity Can call these any time, but they'll only have the intended effect after all of the strings have been constructed.

Todo:
can we check to make sure the strings are on the same CPG system like we used to

Definition at line 50 of file tgCPGInfo.cpp.

Here is the call graph for this function:


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