icollision.h File Reference

icollision.h File Reference
#include "maxheap.h"
#include "iparamm2.h"
#include "iFnPub.h"

Classes

class  ICollision
 
class  CollisionOps
 
class  CollisionPlane
 
class  CollisionSphere
 
class  CollisionVNormal
 
class  CollisionMesh
 

Macros

#define PLANAR_COLLISION_ID   Class_ID(0x14585111, 0x444a7dcf)
 
#define SPHERICAL_COLLISION_ID   Class_ID(0x14585222, 0x555a7dcf)
 
#define MESH_COLLISION_ID   Class_ID(0x14585333, 0x666a7dcf)
 
#define COLLISION_FO_INTERFACE   Class_ID(0x14585444, 0x777a7dcf)
 
#define GetCollisionOpsInterface(cd)   (CollisionOps *)(cd)->GetInterface(COLLISION_FO_INTERFACE)
 
#define POINT_COLLISION   1
 
#define SPHERE_COLLISION   2
 
#define BOX_COLLISION   4
 
#define EDGE_COLLISION   8
 

Enumerations

enum  {
  collision_supportedcollisions, collision_preframe, collision_postframe, collision_point_to_surface,
  collision_sphere_to_surface, collision_box_to_surface, collision_edge_to_surface
}
 
enum  { collisionplane_params }
 
enum  { collisionplane_width, collisionplane_height, collisionplane_quality, collisionplane_node }
 
enum  { collisionsphere_params }
 
enum  Collision_Params { collisionsphere_radius, collisionsphere_node, collisionsphere_scaleFactor }
 
enum  { collisionmesh_params }
 
enum  { collisionmesh_hit_face_index, collisionmesh_hit_bary, collisionmesh_node }
 

Macro Definition Documentation

#define PLANAR_COLLISION_ID   Class_ID(0x14585111, 0x444a7dcf)
#define SPHERICAL_COLLISION_ID   Class_ID(0x14585222, 0x555a7dcf)
#define MESH_COLLISION_ID   Class_ID(0x14585333, 0x666a7dcf)
#define COLLISION_FO_INTERFACE   Class_ID(0x14585444, 0x777a7dcf)
#define GetCollisionOpsInterface (   cd)    (CollisionOps *)(cd)->GetInterface(COLLISION_FO_INTERFACE)
#define POINT_COLLISION   1
#define SPHERE_COLLISION   2
#define BOX_COLLISION   4
#define EDGE_COLLISION   8

Enumeration Type Documentation

anonymous enum
Enumerator
collision_supportedcollisions 
collision_preframe 
collision_postframe 
collision_point_to_surface 
collision_sphere_to_surface 
collision_box_to_surface 
collision_edge_to_surface 
Definition: icollision.h:218
Definition: icollision.h:219
Definition: icollision.h:219
Definition: icollision.h:220
Definition: icollision.h:218
Definition: icollision.h:219
Definition: icollision.h:218
anonymous enum
Enumerator
collisionplane_params 
Definition: icollision.h:391
anonymous enum
Enumerator
collisionplane_width 
collisionplane_height 
collisionplane_quality 
collisionplane_node 
398  };
Definition: icollision.h:396
Definition: icollision.h:397
Definition: icollision.h:394
Definition: icollision.h:395
anonymous enum
Enumerator
collisionsphere_params 
Definition: icollision.h:775
Enumerator
collisionsphere_radius 
collisionsphere_node 
collisionsphere_scaleFactor 
779  collisionsphere_node, //using a node right now this really needs to be a TM but it does not look like tms are hooked up yet in pb2
781  };
Definition: icollision.h:779
Definition: icollision.h:780
Definition: icollision.h:778
anonymous enum
Enumerator
collisionmesh_params 
Definition: icollision.h:1157
anonymous enum
Enumerator
collisionmesh_hit_face_index 
collisionmesh_hit_bary 
collisionmesh_node 
1160  {
1163  collisionmesh_node //using a node right now this really needs to be a TM but it does not look like tms are hooked up yet in pb2
1164  };
Definition: icollision.h:1163
Definition: icollision.h:1161
Definition: icollision.h:1162