Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 4, 2005, 5:44:21 AM (19 years ago)
Author:
bensch
Message:

orxonox/branches/parenting: written the Headers for the class TrackManager: this will be a lot of work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/parenting/src/track_manager.cc

    r3311 r3330  
    3939   \todo this deconstructor is not jet implemented - do it
    4040*/
    41 TrackManager::~TrackManager () {}
    42 
     41TrackManager::~TrackManager ()
     42{
     43
     44}
     45
     46/**
     47   \brief Searches for a given trackID.
     48   \param trackID the trackID to search for.
     49   \returns The TrackElement #trackID if found, NULL otherways.
     50*/
     51TrackElement TrackManager::findTrackElementByID(int trackID)
     52{
     53
     54}
     55
     56// INITIALIZE //
     57
     58/**
     59   \brief Sets the trackID we are working on.
     60   \param trackID the trackID we are working on
     61*/
     62void TrackManager::workOn(int trackID)
     63{
     64
     65}
     66
     67/**
     68   \brief Sets the Type of the Curve
     69   \brief curveType The Type to set
     70*/
     71void TrackManager::setType(CurveType curveType)
     72{
     73
     74}
     75
     76/**
     77   \brief Sets the length of the current path in seconds.
     78   \param time The length in seconds.
     79*/
     80
     81void TrackManager::setLength(float time)
     82{
     83
     84}
     85
     86/**
     87   \brief adds a point to the current TrackElement
     88   \param newPoint The point to add.
     89*/
     90void TrackManager::addPoint(Vector newPoint)
     91{
     92
     93}
     94
     95/**
     96   \brief adds save/splitpoint.
     97   \param newPoint The point to add.
     98*/
     99void TrackManager::addHotPoint(Vector newPoint)
     100{
     101
     102}
     103
     104/**
     105   \brief Sets the last HotPoint into a savePoint.
     106   
     107   If no HotPoint was defined the last added Point will be rendered into a savePoint. \n
     108   If the HotPoint was defined as a fork the Point will \b not be set into a savePoint.
     109*/
     110void TrackManager::setSavePoint(void)
     111{
     112 
     113}
     114
     115/**
     116   \brief adds some interessting non-linear movments through the level.
     117   \param count The Count of childrens the current HotPoint will have.
     118
     119   If no HotPoint was defined the last added Point will be rendered into a fork. \n
     120   If the HotPoint was defined as a savePoint the Point will \b not be set into a fork.
     121*/
     122void TrackManager::fork(int count, ...)
     123{
     124
     125}
     126
     127/**
     128   \brief adds some interessting non-linear movments through the level.
     129   \param count The Count of childrens the current HotPoint will have.
     130   \param trackIDs A Pointer to an Array of ints which will hold the trackID's (the user will have to reserve space for this).
     131
     132   \see void TrackManager::fork(int count, ...)
     133*/
     134void TrackManager::forkV(int count, int* trackIDs)
     135{
     136
     137}
     138
     139/**
     140   \brief decides under what condition a certain Path will be chosen.
     141   \param groupID the ID on which to choose the preceding move
     142   \param cond \todo think about this
     143*/
     144void TrackManager::condition(int groupID, PathCondition cond)
     145{
     146
     147}
     148
     149/**
     150   \brief joins some tracks together again.
     151   \param count The count of Paths to join.
     152
     153   Join will set the localTime to the longest time a Path has to get to this Point. \n
     154   Join will join all curves to the first curve.
     155*/
     156void TrackManager::join(int count, ...)
     157{
     158
     159}
     160
     161/**
     162   \brief joins some tracks together again.
     163   \param count The count of Paths to join.
     164   \param trackIDs an Array with the trackID's to join
     165
     166   \see void TrackManager::join(int count, ...)
     167*/
     168void TrackManager::joinV(int count, int* trackIDs)
     169{
     170
     171}
     172
     173// RUNTIME //
     174
     175/**
     176   \brief calculates the Position for the localTime of the Track.
     177   \returns the calculated Position
     178*/
     179Vector TrackManager::calcPos()
     180{
     181
     182}
     183
     184/**
     185   \brief calculates the Rotation for the localTime of the Track.
     186   \returns the calculated Rotation
     187*/
     188Vector TrackManager::calcDir()
     189{
     190
     191}
     192
     193/**
     194   \brief Advances the local-time of the Track around dt
     195   \param dt The time about which to advance.
     196*/
     197void TrackManager::tick(float dt)
     198{
     199
     200}
     201
     202/**
     203   \brief a Function that decides which Path we should follow.
     204   \param graphID The Path to choose.
     205   
     206*/
     207void TrackManager::choosePath(int graphID)
     208{
     209
     210}
     211
Note: See TracChangeset for help on using the changeset viewer.