Hi Elaine,
centerlines work exactly like surfaces, in the sense that you can write
them out using vmtksurfacewriter, with the extra-caveat that you have to pipe
the output to the writer explicitly, this way:
vmtkcenterlines -ifile foo.vtp [...other options...] --pipe vmtksurfacewriter
-i @.o -mode ascii -ofile foo.vtk
To learn more about piping, read the basic pypes tutorial on vmtk.org
Best,
Luca
On Mar 4, 2013, at 8:56 PM, Elaine Tang wrote:
> HI Luca,
>
> Thank you for your reply. What if I am trying to write centerlines and
> bifurcation as .vtk (instead of surface)? Those functions (e.g.
> vmtkcenterlines) don't seem to have the 'mode' option.
>
> Thanks!
> Elaine
>
> On 4 March 2013 07:28, Luca Antiga <luca.ant...@orobix.com> wrote:
> Hi Elaine,
> just use an explicit writer script and specify -mode ascii as an option, like
>
> vmtksurfacesmoothing -ifle foo.vtp --pipe vmtksurfacewriter -ofile foo.vtk
> -mode ascii
>
> Best,
>
> Luca
>
>
> On Mar 3, 2013, at 11:41 PM, Elaine Tang wrote:
>
> > Hi,
> >
> > I recently installed VMTK on my RHEL 5 linux OS. Everything seems to run
> > smoothly. However, whenever I try to output as ".vtk", it defaults to
> > output as binary files. Is there any way to make it output as ASCII file as
> > default?
> >
> > Thanks!
> > --
> > Elaine Tang
> > ------------------------------------------------------------------------------
> > Everyone hates slow websites. So do we.
> > Make your web apps faster with AppDynamics
> > Download AppDynamics Lite for free today:
> > http://p.sf.net/sfu/appdyn_d2d_feb_______________________________________________
> > vmtk-users mailing list
> > vmtk-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/vmtk-users
>
>
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users