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

Public Methods | |
| LayeredBox (Medium* mother, double dx, double dy) | |
| Medium& | addLayer (double thickness, const char* material="vacuum", Detector* det=0) |
| The enclosing Box will be increased in the z-direction by thickness. More... | |
| Medium& | addLayer (Medium* new_medium, double thickness,const char* material="vacuum") |
| An important constraint is that the added Medium fit within a box defined by dx, dy, thickness, and centered on the orign. More... | |
| double | height () const |
| access to the outer dimensions (respectively x,y,z before rotations). More... | |
| double | width () const |
| access to the outer dimensions (respectively x,y,z before rotations). More... | |
| double | depth () const |
| access to the outer dimensions (respectively x,y,z before rotations). More... | |
| const char* | nameOf () const |
| return classname. More... | |
| void | createDetectorView (gui::DisplayRep& view) |
| Graphical display. More... | |
Private Attributes | |
| double | m_depth |
| double | m_width |
| double | m_height |
Definition at line 12 of file LayeredBox.h.
|
|
Definition at line 14 of file LayeredBox.cxx. |
|
|
An important constraint is that the added Medium fit within a box defined by dx, dy, thickness, and centered on the orign. Geometry errors would result otherwise. The material (default vacuum) would be used for any open spaces. Returns reference to the new medium for further modification. Definition at line 49 of file LayeredBox.cxx. |
|
|
The enclosing Box will be increased in the z-direction by thickness. The origin, in the center of the original face, will remain at z=0. Returns reference to the new medium for further modification.
Definition at line 33 of file LayeredBox.cxx. |
|
|
Graphical display.
Reimplemented from LayeredMedium. Definition at line 81 of file LayeredBox.cxx. |
|
|
access to the outer dimensions (respectively x,y,z before rotations).
Definition at line 48 of file LayeredBox.h. |
|
|
access to the outer dimensions (respectively x,y,z before rotations).
Definition at line 44 of file LayeredBox.h. |
|
|
return classname.
Reimplemented from CompositeMedium. Definition at line 51 of file LayeredBox.h. |
|
|
access to the outer dimensions (respectively x,y,z before rotations).
Definition at line 46 of file LayeredBox.h. |
|
|
Definition at line 57 of file LayeredBox.h. |
|
|
Definition at line 57 of file LayeredBox.h. |
|
|
Definition at line 57 of file LayeredBox.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000