RavEngine
Loading...
Searching...
No Matches
VhPvdObjectHandles.h
1// Redistribution and use in source and binary forms, with or without
2// modification, are permitted provided that the following conditions
3// are met:
4// * Redistributions of source code must retain the above copyright
5// notice, this list of conditions and the following disclaimer.
6// * Redistributions in binary form must reproduce the above copyright
7// notice, this list of conditions and the following disclaimer in the
8// documentation and/or other materials provided with the distribution.
9// * Neither the name of NVIDIA CORPORATION nor the names of its
10// contributors may be used to endorse or promote products derived
11// from this software without specific prior written permission.
12//
13// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY
14// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
17// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
20// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
21// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24//
25// Copyright (c) 2008-2022 NVIDIA Corporation. All rights reserved.
26// Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.
27// Copyright (c) 2001-2004 NovodeX AG. All rights reserved.
28
29#pragma once
30
31#include "vehicle2/PxVehicleLimits.h"
32#if PX_SUPPORT_OMNI_PVD
33#include "OmniPvdWriter.h"
34#endif
35#include "foundation/PxMemory.h"
36
41#if !PX_DOXYGEN
42namespace physx
43{
44namespace vehicle2
45{
46#endif
47
49{
50#if PX_SUPPORT_OMNI_PVD
51
52 OmniPvdObjectHandle vehicleOH;
53
54 OmniPvdObjectHandle rigidBodyParamsOH;
55 OmniPvdObjectHandle rigidBodyStateOH;
56
57 OmniPvdObjectHandle suspStateCalcParamsOH;
58
59 OmniPvdObjectHandle brakeResponseParamOHs[2];
60 OmniPvdObjectHandle steerResponseParamsOH;
61 OmniPvdObjectHandle brakeResponseStateOH;
62 OmniPvdObjectHandle steerResponseStateOH;
63
64 OmniPvdObjectHandle directDriveCommandStateOH;
65 OmniPvdObjectHandle directDriveTransmissionCommandStateOH;
66 OmniPvdObjectHandle directDriveThrottleResponseParamsOH;
67 OmniPvdObjectHandle directDriveThrottleResponseStateOH;
68 OmniPvdObjectHandle directDrivetrainOH;
69
70 OmniPvdObjectHandle engineDriveCommandStateOH;
71 OmniPvdObjectHandle engineDriveTransmissionCommandStateOH;
72 OmniPvdObjectHandle clutchResponseParamsOH;
73 OmniPvdObjectHandle clutchParamsOH;
74 OmniPvdObjectHandle engineParamsOH;
75 OmniPvdObjectHandle gearboxParamsOH;
76 OmniPvdObjectHandle autoboxParamsOH;
77 OmniPvdObjectHandle multiWheelDiffParamsOH;
78 OmniPvdObjectHandle fourWheelDiffParamsOH;
79 OmniPvdObjectHandle clutchResponseStateOH;
80 OmniPvdObjectHandle engineDriveThrottleResponseStateOH;
81 OmniPvdObjectHandle engineStateOH;
82 OmniPvdObjectHandle gearboxStateOH;
83 OmniPvdObjectHandle autoboxStateOH;
84 OmniPvdObjectHandle diffStateOH;
85 OmniPvdObjectHandle clutchSlipStateOH;
86 OmniPvdObjectHandle engineDrivetrainOH;
87
88 OmniPvdObjectHandle* wheelAttachmentOHs;
89 OmniPvdObjectHandle* wheelParamsOHs;
90 OmniPvdObjectHandle* wheelActuationStateOHs;
91 OmniPvdObjectHandle* wheelRigidBody1dStateOHs;
92 OmniPvdObjectHandle* wheelLocalPoseStateOHs;
93 OmniPvdObjectHandle* roadGeomStateOHs;
94 OmniPvdObjectHandle* suspParamsOHs;
95 OmniPvdObjectHandle* suspCompParamsOHs;
96 OmniPvdObjectHandle* suspForceParamsOHs;
97 OmniPvdObjectHandle* suspStateOHs;
98 OmniPvdObjectHandle* suspCompStateOHs;
99 OmniPvdObjectHandle* suspForceOHs;
100 OmniPvdObjectHandle* tireParamsOHs;
101 OmniPvdObjectHandle* tireDirectionStateOHs;
102 OmniPvdObjectHandle* tireSpeedStateOHs;
103 OmniPvdObjectHandle* tireSlipStateOHs;
104 OmniPvdObjectHandle* tireStickyStateOHs;
105 OmniPvdObjectHandle* tireGripStateOHs;
106 OmniPvdObjectHandle* tireCamberStateOHs;
107 OmniPvdObjectHandle* tireForceOHs;
108
109 OmniPvdObjectHandle* physxWheelAttachmentOHs;
110 OmniPvdObjectHandle* physxWheelShapeOHs;
111 OmniPvdObjectHandle* physxConstraintParamOHs;
112 OmniPvdObjectHandle* physxConstraintStateOHs;
113 OmniPvdObjectHandle* physxRoadGeomStateOHs;
114 OmniPvdObjectHandle* physxMaterialFrictionSetOHs;
115 OmniPvdObjectHandle* physxMaterialFrictionOHs;
116
117 OmniPvdObjectHandle physxRoadGeomQueryParamOH;
118 OmniPvdObjectHandle physxRigidActorOH;
119
120 OmniPvdObjectHandle* antiRollParamOHs;
121 OmniPvdObjectHandle antiRollTorqueOH;
122
123 PxU32 nbWheels;
124 PxU32 nbPhysXMaterialFrictions;
125 PxU32 nbAntirolls;
126
127 OmniPvdContextHandle contextHandle;
128
129#endif //PX_SUPPORT_OMNI_PVD
130};
131
132#if !PX_DOXYGEN
133} // namespace vehicle2
134} // namespace physx
135#endif
136
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
Definition VhPvdObjectHandles.h:49