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