To looks to me like your Aorta_voi.vtp file is in the Aorta_voi folder,
so it would be  
vmtksurfaceviewer -ifile C:\\Aorta_voi\\Aorta_voi.vtp

Luca

On Mar 7, 2013, at 4:10 PM, Haibin Cai wrote:

> Hi Luca,
>    Oh my god, It works!!! Thank you very much! I type "vmtkmarchingcubes 
> -ifile C:\\Aorta_voi\\Aorta_voi.mha -ofile C:\\Aorta_voi\\Aorta_voi.vtp" in 
> the Pypepad,and then a voi.vtp comes out in my file.Then I try to open the 
> file.I type "vmtksurfaceviewer -ifile C:\\Aorta_voi.vtp",an error comes up. 
> It says "ERROR: In 
> C:\Users\orobix\Documents\VMTK\vmtk-build\VTK\IO\vtkXMLReader.cxx, line 219
> vtkXMLPolyDataReader (01E260C0): Error opening file C:\Aorta_voi.vtp".What 
> can I do?
> Thanks,
> haibin
> 
> 
> 2013/3/7 Luca Antiga <luca.ant...@gmail.com>
> Hi Haibin,
>  try with 
> 
> vmtkmarchingcubes -ifile foo.mha -ofile foo.vtp
> 
> mha and vti are both image file formats, it will work both ways.
> 
> Luca
> 
> 
> On Mar 7, 2013, at 3:50 PM, Haibin Cai wrote:
> 
>> Hi Luca,
>>     Thank you for your help, I add the followwing to my 
>> path----"C:\build\vmtk-build\Install\bin;C:\build\vmtk-build\Install\lib\vtk-5.10;C:\build\vmtk-build\Install\lib\vmtk;C:\build\vmtk-build\Install\lib\InsightToolkit;C:\build\vmtk-build\Install\bin\Python"
>>     Then I double click vmtk-exe.pyw.It is in----C:\Program 
>> Files\vmtk\Install\bin, then the PypePad comes out.I type "vmtkmarchingcubes 
>> --help",and it comes out Creating vmtkMarchingCubes instance ....just as 
>> your  instructions. so I want to type "vmtkmarchingcubes -ifile foo.vti 
>> -ofile foo.vtp",but an error comes out that "error opening file foo.vti".I 
>> do not have a file who's Suffix is vti or vtp. I only get the 
>> "Aorta_voi.mha" in your website,where can I find or download the .vti,.vtp 
>> files? 
>> Thanks,
>> haibin
>> 
>> 
>> 2013/3/7 Luca Antiga <luca.ant...@orobix.com>
>> Hi Haibin,
>>  Windows doesn't have a LD_LIBRARY_PATH environment variable. Instead, set 
>> everything to PATH.
>> 
>> By the way, you should find a recently added file in the 
>> vmtk-build/VMTK-build directory called
>> vmtk_startup.bat. vmtk should start if you double click on that. This 
>> shouldn't require to set any
>> environment variables.
>> I'd be very interested to know if this works for you, in this case I'll 
>> change the instructions on the website.
>> 
>> Best,
>> 
>> Luca
>> 
>> 
>> On Mar 7, 2013, at 2:43 PM, Haibin Cai wrote:
>> 
>>> Dear Luca and VTK/VMTK Users,
>>>    I have successfully build vmtk/VTK/ITK using the instructions of the 
>>> VMTK website.But a problem comes out at step 5! I am using the operating 
>>> system of windows7. Could you please tell me how to set the environment in 
>>> windows7.
>>>   I know there are environment variables in windows7. I can add the 
>>> $VMTKHOME/bin to the path.And I can build a variable named PYTHONPATH and 
>>> gave it the value of 
>>> $VMTKHOME/bin/Python;$VMTKHOME/lib/vtk-5.10;$VMTKHOME/lib/vmtk if you 
>>> want.And also LD_LIBRARY_PATH.But I think it's not right, please help me! 
>>> Thanks 
>>> haibin
>>> ------------------------------------------------------------------------------
>>> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
>>> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
>>> endpoint security space. For insight on selecting the right partner to 
>>> tackle endpoint security challenges, access the full report. 
>>> http://p.sf.net/sfu/symantec-dev2dev_______________________________________________
>>> vmtk-users mailing list
>>> vmtk-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/vmtk-users
>> 
>> 
>> ------------------------------------------------------------------------------
>> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
>> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
>> endpoint security space. For insight on selecting the right partner to 
>> tackle endpoint security challenges, access the full report. 
>> http://p.sf.net/sfu/symantec-dev2dev_______________________________________________
>> vmtk-users mailing list
>> vmtk-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/vmtk-users
> 
> 
> ------------------------------------------------------------------------------
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
> endpoint security space. For insight on selecting the right partner to 
> tackle endpoint security challenges, access the full report. 
> http://p.sf.net/sfu/symantec-dev2dev_______________________________________________
> vmtk-users mailing list
> vmtk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vmtk-users

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users

Reply via email to