Textures

Ron Inbar rinbar at netvision.net.il
Wed Sep 15 14:05:43 EDT 1999


I think it's better to use vtkImageClip than vtkExtractVOI.  I haven't used
vtkImageClip myself but I probably should have.  I apologize for the
inconvenience.

Ron

----- Original Message -----
From: Ron Inbar <rinbar at netvision.net.il>
To: Ana Cugat <c1f6326 at hotmail.com>; <vtkusers at gsao.med.ge.com>
Sent: יום רביעי 15 ספטמבר 1999 03:21
Subject: Re: Textures


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



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





More information about the vtkusers mailing list