[vtkusers] Creat 3 axes image of volume

Francois Louis LAILLIER flaillier at eldim.fr
Wed Feb 21 08:11:40 EST 2007


Hello, I have a volume. I create it with binary files take under z
direction.

 

Can I create image under y and x direction?

 

I try with extractVOI.

####################""CODE""##########################

 

Dim extract As vtkExtractVOI

Set extract = New vtkExtractVOI

 

extract.SetInput shifter.GetOutput

 

Dim i As Integer

i = 0

Dim bmp As vtkBMPWriter

Set bmp = New vtkBMPWriter

 

 

For i = 0 To 24

extract.SetVOI 0, 767, 0, 575, i, i

extract.Update

 

bmp.SetFilePrefix "C:\\Images\\imgbmp\\extract"

bmp.SetInput extract.GetOutput

bmp.Write

Next i

 

 

If I run that, I obtain image under z axis.

But If I change x parameter in setVOI like that extract.SetVOI i, i, 0,
575, 0, 24

I get a image with just a line.

 

I want an other face of volume.

 

How do that?

 

PS: I want to extract this image to make a render like Volview.  One 3D
render, and other axis render with a scroll bar to explore images.

 

 

Best regards, Francois Louis.

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070221/305495d4/attachment.htm>


More information about the vtkusers mailing list