46 fMinX = fMinY = fMinZ = -
DBL_MAX;
47 fMaxX = fMaxY = fMaxZ =
DBL_MAX;
76 GetNavigatorForTracking();
94 CreateTouchableHistoryHandle();
96 G4int depth = touchable->GetHistoryDepth();
97 for (
G4int i = 0; i<depth; ++i) {
98 if(touchable->GetVolume()->GetLogicalVolume() ==
fVolume)
break;
99 touchable->MoveUpHistory();
110 for (
int i=0; i<2; ++i) {
111 local[0] = (i==0 ? -1.0 : 1.0) *
GetWidth()/2.;
112 for (
int j=0; j<2; ++j) {
113 local[1] = (j==0 ? -1.0 : 1.0) *
GetHeight()/2.;
114 for (
int k=0; k<2; ++k) {
115 local[2] = (k==0 ? -1.0 : 1.0) *
GetLength()/2.;
119 global[0] = globalPosition.
x();
120 global[1] = globalPosition.
y();
121 global[2] = globalPosition.
z();
133 if(color.size() > 0 &&
134 (isdigit(color.c_str()[0]) || color.c_str()[0] ==
'.')) {
136 if (sscanf(color.c_str(),
"%lf,%lf,%lf",&
red,&green,&
blue) == 3) {