[vtkusers] about "SetFilePrefix"
Pingkun
pingkun at ieee.org
Tue Sep 7 21:41:27 EDT 2004
Are you compiling with VC6?
Have you tried
v16->SetFilePrefix("c:\\data\\headsq\\quarter");
----- Original Message -----
From: "李宾" <binleemmboy at 21cn.com>
To: <vtkusers at vtk.org>
Sent: Wednesday, September 08, 2004 9:08 AM
Subject: Re: Re: [vtkusers] about "SetFilePrefix"
>>>oh,yes, I have modified it.
> v16->SetFilePrefix("c:/data/headsq/quarter");
>
> But it still be the same as before. And I do don't know why.
>
> Thanks a lot anyway.
>
>
>> use
>>
>> v16->SetFilePrefix("c:/data/headsq/quarter");
>>
>> instead
>>
>> byez
>> Luca
>>
>>
>>
>> 李宾 wrote:
>>
>> >hi all..
>> >
>> >I read the volume file,but there is no data inside it!!
>> >
>> >vtkVolume16Reader* v16=vtkVolume16Reader::New();
>> >v16->SetDataDimensions(64,64);
>> >v16->SwapBytesOn();
>> >v16->SetFilePrefix("c:/data/headsq/quarter.1");
>> >v16->SetImageRange(1,93);
>> >v16->SetDataSpacing(3.2,3.2,1.5);
>> >
>> >and sure I put the data(headsq\quarter) in the folder data directory.
>> >
>> >but the output still rendered with empty data it seems that it can't
>> >find
>> >the path to get the data...
>> >i also did the following:
>> >1)change "\" with "/" and "\\"..
>> >2)download a new version of vtkdata files..
>> >3)change the location of the data..
>> >BUT NO Progress, the same proplem stell!!
>> >
>> >
>> >
>> >
>> >>Errors in the background screen is:
>> >>
>> >>
>> >
>> >
>> >
>> >>ERROR: In C:\martink\vtk40\VTK\Rendering\vtkPolyDataMapper.cxx, line 72
>> >>
>> >>
>> >vtkOpenGLPolyDataMapper (0x003D8F18): Mapper has no input.
>> >
>> >
>> >
>> >>ERROR: In C:\martink\vtk40\VTK\Rendering\vtkPolyDataMapper.cxx, line 72
>> >>
>> >>
>> >vtkOpenGLPolyDataMapper (0x003D8F18): Mapper has no input.
>> >
>> >
>> >
>> >>ERROR: In C:\martink\vtk40\VTK\Rendering\vtkPolyDataMapper.cxx, line 72
>> >>
>> >>
>> >vtkOpenGLPolyDataMapper (0x003D8F18): Mapper has no input.
>> >
>> >Could you tell me why and how to do?
>> >
>> >Thanks a lot.
>> >----------------------------------------------
>> >做我的恋人吧,拨打96601909寻找心中恋人
>> >http://phone.21cn.com
>> >移动卡啦ok,独家试唱
>> >http://mms.21cn.com/ring/ring.jsp
>> >被城市烙印的女人 单身情歌唱多久?
>> >http://news.21cn.com/social/
>> >21CN商务邮箱五一8折优惠,丰厚奖品等你拿
>> >http://mail.21cn.com/huodong/0405/business/detail.html
>> >企业邮箱夏日大优惠,手机、MP3即时送
>> >http://mail.21cn.com/huodong/0405/corpmail/
>> >
>> >
>> >_______________________________________________
>> >This is the private VTK discussion list.
>> >Please keep messages on-topic. Check the FAQ at:
>> ><http://public.kitware.com/cgi-bin/vtkfaq>
>> >Follow this link to subscribe/unsubscribe:
>> >http://www.vtk.org/mailman/listinfo/vtkusers
>> >.
>> >
>> >
>> >
>>
> ----------------------------------------------
> 做我的恋人吧,拨打96601909寻找心中恋人
> http://phone.21cn.com
> 移动卡啦ok,独家试唱
> http://mms.21cn.com/ring/ring.jsp
> 被城市烙印的女人 单身情歌唱多久?
> http://news.21cn.com/social/
> 21CN商务邮箱五一8折优惠,丰厚奖品等你拿
> http://mail.21cn.com/huodong/0405/business/detail.html
> 企业邮箱夏日大优惠,手机、MP3即时送
> http://mail.21cn.com/huodong/0405/corpmail/
>
>
>
>
>
>
More information about the vtkusers
mailing list