SOFA API  3ea83cbd
Open source framework for multi-physics simuation
sofa::component::collision::detection::intersection::RayNewProximityIntersection Class Reference

#include <RayNewProximityIntersection.h>

Inheritance diagram for sofa::component::collision::detection::intersection::RayNewProximityIntersection:

Protected Attributes

NewProximityIntersectionintersection
 

Public Member Functions

 RayNewProximityIntersection (NewProximityIntersection *object, bool addSelf=true)
 
bool testIntersection (collision::geometry::Ray &t1, collision::geometry::Triangle &t2, const core::collision::Intersection *currentIntersection)
 
int computeIntersection (collision::geometry::Ray &t1, collision::geometry::Triangle &t2, OutputVector *, const core::collision::Intersection *currentIntersection)
 
bool testIntersection (collision::geometry::Ray &rRay, collision::geometry::RigidSphere &rSphere, const core::collision::Intersection *currentIntersection)
 
int computeIntersection (collision::geometry::Ray &rRay, collision::geometry::RigidSphere &rSphere, OutputVector *, const core::collision::Intersection *currentIntersection)
 
bool testIntersection (collision::geometry::Ray &t1, collision::geometry::Triangle &t2)
 
int computeIntersection (collision::geometry::Ray &t1, collision::geometry::Triangle &t2, OutputVector *)
 
bool testIntersection (collision::geometry::Ray &rRay, collision::geometry::RigidSphere &rSphere)
 
int computeIntersection (collision::geometry::Ray &rRay, collision::geometry::RigidSphere &rSphere, 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

◆ intersection

NewProximityIntersection* sofa::component::collision::detection::intersection::RayNewProximityIntersection::intersection
protected

Constructor details

◆ RayNewProximityIntersection()

sofa::component::collision::detection::intersection::RayNewProximityIntersection::RayNewProximityIntersection ( NewProximityIntersection object,
bool  addSelf = true 
)

Function details

◆ computeIntersection() [1/4]

int sofa::component::collision::detection::intersection::RayNewProximityIntersection::computeIntersection ( collision::geometry::Ray rRay,
collision::geometry::RigidSphere rSphere,
OutputVector contacts 
)

◆ computeIntersection() [2/4]

int sofa::component::collision::detection::intersection::RayNewProximityIntersection::computeIntersection ( collision::geometry::Ray rRay,
collision::geometry::RigidSphere rSphere,
OutputVector contacts,
const core::collision::Intersection currentIntersection 
)

◆ computeIntersection() [3/4]

int sofa::component::collision::detection::intersection::RayNewProximityIntersection::computeIntersection ( collision::geometry::Ray t1,
collision::geometry::Triangle t2,
OutputVector contacts 
)

◆ computeIntersection() [4/4]

int sofa::component::collision::detection::intersection::RayNewProximityIntersection::computeIntersection ( collision::geometry::Ray t1,
collision::geometry::Triangle t2,
OutputVector contacts,
const core::collision::Intersection currentIntersection 
)

◆ testIntersection() [1/4]

bool sofa::component::collision::detection::intersection::RayNewProximityIntersection::testIntersection ( collision::geometry::Ray rRay,
collision::geometry::RigidSphere rSphere 
)

◆ testIntersection() [2/4]

bool sofa::component::collision::detection::intersection::RayNewProximityIntersection::testIntersection ( collision::geometry::Ray rRay,
collision::geometry::RigidSphere rSphere,
const core::collision::Intersection currentIntersection 
)

◆ testIntersection() [3/4]

bool sofa::component::collision::detection::intersection::RayNewProximityIntersection::testIntersection ( collision::geometry::Ray t1,
collision::geometry::Triangle t2 
)

◆ testIntersection() [4/4]

bool sofa::component::collision::detection::intersection::RayNewProximityIntersection::testIntersection ( collision::geometry::Ray t1,
collision::geometry::Triangle t2,
const core::collision::Intersection currentIntersection 
)