Textures
Ana Cugat
c1f6326 at hotmail.com
Wed Sep 15 11:57:01 EDT 1999
<x-flowed>
Hello, thanks for your answer,
Now the problem is that the height and width are not a power of two. Is
there any way to fix that?
Thanks again,
Ana
>From: "Ron Inbar" <rinbar at netvision.net.il>
>To: "Ana Cugat" <c1f6326 at hotmail.com>, <vtkusers at gsao.med.ge.com>
>Subject: Re: Textures
>Date: Wed, 15 Sep 1999 03:21:18 +0200
>
>Hello Ana!
>
>The input to the viewer is probably a 3D volume. The method SetZSlice on
>the viewer selects which 2D slice is visible. The quickest solution,
>therefore, is to use a vtkExtractVOI filter and SetVOI(0, 99, 0, 99, k, k)
>where k is the number of the requested slice (available through
>vtkImageViewer::GetZSlice()).
>
>input +-----> vtkImageViewer
> |
> +-----> ExtractVoi -----> vtkTexture
>
>Ron
>
>----- Original Message -----
>From: Ana Cugat <c1f6326 at hotmail.com>
>To: <vtkusers at gsao.med.ge.com>
>Sent: Tuesday, September 14, 1999 20:11
>Subject: Textures
>
>
> > Hi all,
> >
> >
> >
> >
> > I have done a 3D slicer of the brain (as the exemple Medical3.cxx) ,
>with
> > the 3 classical views in 2D and a 3D window with the 3 planes. I have
>used
> > StructuredPointsGeometryFilter to obtain the planes when using 3D, but
> >
> > 1) I'd like to texture the 2D images directly on the 3D planes. The
>problem
> > is that it says that the images I'm using in the 2D viewer are 3D (?)
>and
> > thus cannot be used as texture.
> >
> >
> >
> > TIA,
> >
> > Ana
> >
> > ______________________________________________________
> > Get Your Private, Free Email at http://www.hotmail.com
> >
> >
> >
>--------------------------------------------------------------------------
>---
> > This is the private VTK discussion list. Please keep messages on-topic.
> > Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
> > To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
> > <majordomo at gsao.med.ge.com>. For help, send message body containing
> > "info vtkusers" to the same address. Live long and prosper.
> >
>--------------------------------------------------------------------------
>---
> >
> >
>
>
>
>-----------------------------------------------------------------------------
>This is the private VTK discussion list. Please keep messages on-topic.
>Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
>To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
><majordomo at gsao.med.ge.com>. For help, send message body containing
>"info vtkusers" to the same address. Live long and prosper.
>-----------------------------------------------------------------------------
>
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
</x-flowed>
More information about the vtkusers
mailing list