Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5091 in orxonox.OLD for trunk/src/lib/coord


Ignore:
Timestamp:
Aug 21, 2005, 10:14:59 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: doxygen-tags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/coord/p_node.cc

    r5089 r5091  
    147147    while (element != NULL)
    148148    {
    149       LoadParam<PNode>(root, "parent", this, &PNode::addChild, true)
     149      LoadParam<PNode>(element, "parent", this, &PNode::addChild, true)
    150150          .describe("adds a new Child to the current Node.");
    151151
     
    210210/**
    211211 * @param absCoord set absolute coordinate
    212 
    213    it is very importand, that you use this function, if you want to update the
    214    absCoordinates. If you don't use this, the PNode won't recognize, that something
    215    has changed and won't update the children Nodes.
    216 
    217 @todo check if this does what it should
    218 */
     212 */
    219213void PNode::setAbsCoor (const Vector& absCoord)
    220214{
     
    251245
    252246/**
    253  *  shift coordinate (abs and rel)
     247 *  shift coordinate relative
    254248 * @param shift shift vector
    255249
     
    269263   yea right... shorter...
    270264 *
    271  * @todo this is ambiguous, from the outside one does not know it absCoor has been changed
    272  * this might lead to strange artefacts !!
    273 
    274265*/
    275266void PNode::shiftCoor (const Vector& shift)
     
    282273 *  set relative direction
    283274 * @param relDir to its parent
    284 
    285    it is very importand, that you use this function, if you want to update the
    286    relDirection. If you don't use this, the PNode won't recognize, that something
    287    has changed and won't update the children Nodes.
    288 */
     275 */
    289276void PNode::setRelDir (const Quaternion& relDir)
    290277{
     
    335322
    336323/**
    337  *  sets the absolute direction (0,0,1)
     324 *  sets the absolute direction
    338325 * @param absDir absolute coordinates
    339  *
    340  * it is very importand, that you use this function, if you want to update the
    341  * absDirection. If you don't use this, the PNode won't recognize, that something
    342  * has changed and won't update the children Nodes.
    343 */
     326 */
    344327void PNode::setAbsDir (const Quaternion& absDir)
    345328{
     
    366349
    367350/**
    368  *  shift coordinate (abs and rel)
    369  * @param shift vector
    370  * @todo implement this
    371 */
     351 * shift Direction
     352 * @param shift the direction around which to shift.
     353 */
    372354void PNode::shiftDir (const Quaternion& shift)
    373355{
     
    378360/**
    379361 *  adds a child and makes this node to a parent
    380  * @param pNode child reference
     362 * @param child child reference
    381363 * @param parentMode on which changes the child should also change ist state
    382364 *
     
    397379
    398380/**
    399  * @see PNode::addChild(PNode* parent);
     381 * @see PNode::addChild(PNode* child);
    400382 * @param childName the name of the child to add to this PNode
    401383 */
     
    409391/**
    410392 *  removes a child from the node
    411  * @param pNode the child to remove from this pNode.
     393 * @param child the child to remove from this pNode.
    412394 *
    413395 * Children from pNode will not be lost, they are referenced to NullPointer
     
    423405 *  remove this pnode from the tree and adds all following to NullParent
    424406
    425    this can be the case, if an entity in the world is been destroyed.
     407   this can be the case, if an entity in the world is being destroyed.
    426408*/
    427409void PNode::remove()
     
    623605 *  displays some information about this pNode
    624606 * @param depth The deph into which to debug the children of this PNode to.
    625   (0: all children will be debugged, 1: only this PNode, 2: this and direct children...)
     607 * (0: all children will be debugged, 1: only this PNode, 2: this and direct children...)
    626608 * @param level The n-th level of the Node we draw (this is internal and only for nice output)
    627609*/
Note: See TracChangeset for help on using the changeset viewer.