Luca, the first pipe worked perfectly for what I was doing.  Your other points 
will definitely be useful in the future, though.  Thanks again.

Ben


________________________________
From: Luca Antiga [luca.ant...@orobix.com]
Sent: Friday, January 20, 2012 2:22 AM
To: Berkowitz, Benjamin M
Cc: vmtk-users@lists.sourceforge.net
Subject: Re: [vmtk-users] Overlaying

Dear Ben,

 if by overlaying you only intend to show them together you can use the 
vmtkrenderer script ahead of the pipe - this will cause all renderings to 
happen in the same window:

vmtkrenderer --pipe vmtksurfaceviewer -ifile surface1.vtp -opacity 0.5 -color 
1.0 0.8 0.8 --pipe vmtksurfaceviewer -ifile centerline1.vtp --pipe 
vmtksurfaceviewer -ifile surface2.vtp -opacity 0.5 -color 0.8 1.0 0.8 --pipe ...

However, if your models are not colocated in space and you also want to bring 
them close together, you have two possibilities:

1. Use the vmtkicpregistration script to align one surface to the other, and 
then optionally use vmtksurfacetransform to use the same transform matrix to 
transform, say, the centerlines using the same transformation matrix.
2. Use the vmtksurfacetransforminteractive script to manually transform one 
surface to the next. Same as above, you can then use the same matrix to 
transform other data you may want to bring along.

Let me know if you need more details on these steps or if the former pipe was 
enough for your needs.

Best regards


Luca



On Jan 19, 2012, at 11:32 PM, Berkowitz, Benjamin M wrote:

Hi,

I've had multiple occasions where I've wanted to overlay a vessel model or a 
centerline over another model or centerline.  Is there any easy way to do this 
from PypePad, or do I need to go more complicated and do it using VTK commands?

Thanks,
Ben Berkowitz
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net<mailto:vmtk-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/vmtk-users

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users

Reply via email to