PxVisualizationParameter.h
Go to the documentation of this file.
1 //
2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions
4 // are met:
5 // * Redistributions of source code must retain the above copyright
6 // notice, this list of conditions and the following disclaimer.
7 // * Redistributions in binary form must reproduce the above copyright
8 // notice, this list of conditions and the following disclaimer in the
9 // documentation and/or other materials provided with the distribution.
10 // * Neither the name of NVIDIA CORPORATION nor the names of its
11 // contributors may be used to endorse or promote products derived
12 // from this software without specific prior written permission.
13 //
14 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
15 // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
17 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
18 // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
19 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
20 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
21 // PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
22 // OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 //
26 // Copyright (c) 2008-2018 NVIDIA Corporation. All rights reserved.
27 // Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.
28 // Copyright (c) 2001-2004 NovodeX AG. All rights reserved.
29 
30 
31 #ifndef PX_PHYSICS_NX_DEBUG_VISUALIZATION_PARAMETER
32 #define PX_PHYSICS_NX_DEBUG_VISUALIZATION_PARAMETER
33 
35 
40 #if !PX_DOXYGEN
41 namespace physx
42 {
43 #endif
44 
45 /*
46 NOTE: Parameters should NOT be conditionally compiled out. Even if a particular feature is not available.
47 Otherwise the parameter values get shifted about and the numeric values change per platform. This causes problems
48 when trying to serialize parameters.
49 
50 New parameters should also be added to the end of the list for this reason. Also make sure to update
51 eNUM_VALUES, which should be one higher than the maximum value in the enum.
52 */
53 
63 {
64  enum Enum
65  {
66  /* RigidBody-related parameters */
67 
94 
95 
100 
101  /* Body visualizations */
102 
109 
120 
127 
134 
135 
136  /* Contact visualisations */
137 
142 
147 
152 
157 
158 
165 
166 
171 
178 
185 
190 
197 
204 
209 
214 
219 
224 
229 
234 
239 
244 
245  eFORCE_DWORD = 0x7fffffff
246  };
247 };
248 
249 #if !PX_DOXYGEN
250 } // namespace physx
251 #endif
252 
254 #endif
Definition: GuContactBuffer.h:37
Joint local axes.
Definition: PxVisualizationParameter.h:223
Visualize contact errors. Will enable contact information.
Definition: PxVisualizationParameter.h:151
Joint limits.
Definition: PxVisualizationParameter.h:228
Debug visualization parameters.
Definition: PxVisualizationParameter.h:62
Compound visualization (compound AABBs in world space)
Definition: PxVisualizationParameter.h:189
Visualize a bodies axes.
Definition: PxVisualizationParameter.h:108
Visualize culling box.
Definition: PxVisualizationParameter.h:233
Shape visualization.
Definition: PxVisualizationParameter.h:177
Mesh & convex face normals.
Definition: PxVisualizationParameter.h:196
Visualize Contact forces. Will enable contact information.
Definition: PxVisualizationParameter.h:156
Visualize a body's mass axes.
Definition: PxVisualizationParameter.h:119
MBP regions.
Definition: PxVisualizationParameter.h:238
Static pruning structures.
Definition: PxVisualizationParameter.h:208
Visualize the bodies linear velocity.
Definition: PxVisualizationParameter.h:126
Shape axis visualization.
Definition: PxVisualizationParameter.h:184
Dynamic pruning structures.
Definition: PxVisualizationParameter.h:213
This is not a parameter, it just records the current number of parameters (as maximum(PxVisualization...
Definition: PxVisualizationParameter.h:243
Visualize the bodies angular velocity.
Definition: PxVisualizationParameter.h:133
Visualize actor axes.
Definition: PxVisualizationParameter.h:164
This overall visualization scale gets multiplied with the individual scales. Setting to zero ignores ...
Definition: PxVisualizationParameter.h:93
Visualizes pairwise state.
Definition: PxVisualizationParameter.h:218
Enum
Definition: PxVisualizationParameter.h:64
Visualize contact normals. Will enable contact information.
Definition: PxVisualizationParameter.h:146
Active edges for meshes.
Definition: PxVisualizationParameter.h:203
Visualize bounds (AABBs in world space)
Definition: PxVisualizationParameter.h:170
Visualize contact points. Will enable contact information.
Definition: PxVisualizationParameter.h:141
Visualize the world axes.
Definition: PxVisualizationParameter.h:99