Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4836 in orxonox.OLD for orxonox/trunk/src/lib/physics


Ignore:
Timestamp:
Jul 12, 2005, 12:33:16 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: renamed all the \param → @param and so on in Doxygen tags.
Thanks a lot to the kDevelop team. this took since the last commit :)

Location:
orxonox/trunk/src/lib/physics
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/physics/fields/field.cc

    r4746 r4836  
    2525
    2626/**
    27    \brief standard constructor
     27 * standard constructor
    2828*/
    2929Field::Field ()
     
    3333
    3434/**
    35    \brief standard deconstructor
     35 * standard deconstructor
    3636
    3737*/
     
    5454
    5555/**
    56   \param root The XML-element to load settings from
     56* @param root The XML-element to load settings from
    5757 */
    5858void Field::loadParams(const TiXmlElement* root)
     
    6969
    7070/**
    71    \param magnitude the magnitude of the Field.
     71 * @param magnitude the magnitude of the Field.
    7272*/
    7373void Field::setMagnitude(float magnitude)
     
    7777
    7878/**
    79    \param attenuation The attenuation of the Field (the bigger the smaller the region of influence)
     79 * @param attenuation The attenuation of the Field (the bigger the smaller the region of influence)
    8080*/
    8181void Field::setAttenuation(float attenuation)
  • orxonox/trunk/src/lib/physics/fields/field.h

    r4746 r4836  
    1616/*!
    1717    \file field.h
    18     \brief abstract definition of a Physical Field
     18  * abstract definition of a Physical Field
    1919
    2020    This is a totally abstract class, that only enables different Physical Fields to
     
    4242
    4343  /**
    44       \param data This is the data given to this force, to calculate the ForceVector
    45       \returns The Force Vector
     44    * @param data This is the data given to this force, to calculate the ForceVector
     45    * @returns The Force Vector
    4646  */
    4747  virtual Vector calcForce(const Vector& data) const = 0;
    4848
    4949  void setMagnitude(float magnitude);
    50   /** \returns The Magnitude of the Field */
     50  /** @returns The Magnitude of the Field */
    5151  inline const float& getMagnitude() const {return this->magnitude;}
    5252
    5353  void setAttenuation(float attenuation);
    54   /** \returns The Attenuation of the Fiels */
     54  /** @returns The Attenuation of the Fiels */
    5555  inline const float& getAttenuation() const {return this->attenuation;}
    5656
  • orxonox/trunk/src/lib/physics/fields/fields.h

    r4338 r4836  
    1616/*!
    1717    \file fields.h
    18     \brief collection of all Headers of all the different fileds there are in the
     18  * collection of all Headers of all the different fileds there are in the
    1919    PhysicsEngine
    2020*/
  • orxonox/trunk/src/lib/physics/fields/gravity.cc

    r4742 r4836  
    3434
    3535/**
    36    \brief standard deconstructor
     36 * standard deconstructor
    3737
    3838*/
     
    4848
    4949/**
    50    \brief calculates the Gravity on any point in space
    51    \param data The Position of the Point in space to attache gravity to.
    52    \returns The force.
     50 * calculates the Gravity on any point in space
     51 * @param data The Position of the Point in space to attache gravity to.
     52 * @returns The force.
    5353*/
    5454Vector Gravity::calcForce(const Vector& data) const
  • orxonox/trunk/src/lib/physics/fields/gravity.h

    r4742 r4836  
    11/*!
    22    \file gravity.h
    3     \brief Definition of ...
     3  * Definition of ...
    44
    55*/
  • orxonox/trunk/src/lib/physics/fields/point_gravity.cc

    r4742 r4836  
    2222
    2323/**
    24    \brief standard constructor
    25    \todo this constructor is not jet implemented - do it
     24 * standard constructor
     25   @todo this constructor is not jet implemented - do it
    2626*/
    2727PointGravity::PointGravity ()
     
    3232
    3333/**
    34    \brief standard deconstructor
     34 * standard deconstructor
    3535
    3636*/
     
    4141
    4242/**
    43    \brief calculates the PointGravity on any point in space
    44    \param data The Position of the Point in space to attache PointGravity to.
    45    \returns The force.
     43 * calculates the PointGravity on any point in space
     44 * @param data The Position of the Point in space to attache PointGravity to.
     45 * @returns The force.
    4646*/
    4747Vector PointGravity::calcForce(const Vector& data) const
  • orxonox/trunk/src/lib/physics/fields/point_gravity.h

    r4395 r4836  
    11/*!
    22    \file point_gravity.h
    3     \brief Definition of ...
     3  * Definition of ...
    44
    55*/
  • orxonox/trunk/src/lib/physics/fields/twirl.cc

    r4742 r4836  
    2222
    2323/**
    24    \brief standard constructor
    25    \todo this constructor is not jet implemented - do it
     24 * standard constructor
     25   @todo this constructor is not jet implemented - do it
    2626*/
    2727Twirl::Twirl ()
     
    3232
    3333/**
    34    \brief standard deconstructor
     34 * standard deconstructor
    3535
    3636*/
     
    4141
    4242/**
    43    \brief calculates the Twirl on any point in space
    44    \param data The Position of the Point in space to attache twirl to.
    45    \returns The force.
     43 * calculates the Twirl on any point in space
     44 * @param data The Position of the Point in space to attache twirl to.
     45 * @returns The force.
    4646*/
    4747Vector Twirl::calcForce(const Vector& data) const
  • orxonox/trunk/src/lib/physics/fields/twirl.h

    r4395 r4836  
    11/*!
    22    \file twirl.h
    3     \brief Definition of ...
     3  * Definition of ...
    44
    55*/
  • orxonox/trunk/src/lib/physics/physics_connection.cc

    r4746 r4836  
    3131
    3232/**
    33    \brief creates a PhysicsConnection
     33 * creates a PhysicsConnection
    3434*/
    3535PhysicsConnection::PhysicsConnection(PhysicsInterface* subject, Field* field)
     
    6161
    6262/**
    63    \brief standard deconstructor
     63 * standard deconstructor
    6464
    6565*/
     
    7070
    7171/**
    72    \param subjectName the name of the Subject for this PhysicsConnection
     72 * @param subjectName the name of the Subject for this PhysicsConnection
    7373*/
    7474void PhysicsConnection::setSubject(const char* subjectName)
     
    8484
    8585/**
    86   \param fieldName the Name of the Field for this connection
     86* @param fieldName the Name of the Field for this connection
    8787*/
    8888void PhysicsConnection::setField(const char* fieldName)
     
    9999
    100100/**
    101     \brief applies the Force to some Object.
     101  * applies the Force to some Object.
    102102*/
    103103void PhysicsConnection::apply() const
  • orxonox/trunk/src/lib/physics/physics_connection.h

    r4746 r4836  
    11/*!
    22    \file physics_connection.h
    3     \brief Definition of The Physical Connection Class.
     3  * Definition of The Physical Connection Class.
    44*/
    55
  • orxonox/trunk/src/lib/physics/physics_engine.cc

    r4749 r4836  
    2929
    3030/**
    31    \brief standard constructor
     31 * standard constructor
    3232*/
    3333PhysicsEngine::PhysicsEngine()
     
    4141
    4242/**
    43    \brief the singleton reference to this class
     43 * the singleton reference to this class
    4444*/
    4545PhysicsEngine* PhysicsEngine::singletonRef = NULL;
    4646
    4747/**
    48    \brief standard deconstructor
     48 * standard deconstructor
    4949
    5050*/
     
    9191
    9292/**
    93   \param root the XML-element to load settings from
     93* @param root the XML-element to load settings from
    9494 */
    9595void PhysicsEngine::loadParams(const TiXmlElement* root)
     
    103103
    104104/**
    105  * \param root the XML-element to Load the PhysicsField from
     105 * @param root the XML-element to Load the PhysicsField from
    106106 */
    107107void PhysicsEngine::loadFields(const TiXmlElement* root)
     
    119119
    120120/**
    121  * \param root the XML-element to load the PhysicsConnection from
     121 * @param root the XML-element to load the PhysicsConnection from
    122122 */
    123123void PhysicsEngine::loadConnections(const TiXmlElement* root)
     
    135135
    136136/**
    137    \brief adds a PhysicsInterface to the list of handeled physicsInterfaces
    138    \param physicsInterface the interface to add
     137 * adds a PhysicsInterface to the list of handeled physicsInterfaces
     138 * @param physicsInterface the interface to add
    139139
    140140   this is normally done in the constructor of any PhysicsInterface
     
    146146
    147147/**
    148    \brief removes a PhysicsInterface from the list of handeled physicsInterfaces
    149    \param physicsInterface the interface to remove
     148 * removes a PhysicsInterface from the list of handeled physicsInterfaces
     149 * @param physicsInterface the interface to remove
    150150
    151151   this is normally done in the destructor of any PhysicsInterface
     
    157157
    158158/**
    159   \param physicsInterfaceName the Name of the PhysicsInterface to search for
    160   \returns the PhysicsInterface if found, or NULL if not
     159* @param physicsInterfaceName the Name of the PhysicsInterface to search for
     160  @returns the PhysicsInterface if found, or NULL if not
    161161 */
    162162PhysicsInterface* PhysicsEngine::getPhysicsInterfaceByName(const char* physicsInterfaceName) const
     
    178178
    179179/**
    180    \brief adds a Field to the list of handeled fields
    181    \param field the field to add
     180 * adds a Field to the list of handeled fields
     181 * @param field the field to add
    182182
    183183   this is normally done in the constructor of any Field
     
    189189
    190190/**
    191    \brief removes a Field from the list of handeled fields
    192    \param field the field to remove
     191 * removes a Field from the list of handeled fields
     192 * @param field the field to remove
    193193
    194194   this is normally done in the destructor of any Field
     
    200200
    201201/**
    202   \param FieldName the Name of the PhysicsInterface to search for
    203   \returns the Field if found, or NULL if not
     202* @param FieldName the Name of the PhysicsInterface to search for
     203  @returns the Field if found, or NULL if not
    204204 */
    205205Field* PhysicsEngine::getFieldByName(const char* FieldName) const
     
    223223
    224224/**
    225    \brief adds A Physical Connection to the List of Connections
    226    \param connection the Connection to add
     225 * adds A Physical Connection to the List of Connections
     226 * @param connection the Connection to add
    227227
    228228   Usually this is done through the constructor of PhysicshConnections
     
    234234
    235235/**
    236    \brief removes A Physical Connection from the List of Connections
    237    \param connection the Connection to remove
     236 * removes A Physical Connection from the List of Connections
     237 * @param connection the Connection to remove
    238238
    239239   Usually this is done through the destructor of PhysicsConnections
     
    245245
    246246/**
    247   \param physicsConnectionName the Name of the PhysicsInterface to search for
    248   \returns the PhysicsConnection if found, or NULL if not
     247* @param physicsConnectionName the Name of the PhysicsInterface to search for
     248  @returns the PhysicsConnection if found, or NULL if not
    249249 */
    250250PhysicsConnection* PhysicsEngine::getPhysicsConnectionByName(const char* physicsConnectionName) const
     
    268268
    269269/**
    270    \brief Steps through all the Connections and Ticks them
    271    \param dt The time Passed in Seconds
     270 * Steps through all the Connections and Ticks them
     271 * @param dt The time Passed in Seconds
    272272
    273273   This function brings a flow into the whole animation
     
    302302
    303303/**
    304    \brief print out interesting debug information of this class
     304 * print out interesting debug information of this class
    305305*/
    306306void PhysicsEngine::debug() const
  • orxonox/trunk/src/lib/physics/physics_engine.h

    r4746 r4836  
    11/*!
    22    \file physics_engine.h
    3     \brief Definition of the PhysicsEngine-singleton Class
     3  * Definition of the PhysicsEngine-singleton Class
    44
    55*/
     
    2323 public:
    2424  virtual ~PhysicsEngine();
    25   /** \returns a Pointer to the only object of this Class */
     25  /** @returns a Pointer to the only object of this Class */
    2626  inline static PhysicsEngine* getInstance() { if (!singletonRef) singletonRef = new PhysicsEngine();  return singletonRef; };
    2727
  • orxonox/trunk/src/lib/physics/physics_interface.cc

    r4762 r4836  
    3434
    3535/**
    36    \brief standard constructor
     36 * standard constructor
    3737 */
    3838PhysicsInterface::PhysicsInterface ()
     
    4949
    5050/**
    51    \brief standard deconstructor
     51 * standard deconstructor
    5252*/
    5353PhysicsInterface::~PhysicsInterface ()
     
    5757
    5858/**
    59    \brief recalculates the total mass of all the children of this node
     59 * recalculates the total mass of all the children of this node
    6060
    6161   (only availiable for PNodes)
     
    6464{
    6565  /*
    66     PNode* massCalcPNode = dynamic_cast<PNode*>(this);  //! \todo not sure if this will work ....
     66    PNode* massCalcPNode = dynamic_cast<PNode*>(this);  //! @todo not sure if this will work ....
    6767    float massSum = 0;
    6868
     
    9090
    9191/**
    92    \brief applyes a field to this Object
    93    \param field the field to apply
     92 * applyes a field to this Object
     93 * @param field the field to apply
    9494*/
    9595void PhysicsInterface::applyField(Field* field)
     
    101101
    102102/**
    103    \brief ticks the PhysicsEffect
    104    \param dt: the value about which to tick
     103 * ticks the PhysicsEffect
     104 * @param dt: the value about which to tick
    105105*/
    106106void PhysicsInterface::tickPhys( float dt )
  • orxonox/trunk/src/lib/physics/physics_interface.h

    r4762 r4836  
    11/*!
    22    \file physics_interface.h
    3     \brief a physics interface simulating a body with a mass
     3  * a physics interface simulating a body with a mass
    44*/
    55
     
    3131  PhysicsInterface();
    3232  virtual ~PhysicsInterface();
    33   /** \param mass the mass to set for this node. */
     33  /** @param mass the mass to set for this node. */
    3434  inline void setMass( float mass ) { this->mass = mass; };
    35   /** \returns the mass of the node. */
     35  /** @returns the mass of the node. */
    3636  inline float getMass( void ) const { return mass; };
    37   /** \returns the mass of this node plus all its children (only valid for PNodes). */
     37  /** @returns the mass of this node plus all its children (only valid for PNodes). */
    3838  inline float getTotalMass( void ) const { return mass + massChildren; };
    3939
Note: See TracChangeset for help on using the changeset viewer.