#include <LayeredMedium.h>
Inheritance diagram for LayeredMedium:

Public Methods | |
| virtual | ~LayeredMedium () |
| dtor. More... | |
| virtual double | distanceToLeave ( const Ray& r, const Medium*& nextMedium, double maxStep ) const |
| Methods for tracking. More... | |
| virtual double | distanceToEnter ( const Ray& r, const Medium*& nextMedium, double maxStep) const |
| if enters, sets nextMedium to the particular slice. More... | |
| const Medium* | inside (const Point& x) const |
| will check if the Ray intersects an internal Medium return the Medium that the point is inside, perhaps an internal one. More... | |
| virtual void | createDetectorView (gui::DisplayRep& v) |
| override to prevent attempted display of Slice: sub class must do its own thing. More... | |
| LayeredMedium (Medium* mother, int num_sufaces, double inner_offset=0) | |
| Medium& | addLayer (Medium * inner_medium, double thickness) |
| virtual const Medium* | select (const Point& x) const |
| const Surface& | referenceSurface () const |
Public Attributes | |
| std::vector<double> | m_offset |
| Volume* | m_vol |
Private Attributes | |
| int | m_select_index |
| int | m_last_boundary |
Friends | |
| class | Slice |
The geometry of each inner Medium is defined by a special Volume, LayeredMedium::Slice, that owns no surfaces, but "borrows" those of the parent medium, but with the offsets of the first two set from the list of offsets.
Definition at line 18 of file LayeredMedium.h.
|
|
dtor.
Definition at line 101 of file LayeredMedium.cxx. |
|
|
Definition at line 92 of file LayeredMedium.cxx. |
|
|
Definition at line 106 of file LayeredMedium.cxx. Referenced by SlicedCone::addLayer(), and LayeredBox::addLayer(). |
|
|
override to prevent attempted display of Slice: sub class must do its own thing.
Reimplemented from CompositeMedium. Reimplemented in LayeredBox, and SlicedCone. Definition at line 34 of file LayeredMedium.h. |
|
|
if enters, sets nextMedium to the particular slice.
Reimplemented from Medium. Definition at line 122 of file LayeredMedium.cxx. |
|
|
Methods for tracking.
Reimplemented from CompositeMedium. Definition at line 136 of file LayeredMedium.cxx. Referenced by LayeredMedium::Slice::distanceToLeave(). |
|
|
will check if the Ray intersects an internal Medium return the Medium that the point is inside, perhaps an internal one.
Reimplemented from CompositeMedium. Definition at line 194 of file LayeredMedium.cxx. |
|
|
Definition at line 173 of file LayeredMedium.cxx. Referenced by LayeredBox::createDetectorView(). |
|
|
Definition at line 178 of file LayeredMedium.cxx. |
|
|
Definition at line 107 of file LayeredMedium.h. |
|
|
Definition at line 117 of file LayeredMedium.h. |
|
|
Definition at line 109 of file LayeredMedium.h. |
|
|
Definition at line 116 of file LayeredMedium.h. |
|
|
Definition at line 112 of file LayeredMedium.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000