RBD_ColliderSDF Class Reference

#include <RBD_ColliderSDF.h>

Inheritance diagram for RBD_ColliderSDF:

SIM_Collider SIM_Data SIM_OptionsUser

List of all members.

Public Member Functions

void intersectRBDObjects (SIM_IsectPriorityQueue &queue, RBD_Object *obj_a, RBD_Object *obj_b, bool findany, bool finddeepest, fpreal depthtol, bool ignorevel, bool usesdfvel, bool usepointvel) const

Protected Member Functions

 RBD_ColliderSDF (const SIM_DataFactory *factory)
virtual ~RBD_ColliderSDF ()
virtual bool collideObjectsSubclass (SIM_Engine &engine, SIM_Object &object, SIM_Object &affector, const SIM_Time &startTime, const SIM_Time &endTime, SIM_ImpactApplyType implactapplytype, int impactflags) const
void findVertexIntersections (SIM_IsectPriorityQueue &queue, RBD_Object *obj_a, RBD_Object *obj_b, bool reverseobj, bool findany, bool finddeepest, fpreal depthtol, bool ignorevel, bool usesdfvel, bool usepointvel, int child_id_a, int child_id_b) const
 DECLARE_STANDARD_GETCASTTOTYPE ()
 DECLARE_DATAFACTORY (RBD_ColliderSDF, SIM_Collider,"Volume/Volume Collider", getDopDescription())

Static Protected Member Functions

static const SIM_DopDescriptiongetDopDescription ()


Detailed Description

Definition at line 34 of file RBD_ColliderSDF.h.


Constructor & Destructor Documentation

RBD_ColliderSDF::RBD_ColliderSDF ( const SIM_DataFactory factory  )  [explicit, protected]

virtual RBD_ColliderSDF::~RBD_ColliderSDF (  )  [protected, virtual]


Member Function Documentation

virtual bool RBD_ColliderSDF::collideObjectsSubclass ( SIM_Engine engine,
SIM_Object object,
SIM_Object affector,
const SIM_Time startTime,
const SIM_Time endTime,
SIM_ImpactApplyType  implactapplytype,
int  impactflags 
) const [protected, virtual]

Perform collision.

  • The return value is true if successful and false if the timestep should be repeated.
  • Thickness is a "diameter" - the thickness from one side of the cloth/hair to the other.

Reimplemented from SIM_Collider.

RBD_ColliderSDF::DECLARE_DATAFACTORY ( RBD_ColliderSDF  ,
SIM_Collider  ,
"Volume/Volume Collider"  ,
getDopDescription()   
) [protected]

RBD_ColliderSDF::DECLARE_STANDARD_GETCASTTOTYPE (  )  [protected]

Reimplemented from SIM_Collider.

void RBD_ColliderSDF::findVertexIntersections ( SIM_IsectPriorityQueue queue,
RBD_Object obj_a,
RBD_Object obj_b,
bool  reverseobj,
bool  findany,
bool  finddeepest,
fpreal  depthtol,
bool  ignorevel,
bool  usesdfvel,
bool  usepointvel,
int  child_id_a,
int  child_id_b 
) const [protected]

Find all vertices of A which are inside of B and add them to our queue.

static const SIM_DopDescription* RBD_ColliderSDF::getDopDescription (  )  [static, protected]

void RBD_ColliderSDF::intersectRBDObjects ( SIM_IsectPriorityQueue queue,
RBD_Object obj_a,
RBD_Object obj_b,
bool  findany,
bool  finddeepest,
fpreal  depthtol,
bool  ignorevel,
bool  usesdfvel,
bool  usepointvel 
) const

Finds intersection of RBD objects. Fills the given queue with all of the two way intersections.


The documentation for this class was generated from the following file:

Generated on Mon Jan 28 00:29:50 2013 for HDK by  doxygen 1.5.9