[Gate-users] voxel phantom

S G sweta_indbhavan at yahoo.co.in
Wed Nov 29 19:06:46 CET 2006


Dear all,
   
  I have trouble reading the voxel materials in gate v 2.2.0. I use the following code in the macro:
   
  /gate/world/daughters/name Phantom
  /gate/world/daughters/insert parameterizedBoxMatrix
   
  # reading parameterized phantom as image (ASCII format)
  /gate/Phantom/geometry/insertReader image
   
  # insert range
  /gate/Phantom/imageReader/insertTranslator range
  /gate/Phantom/imageReader/rangeTranslator/readTable voxelPhantom_range.dat
   
  # insert the ASCII file defining parameterized phantom
  /gate/Phantom/imageReader/readFile voxelPhantom_ascii.dat
   
  No matter how I define my range file
   
  old format -
   
  1
  1 1 Air
   
  new format -
   
  1
  1 1 Water true 1.0 0.0 0.0 1.0
   
  In all cases, the material described is not found and the voxels are filled with vacuum. I don't get the error - <command not found> either. Your help will be appreciated.
   
  Regards,
  Sweta
   

 				
---------------------------------
 Find out what India is talking about on  - Yahoo! Answers India 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20061129/9570b97d/attachment.htm>


More information about the Gate-users mailing list