#include <LineLocalMinDistanceFilter.h>
LocalMinDistance cone information class for a Line collision primitive. More...
LocalMinDistance cone information class for a Line collision primitive.
Protected Attributes | |
sofa::defaulttype::Vector3 | m_nMean |
sofa::defaulttype::Vector3 | m_triangleRight |
sofa::defaulttype::Vector3 | m_triangleLeft |
sofa::defaulttype::Vector3 | m_lineVector |
double | m_computedRightAngleCone |
double | m_computedLeftAngleCone |
bool | m_twoTrianglesAroundEdge |
![]() | |
int | m_revision |
Last filter update revision. More... | |
const LocalMinDistanceFilter * | m_lmdFilters |
The LocalMinDistanceFilters object that contains this InfoFilter. More... | |
core::topology::BaseMeshTopology * | base_mesh_topology |
const sofa::helper::vector< sofa::defaulttype::Vector3 > * | position_filtering |
Public Member Functions | |
LineInfo (LocalMinDistanceFilter *lmdFilters=nullptr) | |
Default constructor. More... | |
~LineInfo () override | |
Default destructor. More... | |
bool | validate (const Index edge_index, const defaulttype::Vector3 &PQ) override |
Returns the validity of a detected contact according to this LineInfo. More... | |
void | buildFilter (Index) override |
Computes the region of interest cone of the Line primitive. More... | |
![]() | |
InfoFilter (LocalMinDistanceFilter *lmdFilters) | |
Default constructor. More... | |
virtual | ~InfoFilter () |
Default destructor. More... | |
virtual bool | isValid (void) |
Returns cone information validity (up to date or not?). More... | |
virtual void | setValid () |
Sets cone information validity. More... | |
const LocalMinDistanceFilter * | getLMDFilters (void) |
Returns the LocalMinDistanceFilters object that contains this InfoFilter. More... | |
void | setLMDFilters (const LocalMinDistanceFilter *lmdFilters) |
Sets the LocalMinDistanceFilters object that contains this InfoFilter. More... | |
void | setBaseMeshTopology (core::topology::BaseMeshTopology *bmt) |
void | setPositionFiltering (const sofa::helper::vector< sofa::defaulttype::Vector3 > *x) |
Friends | |
std::ostream & | operator<< (std::ostream &os, const LineInfo &) |
Output stream. More... | |
std::istream & | operator>> (std::istream &in, LineInfo &) |
Input stream. More... | |
Additional Inherited Members |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
sofa::component::collision::LineInfo::LineInfo | ( | LocalMinDistanceFilter * | lmdFilters = nullptr | ) |
Default constructor.
|
inlineoverride |
Default destructor.
|
overridevirtual |
Computes the region of interest cone of the Line primitive.
Implements sofa::component::collision::InfoFilter.
|
overridevirtual |
Returns the validity of a detected contact according to this LineInfo.
Implements sofa::component::collision::InfoFilter.
|
friend |
Output stream.
|
friend |
Input stream.