00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef PHYSXCONTACTREPORT_H
00016 #define PHYSXCONTACTREPORT_H
00017
00018 #include "pandabase.h"
00019 #include "pStatCollector.h"
00020 #include "physx_includes.h"
00021
00022
00023
00024
00025
00026
00027 class EXPCL_PANDAPHYSX PhysxContactReport : public NxUserContactReport {
00028
00029 public:
00030 INLINE PhysxContactReport();
00031 INLINE ~PhysxContactReport();
00032
00033 void enable();
00034 void disable();
00035 bool is_enabled() const;
00036
00037 void onContactNotify(NxContactPair& pair, NxU32 flags);
00038
00039 private:
00040 bool _enabled;
00041 static PStatCollector _pcollector;
00042 };
00043
00044 #include "physxContactReport.I"
00045
00046 #endif // PHYSXCONTACTREPORT_H