source: GTP/trunk/App/Games/Jungle_Rumble/src/physic/physics/include/NxPointInPlaneJoint.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_NXPOINTINPLANEJOINT
2#define NX_PHYSICS_NXPOINTINPLANEJOINT
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 NxPointInPlaneJointDesc;
18
19/**
20 \brief A point in plane joint constrains a point on one body to only move inside
21 a plane attached to another body.
22
23 The starting point of the point is defined as the anchor point. The plane
24 through this point is specified by its normal which is the joint axis vector.
25
26 \image html pointInPlaneJoint.png
27
28 <h3>Creation</h3>
29
30 \include NxPointInPlaneJoint_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 NxPointInPlaneJointDesc NxJoint NxScene.createJoint
41*/
42class NxPointInPlaneJoint : 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 NxPointInPlaneJointDesc
59        */
60        virtual void loadFromDesc(const NxPointInPlaneJointDesc& 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 NxPointInPlaneJointDesc
74        */
75        virtual void saveToDesc(NxPointInPlaneJointDesc& 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.