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-2018 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 
00136     /* Contact visualisations */
00137 
00141         eCONTACT_POINT,
00142         
00146         eCONTACT_NORMAL,
00147         
00151         eCONTACT_ERROR,
00152         
00156         eCONTACT_FORCE,
00157 
00158         
00164         eACTOR_AXES,
00165 
00166         
00170         eCOLLISION_AABBS,
00171         
00177         eCOLLISION_SHAPES,
00178         
00184         eCOLLISION_AXES,
00185 
00189         eCOLLISION_COMPOUNDS,
00190 
00196         eCOLLISION_FNORMALS,
00197         
00203         eCOLLISION_EDGES,
00204 
00208         eCOLLISION_STATIC,
00209 
00213         eCOLLISION_DYNAMIC,
00214 
00218         eDEPRECATED_COLLISION_PAIRS,
00219 
00223         eJOINT_LOCAL_FRAMES,
00224 
00228         eJOINT_LIMITS,
00229     
00233         eCULL_BOX,
00234 
00238         eMBP_REGIONS,
00239 
00243         eNUM_VALUES,
00244 
00245         eFORCE_DWORD = 0x7fffffff
00246     };
00247 };
00248 
00249 #if !PX_DOXYGEN
00250 } // namespace physx
00251 #endif
00252 
00254 #endif


Copyright © 2008-2018 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com