sofa::core::componentmodel::collision::Detection Class Reference

#include <Detection.h>

Inheritance diagram for sofa::core::componentmodel::collision::Detection:

Inheritance graph
[legend]
Collaboration diagram for sofa::core::componentmodel::collision::Detection:

Collaboration graph
[legend]

Public Member Functions

 Detection ()
virtual void setIntersectionMethod (Intersection *v)
 virtual because subclasses might do precomputations based on intersection algorithms
Intersection * getIntersectionMethod () const

Protected Member Functions

virtual void changeInstanceBP (Instance)
virtual void changeInstanceNP (Instance)
virtual void changeInstance (Instance inst)

Protected Attributes

Intersection * intersectionMethod
 Current intersection method.
std::map< Instance,
Intersection * > 
storedIntersectionMethod
 All intersection methods.

Detailed Description

Definition at line 49 of file Detection.h.


Constructor & Destructor Documentation

sofa::core::componentmodel::collision::Detection::Detection (  )  [inline]

Definition at line 58 of file Detection.h.


Member Function Documentation

virtual void sofa::core::componentmodel::collision::Detection::changeInstance ( Instance  inst  )  [inline, protected, virtual]

virtual void sofa::core::componentmodel::collision::Detection::changeInstanceBP ( Instance   )  [inline, protected, virtual]

Reimplemented in sofa::core::componentmodel::collision::BroadPhaseDetection.

Definition at line 68 of file Detection.h.

Referenced by changeInstance().

virtual void sofa::core::componentmodel::collision::Detection::changeInstanceNP ( Instance   )  [inline, protected, virtual]

Reimplemented in sofa::core::componentmodel::collision::NarrowPhaseDetection.

Definition at line 69 of file Detection.h.

Referenced by changeInstance().

Intersection* sofa::core::componentmodel::collision::Detection::getIntersectionMethod (  )  const [inline]

virtual void sofa::core::componentmodel::collision::Detection::setIntersectionMethod ( Intersection *  v  )  [inline, virtual]

virtual because subclasses might do precomputations based on intersection algorithms

Definition at line 64 of file Detection.h.

References intersectionMethod.

Referenced by sofa::simulation::PipelineImpl::computeCollisionReset(), sofa::component::collision::CarvingManager::doCarve(), and SofaFlowVR::FlowVRInputMesh::init().


Field Documentation

All intersection methods.

Definition at line 55 of file Detection.h.

Referenced by changeInstance().


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

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