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

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

GTPD - Jungle Rumble - integrate into GTP SVN structure

Line 
1#ifndef NX_PHYSICS_NXPOINTONLINEJOINT
2#define NX_PHYSICS_NXPOINTONLINEJOINT
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
16#include "NxJoint.h"
17class NxPointOnLineJointDesc;
18
19/**
20 \brief A point on line joint constrains a point on one body to only move along
21 a line attached to another body.
22
23 The starting point of the joint is defined as the anchor point. The line
24 through this point is specified by its direction (axis) vector.
25
26 \image html pointOnLineJoint.png
27
28 <h3>Creation</h3>
29
30 \include NxPointOnLineJoint_Create.cpp
31
32 <h3>Visulizations:</h3>
33\li #NX_VISUALIZE_JOINT_LOCAL_AXES
34\li #NX_VISUALIZE_JOINT_WORLD_AXES
35\li #NX_VISUALIZE_JOINT_LIMITS
36\li #NX_VISUALIZE_JOINT_ERROR
37\li #NX_VISUALIZE_JOINT_FORCE
38\li #NX_VISUALIZE_JOINT_REDUCED
39
40 @see NxPointOnLineJointDesc NxScene.createJoint() NxJoint
41*/
42class NxPointOnLineJoint: public NxJoint
43        {
44        public:
45        /**
46        \brief Use this for changing a significant number of joint parameters at once.
47
48        Use the set() methods for changing only a single property at once.
49
50        \param[in] desc The descriptor used to set the state of the object.
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() NxPointOnLineJointDesc
59        */
60        virtual void loadFromDesc(const NxPointOnLineJointDesc& 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 the state of the object.
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() NxPointOnLineJointDesc
74        */
75        virtual void saveToDesc(NxPointOnLineJointDesc& 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.