sofa::simulation::tree::CollisionVisitor Class Reference

#include <CollisionVisitor.h>

Inheritance diagram for sofa::simulation::tree::CollisionVisitor:

Inheritance graph
[legend]
Collaboration diagram for sofa::simulation::tree::CollisionVisitor:

Collaboration graph
[legend]

Detailed Description

Compute collision reset, detection and response in one step.

Definition at line 41 of file CollisionVisitor.h.


Public Member Functions

virtual void processCollisionPipeline (GNode *node, core::componentmodel::collision::Pipeline *obj)
virtual Result processNodeTopDown (GNode *node)
 Callback method called when decending to a new node. Recursion will stop if this method returns RESULT_PRUNE.
virtual const char * getCategoryName () const
 Return a category name for this action.

Member Function Documentation

void sofa::simulation::tree::CollisionVisitor::processCollisionPipeline ( GNode node,
core::componentmodel::collision::Pipeline obj 
) [virtual]

Reimplemented in sofa::simulation::tree::CollisionResetVisitor, sofa::simulation::tree::CollisionDetectionVisitor, and sofa::simulation::tree::CollisionResponseVisitor.

Definition at line 43 of file CollisionVisitor.cpp.

References sofa::core::componentmodel::collision::Pipeline::computeCollisions().

Referenced by processNodeTopDown().

Visitor::Result sofa::simulation::tree::CollisionVisitor::processNodeTopDown ( GNode  )  [virtual]

Callback method called when decending to a new node. Recursion will stop if this method returns RESULT_PRUNE.

Reimplemented from sofa::simulation::tree::Visitor.

Definition at line 37 of file CollisionVisitor.cpp.

References sofa::simulation::tree::GNode::collisionPipeline, sofa::simulation::tree::Visitor::for_each(), processCollisionPipeline(), and sofa::simulation::tree::Visitor::RESULT_CONTINUE.

virtual const char* sofa::simulation::tree::CollisionVisitor::getCategoryName (  )  const [inline, virtual]

Return a category name for this action.

Only used for debugging / profiling purposes

Reimplemented from sofa::simulation::tree::Visitor.

Definition at line 50 of file CollisionVisitor.h.


The documentation for this class was generated from the following files:
Generated on Mon May 5 23:42:08 2008 for Sofa by  doxygen 1.5.3