76 fVoxelsVisAttributes[0]=VA_voxelX;
77 fVoxelsVisAttributes[1]=VA_voxelY;
78 fVoxelsVisAttributes[2]=VA_voxelZ;
83 fBoundingBoxVisAttributes=VA_boundingbox;
98 G4double dx=kInfinity,dy=kInfinity,dz=kInfinity;
99 G4double xmax=0,xmin=0,ymax=0,ymin=0,zmax=0,zmin=0;
120 bounding_polyhedronBox.SetVisAttributes(&fBoundingBoxVisAttributes);
139 t_FirstCenterofVoxelPlane=
G4ThreeVector(xmin,(ymin+ymax)*0.5,
141 voxelsVisAttributes=&fVoxelsVisAttributes[0];
145 t_FirstCenterofVoxelPlane=
G4ThreeVector((xmin+xmax)*0.5,ymin,
148 voxelsVisAttributes=&fVoxelsVisAttributes[1];
153 (ymin+ymax)*0.5,zmin);
155 voxelsVisAttributes=&fVoxelsVisAttributes[2];
162 voxel_plane.SetVisAttributes(voxelsVisAttributes);
169 while (slice_no<no_slices)
174 newlimit.AddLimit(header->
GetAxis(),beginning+step*slice_no,
176 ComputeVoxelPolyhedra(lv,slice->
GetHeader(),newlimit,ppl);
178 current_translation_vector=unit_translation_vector;
179 current_translation_vector*=step*slice_no;
183 +t_FirstCenterofVoxelPlane)));
187 if (slice_no<no_slices) { slice=header->
GetSlice(slice_no); }
217 GetNavigatorForTracking()->CreateTouchableHistoryHandle();
219 aTouchable->GetHistory()->GetTopTransform().Inverse();
228 for (
size_t i=0;i<pplist->size();i++)
230 pVVisManager->
Draw((*pplist)[i].GetPolyhedron(),
231 (*pplist)[i].GetTransform()*transf3D);
238 "Pointer to visualization manager is null!");