source: GTP/trunk/App/Games/Jungle_Rumble/src/physic/physics/include/NxDistanceJoint.h @ 1378

Revision 1378, 2.1 KB checked in by giegl, 18 years ago (diff)

GTPD - Jungle Rumble - integrate into GTP SVN structure

Line 
1#ifndef NX_PHYSICS_NXDISTANCEJOINT
2#define NX_PHYSICS_NXDISTANCEJOINT
3/*----------------------------------------------------------------------------*\
4|
5|                                               Public Interface to NovodeX Technology
6|
7|                                                            www.novodex.com
8|
9\*----------------------------------------------------------------------------*/
10/** \addtogroup physics
11  @{
12*/
13
14#include "Nxp.h"
15#include "NxJoint.h"
16
17class NxDistanceJointDesc;
18
19/**
20 \brief A distance joint maintains a certain distance between two points on two actors.
21
22 \image html distanceJoint.png
23
24 <h3>Creation</h3>
25
26 Example:
27
28 \include NxDistanceJoint_Create.cpp
29 
30 <h3>Visulizations:</h3>
31\li #NX_VISUALIZE_JOINT_LOCAL_AXES
32\li #NX_VISUALIZE_JOINT_WORLD_AXES
33\li #NX_VISUALIZE_JOINT_LIMITS
34\li #NX_VISUALIZE_JOINT_ERROR
35\li #NX_VISUALIZE_JOINT_FORCE
36\li #NX_VISUALIZE_JOINT_REDUCED
37
38 @see NxDistanceJointDesc NxJoint NxScene.createJoint()
39*/
40class NxDistanceJoint : public NxJoint
41        {
42        public:
43        /**
44        \brief Use this for changing a significant number of joint parameters at once.
45
46        Use the set() methods for changing only a single property at once.
47
48        <b>Sleeping:</b> Does <b>NOT</b> wake the associated actor up automatically.
49
50        \param[in] desc The descriptor used to set this objects state.
51
52        <b>Platform:</b>
53        \li PC SW: Yes
54        \li PPU  : No
55        \li PS3  : Yes
56        \li XB360: Yes
57
58        @see saveToDesc() NxDistanceJointDesc
59        */
60        virtual void loadFromDesc(const NxDistanceJointDesc& desc) = 0;
61
62        /**
63        \brief Writes all of the object's attributes to the desc struct 
64
65        \param[out] desc The descriptor used to retrieve this objects state.
66
67        <b>Platform:</b>
68        \li PC SW: Yes
69        \li PPU  : No
70        \li PS3  : Yes
71        \li XB360: Yes
72
73        @see loadFromDesc() NxDistanceJointDesc
74        */
75        virtual void saveToDesc(NxDistanceJointDesc& desc) = 0;
76        };
77
78/** @} */
79#endif
80
81
82//AGCOPYRIGHTBEGIN
83///////////////////////////////////////////////////////////////////////////
84// Copyright © 2005 AGEIA Technologies.
85// All rights reserved. www.ageia.com
86///////////////////////////////////////////////////////////////////////////
87//AGCOPYRIGHTEND
88
Note: See TracBrowser for help on using the repository browser.