sofa::simulation::CollisionVisitor Class Reference

Compute collision reset, detection and response in one step. More...

#include <CollisionVisitor.h>

Inheritance diagram for sofa::simulation::CollisionVisitor:

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

Collaboration graph
[legend]

Public Member Functions

virtual void processCollisionPipeline (simulation::Node *node, core::componentmodel::collision::Pipeline *obj)
virtual Result processNodeTopDown (simulation::Node *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.

Detailed Description

Compute collision reset, detection and response in one step.

Definition at line 39 of file CollisionVisitor.h.


Member Function Documentation

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

Return a category name for this action.

Only used for debugging / profiling purposes

Reimplemented from sofa::simulation::Visitor.

Definition at line 48 of file CollisionVisitor.h.

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

Visitor::Result sofa::simulation::CollisionVisitor::processNodeTopDown ( simulation::Node *   )  [virtual]

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

Reimplemented from sofa::simulation::Visitor.

Definition at line 35 of file CollisionVisitor.cpp.

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


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

Generated on Sun Nov 23 04:24:22 2008 for Sofa by  doxygen 1.5.7.1