Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
TYFaceSelector Class Reference

Building class of the faces list. More...

#include <TYFaceSelector.h>

Inheritance diagram for TYFaceSelector:
Inheritance graph
[legend]
Collaboration diagram for TYFaceSelector:
Collaboration graph
[legend]

Public Member Functions

 TYFaceSelector (TYSolver &solver)
 
virtual ~TYFaceSelector ()
 
virtual void selectFaces (std::deque< TYSIntersection > &tabIntersect, const OSegment3D &rayon, const string &sourceVolumeId)
 Build the array of intersections. More...
 
 TYFaceSelector (TYSolver &solver)
 
virtual ~TYFaceSelector ()
 
virtual void selectFaces (std::deque< TYSIntersection > &tabIntersect, const TYTrajet &rayon)
 Build the array of intersections. More...
 
- Public Member Functions inherited from TYFaceSelectorInterface
 TYFaceSelectorInterface ()
 Constructor. More...
 
virtual ~TYFaceSelectorInterface ()
 Destructor. More...
 

Protected Attributes

TYSolver_solver
 Reference to the solver. More...
 

Private Member Functions

bool buildPlans (TYSPlan *plan, const OSegment3D &rayon)
 
bool CalculSegmentCoupe (const TYStructSurfIntersect &FaceCourante, TYSIntersection &Intersect, OPoint3D &pt1, OPoint3D &pt2, OPoint3D &pt3, const int &indice) const
 
void reorder_intersect (std::deque< TYSIntersection > &tabIntersect)
 put infrastructure faces on top More...
 
bool buildPlans (TYSPlan *plan, const OSegment3D &rayon)
 
bool CalculSegmentCoupe (const TYStructSurfIntersect &FaceCourante, TYSIntersection &Intersect, OPoint3D &pt1, OPoint3D &pt2, OPoint3D &pt3, const int &indice) const
 
void reorder_intersect (std::deque< TYSIntersection > &tabIntersect)
 put infrastructure faces on top More...
 

Detailed Description

Building class of the faces list.

Definition at line 28 of file TYFaceSelector.h.

Constructor & Destructor Documentation

◆ TYFaceSelector() [1/2]

TYFaceSelector::TYFaceSelector ( TYSolver solver)

Definition at line 27 of file TYFaceSelector.cpp.

◆ ~TYFaceSelector() [1/2]

TYFaceSelector::~TYFaceSelector ( )
virtual

Definition at line 29 of file TYFaceSelector.cpp.

◆ TYFaceSelector() [2/2]

TYFaceSelector::TYFaceSelector ( TYSolver solver)

◆ ~TYFaceSelector() [2/2]

virtual TYFaceSelector::~TYFaceSelector ( )
virtual

Member Function Documentation

◆ buildPlans() [1/2]

bool TYFaceSelector::buildPlans ( TYSPlan plan,
const OSegment3D rayon 
)
private

Definition at line 101 of file TYFaceSelector.cpp.

Here is the caller graph for this function:

◆ buildPlans() [2/2]

bool TYFaceSelector::buildPlans ( TYSPlan plan,
const OSegment3D rayon 
)
private

◆ CalculSegmentCoupe() [1/2]

bool TYFaceSelector::CalculSegmentCoupe ( const TYStructSurfIntersect FaceCourante,
TYSIntersection Intersect,
OPoint3D pt1,
OPoint3D pt2,
OPoint3D pt3,
const int &  indice 
) const
private

Definition at line 161 of file TYFaceSelector.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CalculSegmentCoupe() [2/2]

bool TYFaceSelector::CalculSegmentCoupe ( const TYStructSurfIntersect FaceCourante,
TYSIntersection Intersect,
OPoint3D pt1,
OPoint3D pt2,
OPoint3D pt3,
const int &  indice 
) const
private

◆ reorder_intersect() [1/2]

void TYFaceSelector::reorder_intersect ( std::deque< TYSIntersection > &  tabIntersect)
private

put infrastructure faces on top

Definition at line 73 of file TYFaceSelector.cpp.

Here is the caller graph for this function:

◆ reorder_intersect() [2/2]

void TYFaceSelector::reorder_intersect ( std::deque< TYSIntersection > &  tabIntersect)
private

put infrastructure faces on top

◆ selectFaces() [1/2]

void TYFaceSelector::selectFaces ( std::deque< TYSIntersection > &  tabIntersect,
const OSegment3D rayon,
const string &  sourceVolumeId 
)
virtual

Build the array of intersections.

Parameters
tabIntersectArray of intersections
rayonRay path
sourceVolumeIdvolume_id of source when first ray point is a source

Definition at line 31 of file TYFaceSelector.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ selectFaces() [2/2]

void TYFaceSelector::selectFaces ( std::deque< TYSIntersection > &  tabIntersect,
const TYTrajet rayon 
)
virtual

Build the array of intersections.

Parameters
tabIntersectArray of intersections
rayonRay path

Definition at line 31 of file TYFaceSelector.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ _solver

TYSolver & TYFaceSelector::_solver
protected

Reference to the solver.

Definition at line 44 of file TYFaceSelector.h.


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