Changeset 3333 in orxonox.OLD for orxonox/branches/parenting/src/track_manager.h
- Timestamp:
- Jan 5, 2005, 12:53:42 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/parenting/src/track_manager.h
r3332 r3333 33 33 ~TrackElement(void); 34 34 35 void initChildren(unsigned int childCount); 36 35 37 TrackElement* findByID(unsigned int trackID); 36 38 … … 41 43 PathCondition cond; //!< The Split Condition; 42 44 int ID; //!< The ID of this TrackElement 43 float length; //!< The time usedto cross this TrackElement (curve). 45 float startingTime; //!< The time at which this Track begins. 46 float duration; //!< The time used to cross this TrackElement (curve). 44 47 CurveType curveType; //!< The CurveType this will have. 45 48 int nodeCount; //!< The count of points this TrackElement has. … … 61 64 \li workOn(): changes the ID that will be altered through the changes. 62 65 \li setCurveType(): lets you set the CurveType of the Curve we are Working on. (default is BezierCurve, set this as early as possible, for this uses resources). 63 \li set Length(): sets the length of the current path in seconds.66 \li setDuration(): sets the length of the current path in seconds. 64 67 \li addPoint(): adds a point to the Curve. 65 68 \li addHotPoint(): adds save/splitpoint.\n … … 102 105 103 106 TrackElement* findTrackElementByID(unsigned int trackID) const; 104 105 107 106 108 public: … … 111 113 void workOn(unsigned int trackID); 112 114 void setCurveType(CurveType curveType); 113 void set Length(float time);114 voidaddPoint(Vector newPoint);115 voidaddHotPoint(Vector newPoint);116 voidsetSavePoint(void);115 void setDuration(float time); 116 bool addPoint(Vector newPoint); 117 int addHotPoint(Vector newPoint); 118 int setSavePoint(void); 117 119 void fork(unsigned int count, ...); 118 120 void forkV(unsigned int count, int* trackIDs);
Note: See TracChangeset
for help on using the changeset viewer.