SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::component::collision::RayDiscreteIntersection Class Reference

#include <RayDiscreteIntersection.h>

Inheritance diagram for sofa::component::collision::RayDiscreteIntersection:

Protected Attributes

DiscreteIntersectionintersection
 

Public Member Functions

 RayDiscreteIntersection (DiscreteIntersection *object, bool addSelf=true)
 
template<class T >
bool testIntersection (Ray &, TSphere< T > &)
 
bool testIntersection (Ray &, Triangle &)
 
template<class T >
int computeIntersection (Ray &, TSphere< T > &, OutputVector *)
 
int computeIntersection (Ray &, Triangle &, OutputVector *)
 
bool testIntersection (Ray &rRay, OBB &rOBB)
 
int computeIntersection (Ray &rRay, OBB &rOBB, OutputVector *)
 
- Public Member Functions inherited from sofa::core::collision::BaseIntersector
 BaseIntersector ()
 
 ~BaseIntersector ()
 
template<class Model1 , class Model2 >
sofa::core::collision::TDetectionOutputVector< Model1, Model2 > * createOutputVector (Model1 *, Model2 *)
 
template<class Model1 , class Model2 >
sofa::core::collision::TDetectionOutputVector< Model1, Model2 > * getOutputVector (Model1 *, Model2 *, sofa::core::collision::DetectionOutputVector *contacts)
 
int beginIntersection (sofa::core::CollisionModel *, sofa::core::CollisionModel *, OutputVector *)
 
int endIntersection (sofa::core::CollisionModel *, sofa::core::CollisionModel *, OutputVector *)
 

Attribute details

DiscreteIntersection* sofa::component::collision::RayDiscreteIntersection::intersection
protected

Constructor details

sofa::component::collision::RayDiscreteIntersection::RayDiscreteIntersection ( DiscreteIntersection object,
bool  addSelf = true 
)

Function details

template<class T >
int sofa::component::collision::RayDiscreteIntersection::computeIntersection ( Ray ray1,
TSphere< T > &  sph2,
OutputVector contacts 
)
int sofa::component::collision::RayDiscreteIntersection::computeIntersection ( Ray e1,
Triangle e2,
OutputVector contacts 
)
int sofa::component::collision::RayDiscreteIntersection::computeIntersection ( Ray rRay,
OBB rOBB,
OutputVector contacts 
)
template<class T >
bool sofa::component::collision::RayDiscreteIntersection::testIntersection ( Ray ray1,
TSphere< T > &  sph2 
)
bool sofa::component::collision::RayDiscreteIntersection::testIntersection ( Ray ,
Triangle  
)
bool sofa::component::collision::RayDiscreteIntersection::testIntersection ( Ray rRay,
OBB rOBB 
)