Definition at line 40 of file JDrawModule3D.cc.
◆ JGeoVolume()
JGeoVolume::JGeoVolume |
( |
const char * |
name, |
|
|
const TGeoShape * |
shape, |
|
|
const TGeoMedium * |
med = 0 |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
name | name |
shape | shape |
med | medium |
Definition at line 51 of file JDrawModule3D.cc.
54 TGeoVolume(name, shape, med)
◆ ExecuteEvent()
virtual void JGeoVolume::ExecuteEvent |
( |
Int_t |
event, |
|
|
Int_t |
px, |
|
|
Int_t |
py |
|
) |
| |
|
inlinevirtual |
Mouse events.
- Parameters
-
event | event |
px | x-position of mouse |
py | y-position of mouse |
Definition at line 65 of file JDrawModule3D.cc.
67 if (event == kMouseEnter) {
70 p1->AddText(i->c_str());
75 }
else if (event == kMouseLeave) {
83 TGeoVolume::ExecuteEvent(event, px, py);
TCanvas * c1
Global variables to handle mouse events.
std::vector< std::string > buffer
◆ AddText()
void JGeoVolume::AddText |
( |
const std::string & |
text | ) |
|
|
inline |
◆ buffer
The documentation for this class was generated from the following file: