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:219
Definition: icollision.h:219
Definition: icollision.h:220
Definition: icollision.h:218
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:395
Definition: icollision.h:397
Definition: icollision.h:396
Definition: icollision.h:394
anonymous enum
Enumerator
collisionsphere_params 
Definition: icollision.h:780
Enumerator
collisionsphere_radius 
collisionsphere_node 
collisionsphere_scaleFactor 
784  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
786  };
Definition: icollision.h:784
Definition: icollision.h:785
Definition: icollision.h:783
anonymous enum
Enumerator
collisionmesh_params 
Definition: icollision.h:1168
anonymous enum
Enumerator
collisionmesh_hit_face_index 
collisionmesh_hit_bary 
collisionmesh_node 
1171  {
1174  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
1175  };
Definition: icollision.h:1173
Definition: icollision.h:1174
Definition: icollision.h:1172