Main Page
Class Hierarchy
Compound List
Compound Members
Include
PxVisualizationParameter.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved.
3
*
4
* NVIDIA CORPORATION and its licensors retain all intellectual property
5
* and proprietary rights in and to this software, related documentation
6
* and any modifications thereto. Any use, reproduction, disclosure or
7
* distribution of this software and related documentation without an express
8
* license agreement from NVIDIA CORPORATION is strictly prohibited.
9
*/
10
// Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.
11
// Copyright (c) 2001-2004 NovodeX AG. All rights reserved.
12
13
14
#ifndef PX_PHYSICS_NX_DEBUG_VISUALIZATION_PARAMETER
15
#define PX_PHYSICS_NX_DEBUG_VISUALIZATION_PARAMETER
16
21
#ifndef PX_DOXYGEN
22
namespace
physx
23
{
24
#endif
25
26
/*
27
NOTE: Parameters should NOT be conditionally compiled out. Even if a particular feature is not available.
28
Otherwise the parameter values get shifted about and the numeric values change per platform. This causes problems
29
when trying to serialize parameters.
30
31
New parameters should also be added to the end of the list for this reason. Also make sure to update
32
eNUM_VALUES, which should be one higher than the maximum value in the enum.
33
*/
34
43
struct
PxVisualizationParameter
44
{
45
enum
Enum
46
{
47
/* RigidBody-related parameters */
48
74
eSCALE
,
75
76
80
eWORLD_AXES
,
81
82
/* Body visualizations */
83
89
eBODY_AXES
,
90
100
eBODY_MASS_AXES
,
101
107
eBODY_LIN_VELOCITY
,
108
114
eBODY_ANG_VELOCITY
,
115
116
122
eBODY_JOINT_GROUPS
,
123
124
/* Contact visualisations */
125
129
eCONTACT_POINT
,
130
134
eCONTACT_NORMAL
,
135
139
eCONTACT_ERROR
,
140
144
eCONTACT_FORCE
,
145
146
152
eACTOR_AXES
,
153
154
158
eCOLLISION_AABBS
,
159
165
eCOLLISION_SHAPES
,
166
172
eCOLLISION_AXES
,
173
177
eCOLLISION_COMPOUNDS
,
178
184
eCOLLISION_FNORMALS
,
185
191
eCOLLISION_EDGES
,
192
196
eCOLLISION_STATIC
,
197
201
eCOLLISION_DYNAMIC
,
202
207
eCOLLISION_PAIRS
,
208
212
eJOINT_LOCAL_FRAMES
,
213
217
eJOINT_LIMITS
,
218
219
220
/* ParticleSystem visualizations */
221
225
ePARTICLE_SYSTEM_POSITION
,
226
230
ePARTICLE_SYSTEM_VELOCITY
,
231
235
ePARTICLE_SYSTEM_COLLISION_NORMAL
,
236
240
ePARTICLE_SYSTEM_BOUNDS
,
241
245
ePARTICLE_SYSTEM_GRID
,
246
250
ePARTICLE_SYSTEM_BROADPHASE_BOUNDS
,
251
255
ePARTICLE_SYSTEM_MAX_MOTION_DISTANCE
,
256
257
/* Visualization subscene (culling box) */
258
262
eCULL_BOX
,
263
267
eCLOTH_VERTICAL
,
271
eCLOTH_HORIZONTAL
,
275
eCLOTH_BENDING
,
279
eCLOTH_SHEARING
,
283
eCLOTH_VIRTUAL_PARTICLES
,
284
288
eMBP_REGIONS
,
289
293
eNUM_VALUES
,
294
295
eFORCE_DWORD = 0x7fffffff
296
};
297
};
298
299
#ifndef PX_DOXYGEN
300
}
// namespace physx
301
#endif
302
304
#endif
Copyright © 2008-2015 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.
www.nvidia.com