[vtkusers] wireframe representation of a volume

anast.jm at pg.com anast.jm at pg.com
Thu Apr 22 10:37:22 EDT 2004


Megha,

I don't think you can do a wire frame of a volume rendering. Perhaps you 
should create an isosurface with marching cubes and then look at the 
wireframe of that surface. The key method is in vtkProperty -> 
SetRepresentationToWireframe. Also if you use a vtkRenderWindowInteractor, 
by hitting the "w" key you will get the wireframe, "s" will get you back 
to the solid surface.

...john







megha agarwal <megha_agar at yahoo.co.in>
Sent by: vtkusers-admin at vtk.org
04/22/2004 02:47 AM

 
        To:     vtkusers at vtk.org
        cc:     (bcc: John Anast-JM/PGI)
        Subject:        [vtkusers] wireframe representation of a volume


Dear frens
 
I am using vtkImageReader->vtkVolumeRayCastMapper->vtkVolume->vtkRenderer 
to generate a 3D image.
Can anyone suggest how to get the wireframe representation of this 3D 
image.
 
Thanks for any help
 
Megha
Yahoo! India Matrimony: Find your partner online.

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


More information about the vtkusers mailing list