Hi Lingfeng,
this is currently not supported out of the box by the class, but if you look 
into
vtkVmtk/Misc/vtkvmtkCurvedMPRImageFilter.cxx you can reproduce the mapping,
although you'll have to play with VTK a bit. The key is at line 299 of the file:
the algorithm takes the line tangent t and the parallel transport normal p, 
computes
the cross product tp and sets

 
reslice->SetResliceAxesDirectionCosines(p[0],p[1],p[2],tp[0],tp[1],tp[2],t[0],t[1],t[2]);

and

 reslice->SetResliceAxesOrigin(centerSlice[0],centerSlice[1],centerSlice[2]);

where center slice is the current centerline point (from which tangent and 
normals
are taken). This defines the transformation you're looking for.

I'm available for taking care of this, but since this is a request for an 
advanced feature, 
you should contact me off-list for professional support.

Best,

Luca
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users

Reply via email to