PxVisualizationParameter.h
Go to the documentation of this file.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-2012 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 00038 #ifndef PX_DOXYGEN 00039 namespace physx 00040 { 00041 #endif 00042 00043 /* 00044 NOTE: Parameters should NOT be conditionally compiled out. Even if a particular feature is not available. 00045 Otherwise the parameter values get shifted about and the numeric values change per platform. This causes problems 00046 when trying to serialize parameters. 00047 00048 New parameters should also be added to the end of the list for this reason. Also make sure to update 00049 eNUM_VALUES, which should be one higher than the maximum value in the enum. 00050 */ 00051 00057 struct PxVisualizationParameter 00058 { 00059 enum Enum 00060 { 00061 /* RigidBody-related parameters */ 00062 00088 eSCALE, 00089 00090 00094 eWORLD_AXES, 00095 00096 /* Body visualizations */ 00097 00103 eBODY_AXES, 00104 00114 eBODY_MASS_AXES, 00115 00121 eBODY_LIN_VELOCITY, 00122 00128 eBODY_ANG_VELOCITY, 00129 00130 00136 eBODY_JOINT_GROUPS, 00137 00138 /* Contact visualisations */ 00139 00143 eCONTACT_POINT, 00144 00148 eCONTACT_NORMAL, 00149 00153 eCONTACT_ERROR, 00154 00158 eCONTACT_FORCE, 00159 00160 00166 eACTOR_AXES, 00167 00168 00172 eCOLLISION_AABBS, 00173 00179 eCOLLISION_SHAPES, 00180 00186 eCOLLISION_AXES, 00187 00191 eCOLLISION_COMPOUNDS, 00192 00198 eCOLLISION_FNORMALS, 00199 00205 eCOLLISION_EDGES, 00206 00210 eCOLLISION_STATIC, 00211 00215 eCOLLISION_DYNAMIC, 00216 00221 eCOLLISION_PAIRS, 00222 00226 eJOINT_LOCAL_FRAMES, 00227 00231 eJOINT_LIMITS, 00232 00233 00234 /* ParticleSystem visualizations */ 00235 00239 ePARTICLE_SYSTEM_POSITION, 00240 00244 ePARTICLE_SYSTEM_VELOCITY, 00245 00249 ePARTICLE_SYSTEM_COLLISION_NORMAL, 00250 00254 ePARTICLE_SYSTEM_BOUNDS, 00255 00259 ePARTICLE_SYSTEM_GRID, 00260 00264 ePARTICLE_SYSTEM_BROADPHASE_BOUNDS, 00265 00269 ePARTICLE_SYSTEM_MAX_MOTION_DISTANCE, 00270 00271 /* Visualization subscene (culling box) */ 00272 00276 eCULL_BOX, 00277 00281 eNUM_VALUES, 00282 00283 eFORCE_DWORD = 0x7fffffff 00284 }; 00285 }; 00286 00287 #ifndef PX_DOXYGEN 00288 } // namespace physx 00289 #endif 00290 00292 #endif
Copyright © 2008-2012 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com