| 902 | |
| 903 | template <typename TGeneratedValuesType, typename TGeomType> |
| 904 | static void sendGeometry(PvdMetaDataBinding& metaBind, PvdDataStream& inStream, const PxShape& inShape, const TGeomType& geom, PsPvd* pvd) |
| 905 | { |
| 906 | const void* geomInst = (reinterpret_cast<const PxU8*>(&inShape)) + 4; |
| 907 | inStream.createInstance(getPvdNamespacedNameForType<TGeomType>(), geomInst); |
| 908 | metaBind.registrarPhysicsObject<TGeomType>(inStream, geom, pvd); |
| 909 | TGeneratedValuesType values(&geom); |
| 910 | inStream.setPropertyMessage(geomInst, values); |
| 911 | inStream.setPropertyValue(&inShape, "Geometry", geomInst); |
| 912 | inStream.setPropertyValue(geomInst, "Shape", reinterpret_cast<const void*>(&inShape)); |
| 913 | } |
| 914 | |
| 915 | static void setGeometry(PvdMetaDataBinding& metaBind, PvdDataStream& inStream, const PxShape& inObj, PsPvd* pvd) |
| 916 | { |
nothing calls this directly
no test coverage detected