00001 // This code contains NVIDIA Confidential Information and is disclosed to you 00002 // under a form of NVIDIA software license agreement provided separately to you. 00003 // 00004 // Notice 00005 // NVIDIA Corporation and its licensors retain all intellectual property and 00006 // proprietary rights in and to this software and related documentation and 00007 // any modifications thereto. Any use, reproduction, disclosure, or 00008 // distribution of this software and related documentation without an express 00009 // license agreement from NVIDIA Corporation is strictly prohibited. 00010 // 00011 // ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES 00012 // NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO 00013 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, 00014 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. 00015 // 00016 // Information and code furnished is believed to be accurate and reliable. 00017 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such 00018 // information or for any infringement of patents or other rights of third parties that may 00019 // result from its use. No license is granted by implication or otherwise under any patent 00020 // or patent rights of NVIDIA Corporation. Details are subject to change without notice. 00021 // This code supersedes and replaces all information previously supplied. 00022 // NVIDIA Corporation products are not authorized for use as critical 00023 // components in life support devices or systems without express written approval of 00024 // NVIDIA Corporation. 00025 // 00026 // Copyright (c) 2008-2017 NVIDIA Corporation. All rights reserved. 00027 // Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved. 00028 // Copyright (c) 2001-2004 NovodeX AG. All rights reserved. 00029 00030 00031 #ifndef PX_PHYSICS_NX_DEBUG_VISUALIZATION_PARAMETER 00032 #define PX_PHYSICS_NX_DEBUG_VISUALIZATION_PARAMETER 00033 00034 #include "foundation/PxPreprocessor.h" 00035 00040 #if !PX_DOXYGEN 00041 namespace physx 00042 { 00043 #endif 00044 00045 /* 00046 NOTE: Parameters should NOT be conditionally compiled out. Even if a particular feature is not available. 00047 Otherwise the parameter values get shifted about and the numeric values change per platform. This causes problems 00048 when trying to serialize parameters. 00049 00050 New parameters should also be added to the end of the list for this reason. Also make sure to update 00051 eNUM_VALUES, which should be one higher than the maximum value in the enum. 00052 */ 00053 00062 struct PxVisualizationParameter 00063 { 00064 enum Enum 00065 { 00066 /* RigidBody-related parameters */ 00067 00093 eSCALE, 00094 00095 00099 eWORLD_AXES, 00100 00101 /* Body visualizations */ 00102 00108 eBODY_AXES, 00109 00119 eBODY_MASS_AXES, 00120 00126 eBODY_LIN_VELOCITY, 00127 00133 eBODY_ANG_VELOCITY, 00134 00135 00141 eBODY_JOINT_GROUPS, 00142 00143 /* Contact visualisations */ 00144 00148 eCONTACT_POINT, 00149 00153 eCONTACT_NORMAL, 00154 00158 eCONTACT_ERROR, 00159 00163 eCONTACT_FORCE, 00164 00165 00171 eACTOR_AXES, 00172 00173 00177 eCOLLISION_AABBS, 00178 00184 eCOLLISION_SHAPES, 00185 00191 eCOLLISION_AXES, 00192 00196 eCOLLISION_COMPOUNDS, 00197 00203 eCOLLISION_FNORMALS, 00204 00210 eCOLLISION_EDGES, 00211 00215 eCOLLISION_STATIC, 00216 00220 eCOLLISION_DYNAMIC, 00221 00225 eDEPRECATED_COLLISION_PAIRS, 00226 00230 eJOINT_LOCAL_FRAMES, 00231 00235 eJOINT_LIMITS, 00236 00237 00238 /* ParticleSystem visualizations */ 00239 00243 ePARTICLE_SYSTEM_POSITION, 00244 00248 ePARTICLE_SYSTEM_VELOCITY, 00249 00253 ePARTICLE_SYSTEM_COLLISION_NORMAL, 00254 00258 ePARTICLE_SYSTEM_BOUNDS, 00259 00263 ePARTICLE_SYSTEM_GRID, 00264 00268 ePARTICLE_SYSTEM_BROADPHASE_BOUNDS, 00269 00273 ePARTICLE_SYSTEM_MAX_MOTION_DISTANCE, 00274 00275 /* Visualization subscene (culling box) */ 00276 00280 eCULL_BOX, 00281 00285 eCLOTH_VERTICAL, 00289 eCLOTH_HORIZONTAL, 00293 eCLOTH_BENDING, 00297 eCLOTH_SHEARING, 00301 eCLOTH_VIRTUAL_PARTICLES, 00302 00306 eMBP_REGIONS, 00307 00311 eNUM_VALUES, 00312 00313 eFORCE_DWORD = 0x7fffffff 00314 }; 00315 }; 00316 00317 #if !PX_DOXYGEN 00318 } // namespace physx 00319 #endif 00320 00322 #endif