[vtkusers] how to access 3D volume

Ravi Samala raviksamala at yahoo.com
Mon Oct 17 20:05:46 EDT 2005


hi Michnay,

thankx a lot. I wil give it a try.....

Ravi

--- Michnay Balázs <michnay at freemail.hu> wrote:

> Dear Ravi,
> 
> Here's how you can access a slice of a volume:
> 
> vtkExtractVOI *sliceExtractor =
> vtkExtractVOI::New();
> sliceExtractor->SetInput(volume);
> sliceExtractor->SetVOI
> (xmin,xmax,ymin,ymax,frameNumber,frameNumber);
> 
> where both xmin and ymin should be 0, xmax and ymax
> should be the 
> size of the frame.
> frameNumber is the number of frame you'd like to
> extract.
> 
> The extracted image data can then be accessed by
> calling:
> 
> sliceExtractor->GetOutput();
> 
> Best of all,
> 
>  Michnay
> 
>
_____________________________________________________________________________________
> Ingyen mozi szupersztárokkal - csak három napig!
> Kódolatlan napok a T-Online Tékában!
> www.t-online.hu
> 
> 
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the vtkusers mailing list