Download Geant4 User`s Guide - For Toolkit Developers
Transcript
G4SmartVoxelProxy G4SmartVoxelProxy() GetHeader() GetNode() IsHeader() IsNode() 1 G4SmartVoxelNode 0... fcontents : G4SliceVe... -fNode Voxel Header is passed G4VoxelLimits during construction, to provide information on limits of any previous axes. 1 1..n GetMaxEquivalentSlice... GetMinEquivalentSlice... GetNoContained() GetVolume() Insert() -fHeader 0... G4SmartVoxelHeader fslices : G4ProxyVector 1 -fcontents 1 1 1 G4SliceVector G4ProxyVector G4VoxelLimits 0..n G4int (from global) ) #fslices G4SmartVoxelHeader() GetAxis() GetMaxExtent() GetMinEquivalentSliceNo() GetMinExtent() GetNoSlices() GetSlice() SetMaxEquivalentSliceNo() T vector (from STL/std) AddLimit() ClipToLimits() GetMaxExtent() GetMinExtent() Inside() OutCode() Figure 38: Smart Voxels 69 G4DrawVoxels CreatePlacedPolyhedra() DrawVoxels() SetVoxelsVisAttributes()