[vtkusers] about "SetFilePrefix"
Amy Henderson
amy.henderson at kitware.com
Wed Sep 8 08:37:00 EDT 2004
What other filters are between this vtkVolume16Reader and the
vtkPolyDataMapper? Are you sure that everything is connected correctly and
that the parameters of the filters are set appropriately?
- Amy
At 04:06 AM 9/8/2004, Àî±ö wrote:
>yeah, I am compiling with VC++6.0.
>And I have tried
>v16->SetFilePrefix("c:\\data\\headsq\\quarter"); or
>v16->SetFilePrefix("c:\data\headsq\quarter"); or
>v16->SetFilePrefix("c:/data/headsq/quarter");
>
>yet it have the same result. And I don't know why.
>
>Thanks for your reply.
>
>
> > 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/
> > >
> > >
> > >
> > >
> > >
> > >
> >
>----------------------------------------------
>×öÎÒµÄÁµÈË°É£¬²¦´ò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
More information about the vtkusers
mailing list