00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef PHYSXFORCEFIELDSHAPEDESC_H
00016 #define PHYSXFORCEFIELDSHAPEDESC_H
00017
00018 #include "pandabase.h"
00019 #include "luse.h"
00020
00021 #include "physx_includes.h"
00022
00023
00024
00025
00026
00027
00028 class EXPCL_PANDAPHYSX PhysxForceFieldShapeDesc {
00029
00030 PUBLISHED:
00031 virtual void set_to_default() = 0;
00032 virtual bool is_valid() const = 0;
00033
00034 void set_name(const char *name);
00035 void set_pos(const LPoint3f &pos);
00036 void set_mat(const LMatrix4f &mat);
00037 void set_hpr(float h, float p, float r);
00038
00039 const char *get_name() const;
00040 LPoint3f get_pos() const;
00041 LMatrix4f get_mat() const;
00042
00043 public:
00044 virtual NxForceFieldShapeDesc *ptr() const = 0;
00045
00046 private:
00047 string _name;
00048
00049 protected:
00050 INLINE PhysxForceFieldShapeDesc();
00051 INLINE ~PhysxForceFieldShapeDesc();
00052 };
00053
00054 #include "physxForceFieldShapeDesc.I"
00055
00056 #endif // PHYSXFORCEFIELDSHAPEDESC_H