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

Public Methods | |
| CompositeMedium (Medium* =0, float size=100) | |
| Default Constructor. More... | |
| CompositeMedium (Medium* mother, Shape* vol, const char* mat= "vacuum", Detector * det= 0) | |
| virtual | ~CompositeMedium () |
| virtual Medium& | addMedium (Medium* nextMedium) |
| child-related operations. More... | |
| virtual Medium& | removeMedium (Medium* oldMedium) |
| child-related operations. More... | |
| void | deleteInnerMedia () |
| child-related operations. More... | |
| int | innerMediaCount () const |
| child-related operations. More... | |
| unsigned int | size () const |
| child-related operations. More... | |
| const Medium* | innerMedium (int i) const |
| child-related operations. More... | |
| const char* | nameOf () const |
| child-related operations. More... | |
| int | isComposite () const |
| child-related operations. More... | |
| virtual Medium& | setKECutOff (float keCut) |
| set tracking attributes:. More... | |
| virtual Medium& | setMaxStep (float mxStep) |
| set tracking attributes:. More... | |
| virtual Medium& | setField (Field* ) |
| set tracking attributes:. More... | |
| GeomObject& | transform (const CoordTransform& ) |
| co-ordinate transformation. More... | |
| virtual double | distanceToLeave ( const Ray& r, const Medium*& newstuff, double maxStep ) const |
| Methods for tracking. More... | |
| virtual const Medium* | inside (const Point& r) 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 | clear () |
| Methods for Event processing -- apply to the detectof if present. More... | |
| virtual void | generateResponse () |
| virtual void | accept (DetectorVisitor&) |
| virtual void | readData (std::istream&) |
| virtual void | writeData (std::ostream&) |
| virtual void | notify () |
| allow implementation of the Observer pattern -- message passed to all Detectors. More... | |
| virtual void | printOn ( std::ostream& os = std::cout ) const |
| Methods associated with GUI and Printing and I/O. More... | |
| virtual void | printResponse (std::ostream& = std::cout) const |
| Methods associated with GUI and Printing and I/O. More... | |
| virtual void | createDetectorView (gui::DisplayRep& v) |
| pass a gui::DisplayRep object to the Shape and invoke for all inner media. More... | |
| virtual void | createResponseView (gui::DisplayRep& v) |
| pass a gui::DisplayRep object to the Detector and invoke for all inner media. More... | |
Definition at line 25 of file CompositeMedium.h.
|
|
Default Constructor.
Definition at line 28 of file CompositeMedium.cxx. Referenced by LayeredBox::addLayer(). |
|
|
Definition at line 32 of file CompositeMedium.cxx. |
|
|
Definition at line 36 of file CompositeMedium.cxx. |
|
|
Reimplemented from Medium. Definition at line 128 of file CompositeMedium.cxx. |
|
|
child-related operations.
Reimplemented from Medium. Reimplemented in World. Definition at line 77 of file CompositeMedium.cxx. Referenced by World::addMedium(). |
|
|
Methods for Event processing -- apply to the detectof if present.
Reimplemented from Medium. Definition at line 113 of file CompositeMedium.cxx. Referenced by BaseApp::clearResponse(). |
|
|
pass a gui::DisplayRep object to the Shape and invoke for all inner media.
Reimplemented from Medium. Reimplemented in LayeredBox, LayeredMedium, World, LayeredTube, and SlicedCone. Definition at line 238 of file CompositeMedium.cxx. Referenced by LayeredTube::createDetectorView(). |
|
|
pass a gui::DisplayRep object to the Detector and invoke for all inner media.
Reimplemented from Medium. Definition at line 246 of file CompositeMedium.cxx. Referenced by World::ResponseView::update(). |
|
|
child-related operations.
Definition at line 71 of file CompositeMedium.cxx. Referenced by ~CompositeMedium(). |
|
|
Methods for tracking.
Reimplemented from Medium. Reimplemented in LayeredMedium, LayeredTube, and SlabWorld. Definition at line 182 of file CompositeMedium.cxx. |
|
|
Reimplemented from Medium. Definition at line 121 of file CompositeMedium.cxx. Referenced by World::processEvent(), and BaseApp::trigger(). |
|
|
child-related operations.
Definition at line 51 of file CompositeMedium.h. Referenced by LayeredTube::addLayer(), and LayeredBox::addLayer(). |
|
|
child-related operations.
Definition at line 56 of file CompositeMedium.h. |
|
|
will check if the Ray intersects an internal Medium return the Medium that the point is inside, perhaps an internal one.
Reimplemented from Medium. Reimplemented in LayeredMedium, LayeredTube, and SlabWorld. Definition at line 162 of file CompositeMedium.cxx. Referenced by World::processEvent(), and BaseApp::trigger(). |
|
|
child-related operations.
Reimplemented from Medium. Definition at line 96 of file CompositeMedium.cxx. |
|
|
child-related operations.
Reimplemented from Medium. Reimplemented in LayeredBox, LayeredTube, and SlicedCone. Definition at line 92 of file CompositeMedium.cxx. |
|
|
allow implementation of the Observer pattern -- message passed to all Detectors.
Reimplemented from Medium. Definition at line 150 of file CompositeMedium.cxx. |
|
|
Methods associated with GUI and Printing and I/O.
Reimplemented from Medium. Definition at line 219 of file CompositeMedium.cxx. Referenced by BaseApp::printDetector(), and LayeredMedium::Slice::printOn(). |
|
|
Methods associated with GUI and Printing and I/O.
Reimplemented from Medium. Definition at line 231 of file CompositeMedium.cxx. Referenced by World::ResponsePrinter::execute(), and BaseApp::printResponse(). |
|
|
Reimplemented from Medium. Definition at line 144 of file CompositeMedium.cxx. |
|
|
child-related operations.
Reimplemented from Medium. Definition at line 84 of file CompositeMedium.cxx. |
|
|
set tracking attributes:.
Reimplemented from Medium. Definition at line 46 of file CompositeMedium.cxx. Referenced by Gismo::setField(). |
|
|
set tracking attributes:.
Reimplemented from Medium. Definition at line 53 of file CompositeMedium.cxx. Referenced by SlabWorld::SlabWorld(), and Gismo::setKEcutoff(). |
|
|
set tracking attributes:.
Reimplemented from Medium. Definition at line 60 of file CompositeMedium.cxx. Referenced by Demo1::Demo1(), and Gismo::setMaxStep(). |
|
|
child-related operations.
Definition at line 53 of file CompositeMedium.h. Referenced by LayeredMedium::addLayer(), LayeredBox::createDetectorView(), LayeredMedium::Slice::distanceToLeave(), innerMediaCount(), LayeredMedium::Slice::printOn(), and LayeredMedium::Slice::resetMotherVolume(). |
|
|
co-ordinate transformation.
Reimplemented from Medium. Reimplemented in LayeredTube. Definition at line 103 of file CompositeMedium.cxx. Referenced by LayeredTube::transform(). |
|
|
Reimplemented from Medium. Definition at line 136 of file CompositeMedium.cxx. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000