Panda3D

physxForceFieldShapeGroupDesc.h

00001 // Filename: physxForceFieldShapeGroupDesc.h
00002 // Created by:  enn0x (11Nov09)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 #ifndef PHYSXFORCEFIELDSHAPEGROUPDESC_H
00016 #define PHYSXFORCEFIELDSHAPEGROUPDESC_H
00017 
00018 #include "pandabase.h"
00019 
00020 #include "physxEnums.h"
00021 #include "physx_includes.h"
00022 
00023 class PhysxForceFieldShapeDesc;
00024 
00025 ////////////////////////////////////////////////////////////////////
00026 //       Class : PhysxForceFieldShapeGroupDesc
00027 // Description : 
00028 ////////////////////////////////////////////////////////////////////
00029 class EXPCL_PANDAPHYSX PhysxForceFieldShapeGroupDesc : public PhysxEnums {
00030 
00031 PUBLISHED:
00032   INLINE PhysxForceFieldShapeGroupDesc();
00033   INLINE ~PhysxForceFieldShapeGroupDesc();
00034 
00035   INLINE void set_to_default();
00036   INLINE bool is_valid() const;
00037 
00038   void add_shape(PhysxForceFieldShapeDesc &desc);
00039 
00040   void set_name(const char *name);
00041   void set_flag(PhysxForceFieldShapeGroupFlag flag, bool value);
00042 
00043   const char *get_name() const;
00044   bool get_flag(PhysxForceFieldShapeGroupFlag flag) const;
00045 
00046 public:
00047   NxForceFieldShapeGroupDesc _desc;
00048 
00049 private:
00050   string _name;
00051 };
00052 
00053 #include "physxForceFieldShapeGroupDesc.I"
00054 
00055 #endif // PHYSXFORCEFIELDSHAPEGROUPDESC_H
 All Classes Functions Variables Enumerations