[vtkusers] slice a volume

WangQ wangq1979 at outlook.com
Fri Feb 12 11:55:04 EST 2016


Hello,
Thanks for the prompt response.
However, the point is that the shown volume is not from single input. The spheres inside the cylinder are generated dynamically, and included in the vtkRender one by one, i.e. each sphere has its own mapper, actor, etc. Therefore, simply using cutter or plane is unable to fulfill the slicing. 
One thing I can imagine is that if I can get the data from the renderer, I can then apply cutter or plane to slice it. But I do not know how to get the data. 
Cheers,
Chiang

Date: Fri, 12 Feb 2016 14:31:22 -0200
Subject: Re: [vtkusers] slice a volume
From: eduardo.ecamargo at gmail.com
To: wangq1979 at outlook.com

Did you try to use vtkCutter class? http://www.vtk.org/Wiki/VTK/Examples/Java/Miscellaneous/vtkCutterAtenciosamente,

Eduardo Camargo, M.Sc.

Analista de Sistemas
Instituto Nacional de Ciência e Tecnologia em
Medicina Assistida por Computação Científica
INCT-MACC  http://macc.lncc.br
Laboratório Nacional de Computação Científica
LNCC - http://www.lncc.br
Skype: camargo_rh

"Work hard toward your goals, no matter what obstacles get in your way. Even if you think you can’t do it, just be disciplined, put your mind to it, and then do your best." -  Jean Chiar - SETI Institute 

On 12 February 2016 at 14:27, WangQ <wangq1979 at outlook.com> wrote:



Hello Aashish,
I have a 3-d image like below. What I want is to cross-sectionally slice the image. I have checked the reslice class, but it needs vtkImageData as input. 
Cheers,
Chiang
              

Date: Wed, 10 Feb 2016 11:54:06 -0500
Subject: Re: [vtkusers] slice a volume
From: aashish.chaudhary at kitware.com
To: wangq1979 at outlook.com
CC: vtkusers at vtk.org

Have you looked into this mapper: http://www.vtk.org/doc/nightly/html/classvtkImageResliceMapper.html
Not sure about vtkSphereSource relation to volume. Can you elaborate more?
Thanks

On Sat, Feb 6, 2016 at 7:53 PM, WangQ <wangq1979 at outlook.com> wrote:



Hello vtkusers,I have a volume, in which there are lots of spheres by vtkSphereSource at arbitrary position, and possible a few isosurfaces. I want to slice the volume at any position along one axis, and save the slices. I tried several ways to achieve it, but since every object has its own mapper and actor. I do not know how to do it.Really appreciate for any help!Cheers,Chiang 		 	   		  

_______________________________________________

Powered by www.kitware.com



Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html



Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ



Search the list archives at: http://markmail.org/search/?q=vtkusers



Follow this link to subscribe/unsubscribe:

http://public.kitware.com/mailman/listinfo/vtkusers




-- 
| Aashish Chaudhary 
| Technical Leader         
| Kitware Inc.            
| http://www.kitware.com/company/team/chaudhary.html
 		 	   		  

_______________________________________________

Powered by www.kitware.com



Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html



Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ



Search the list archives at: http://markmail.org/search/?q=vtkusers



Follow this link to subscribe/unsubscribe:

http://public.kitware.com/mailman/listinfo/vtkusers



 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160213/852cd350/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slice.png
Type: image/png
Size: 102351 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160213/852cd350/attachment.png>


More information about the vtkusers mailing list