Classes | Defines | Enumerations

icollision.h File Reference

#include "maxheap.h"
#include "iparamm2.h"
#include "iFnPub.h"

Go to the source code of this file.

Classes

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

Defines

#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 }

Define Documentation

#define PLANAR_COLLISION_ID   Class_ID(0x14585111, 0x444a7dcf)

Definition at line 26 of file icollision.h.

#define SPHERICAL_COLLISION_ID   Class_ID(0x14585222, 0x555a7dcf)

Definition at line 27 of file icollision.h.

#define MESH_COLLISION_ID   Class_ID(0x14585333, 0x666a7dcf)

Definition at line 28 of file icollision.h.

#define COLLISION_FO_INTERFACE   Class_ID(0x14585444, 0x777a7dcf)

Definition at line 31 of file icollision.h.

#define GetCollisionOpsInterface (   cd )    (CollisionOps *)(cd)->GetInterface(COLLISION_FO_INTERFACE)

Definition at line 33 of file icollision.h.

#define POINT_COLLISION   1

Definition at line 38 of file icollision.h.

#define SPHERE_COLLISION   2

Definition at line 39 of file icollision.h.

#define BOX_COLLISION   4

Definition at line 40 of file icollision.h.

#define EDGE_COLLISION   8

Definition at line 41 of file icollision.h.


Enumeration Type Documentation

anonymous enum
anonymous enum
Enumerator:
collisionplane_params 

Definition at line 395 of file icollision.h.

anonymous enum
anonymous enum
Enumerator:
collisionsphere_params 

Definition at line 772 of file icollision.h.

Enumerator:
collisionsphere_radius 
collisionsphere_node 
collisionsphere_scaleFactor 

Definition at line 775 of file icollision.h.

                      { collisionsphere_radius,
       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
       collisionsphere_scaleFactor
    };
anonymous enum
Enumerator:
collisionmesh_params 

Definition at line 1149 of file icollision.h.

anonymous enum
Enumerator:
collisionmesh_hit_face_index 
collisionmesh_hit_bary 
collisionmesh_node 

Definition at line 1152 of file icollision.h.

     { 
        collisionmesh_hit_face_index,
        collisionmesh_hit_bary,
        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
    };