File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -996,15 +996,11 @@ function UpdatePlot(this)
996996                        cubePos(this .plane ) =  this .slice ;
997997                        cubePos(1 : end  ~=  this .plane ) =  fliplr(pos );
998998                        cubeIx =  round(cubePos );
999-                         vCubeIdx =  [cubeIx(2 ),cubeIx(1 ),cubeIx(3 )];
1000999                        % Here comes the index permutation stuff
10011000                        % Cube Index
1002-                         cursorText{end + 1 ,1 } =  [' Cube Index: '   mat2str(vCubeIdx )];
1001+                         cursorText{end + 1 ,1 } =  [' Cube Index: '   mat2str(cubeIx )];
10031002                        % Space Coordinates
1004-                         coords =  zeros(1 ,3 );
1005-                         coords(1 ) =  ct .y(cubePos(2 ));
1006-                         coords(2 ) =  ct .x(cubePos(1 ));
1007-                         coords(3 ) =  ct .z(cubePos(3 ));
1003+                         coords =  matRad_cubeIndex2worldCoords(cubeIx ,ct );
10081004                        cursorText{end + 1 ,1 } =  [' Space Coordinates: '   mat2str(coords ,5 ) '  mm'  ];
10091005
10101006                        ctVal =  ct.cubeHU{1 }(cubeIx(1 ),cubeIx(2 ),cubeIx(3 ));
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments