<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:10pt"><div>Hello,</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal;">I would like to know the relationship of the ResliceAxes and ResliceAxesDirectionCosines.</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal;">For my understanding the upper left 3x3 matrix of ResliceAxes consists of the entries of ResliceAxesDirectionCosines which is true for example in vtkImagePlaneWidget whereas the top 3x1 entries in the upper right determine a kind of translation.</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal;">But for
 Examples/ImageProcessing/Python/ImageSlicing.py this ain't true. Here the OutputDimensionality is set to 2 in contrast to 3 in ImagePlaneWidget. I know this is done to extract the slice. Can someone explain me how OutputDimensionality, ResliceAxes and ResliceAxesDirectionCosines are related to each other?</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal;">Best,</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal;">Willi</div></div></body></html>