[vtkusers] about "SetFilePrefix"

Àî±ö binleemmboy at 21cn.com
Tue Sep 7 21:08:40 EDT 2004


>>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