HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SIM_SurfaceCollisionParms.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  */
7 
8 #ifndef __SIM_SurfaceCollisionParms_h__
9 #define __SIM_SurfaceCollisionParms_h__
10 
11 #include "SIM_API.h"
12 #include "SIM_Data.h"
13 #include "SIM_DataUtils.h"
14 #include "SIM_OptionsUser.h"
15 
16 /// This class contains physical attributes that apply to all objects.
18  public SIM_OptionsUser
19 {
20 public:
21  /// Collision padding around around the polygons
23 
24  // TODO: option for one-sided or two-sided collision?
25  // TODO: option for indicating that object is closed?
26 
27 protected:
28  explicit SIM_SurfaceCollisionParms(const SIM_DataFactory *factory);
29  ~SIM_SurfaceCollisionParms() override;
30 
31 private:
32  static const SIM_DopDescription *getSurfaceCollisionParmsDopDescription();
33 
36  SIM_Data,
37  "Surface Collision Parameters",
38  getSurfaceCollisionParmsDopDescription());
39 };
40 
41 #endif
#define DECLARE_STANDARD_GETCASTTOTYPE()
Definition: SIM_DataUtils.h:50
This class contains physical attributes that apply to all objects.
#define GETSET_DATA_FUNCS_F(DataName, FuncName)
#define DECLARE_DATAFACTORY(DataClass, SuperClass, Description, DopParms)
Definition: SIM_DataUtils.h:63
#define SIM_API
Definition: SIM_API.h:12
#define SIM_NAME_COLLISION_RADIUS
Definition: SIM_Names.h:86