Panda3D
 All Classes Functions Variables Enumerations
physxForceFieldShapeGroupDesc.h
1 // Filename: physxForceFieldShapeGroupDesc.h
2 // Created by: enn0x (11Nov09)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #ifndef PHYSXFORCEFIELDSHAPEGROUPDESC_H
16 #define PHYSXFORCEFIELDSHAPEGROUPDESC_H
17 
18 #include "pandabase.h"
19 
20 #include "physxEnums.h"
21 #include "physx_includes.h"
22 
24 
25 ////////////////////////////////////////////////////////////////////
26 // Class : PhysxForceFieldShapeGroupDesc
27 // Description :
28 ////////////////////////////////////////////////////////////////////
29 class EXPCL_PANDAPHYSX PhysxForceFieldShapeGroupDesc : public PhysxEnums {
30 
31 PUBLISHED:
33  INLINE ~PhysxForceFieldShapeGroupDesc();
34 
35  INLINE void set_to_default();
36  INLINE bool is_valid() const;
37 
38  void add_shape(PhysxForceFieldShapeDesc &desc);
39 
40  void set_name(const char *name);
41  void set_flag(PhysxForceFieldShapeGroupFlag flag, bool value);
42 
43  const char *get_name() const;
44  bool get_flag(PhysxForceFieldShapeGroupFlag flag) const;
45 
46 public:
47  NxForceFieldShapeGroupDesc _desc;
48 
49 private:
50  string _name;
51 };
52 
53 #include "physxForceFieldShapeGroupDesc.I"
54 
55 #endif // PHYSXFORCEFIELDSHAPEGROUPDESC_H
Abstract base class for descriptors for force field shapes descriptors.
This class exists just to provide scoping for the enums shared by PhysX classes.
Definition: physxEnums.h:357