[vtkusers] How to store rendered volume in memory :: Help Needed
cspl
affable at hd2.dot.net.in
Thu Mar 27 01:18:10 EST 2003
Hi Shyam,
Thanks for ur suggestion.
Let me explain my problem in detail. I am applying MIP function on the input volume and rendering it to view it. Now i want to select the ROI in the rendered volume, clip the ROI and store the ROI in a file. I have my own algorithm of ROI. Now the problem is with saving the ROI. For saving ROI or atleast the entire rendered volume, i should get the rendered volume into a buffer for further processing. I think we can get the redered volume only from vtkrenderer or vtkrenderwindow or vtkrenderwindowinteractor. I could not find any function which serve my purpose.
I found a function "GetPixelData" in vtkRenderWindow class which returns the pixel data visible on the vtk window. But it is just a slice. What i want is the entire volume which i gave as input. I mean if i give, lets say, 10 images as input, after redering i should able to get 10 slices as output in a buffer for further processing. Is there any class which exposes a function which help me in this regard.
Following are the classes i am using.
vtkPiecewiseFunction
vtkVolumeProperty
vtkVolumeRayCastMapper
vtkVolumeRayCastMIPFunction
vtkVolume
vtkRenderer
vtkRenderWindow
vtkRenderWindowInteractor
I hope u got my problem.
Please help in this regard.
Thanks in advance.
-Regards,
Sateesh.
----- Original Message -----
From: R K Shyamprakash
To: 'cspl' ; vtkusers at public.kitware.com
Sent: Thursday, March 27, 2003 11:04 AM
Subject: RE: [vtkusers] How to store rendered volume in memory :: Help Needed
Hi sateesh,
Are you refering at vtkAppendPolydata? Just guessing!
regards
Shyam
-----Original Message-----
From: vtkusers-admin at public.kitware.com [mailto:vtkusers-admin at public.kitware.com]On Behalf Of cspl
Sent: Thursday, March 27, 2003 10:52 AM
To: vtkusers at public.kitware.com
Subject: [vtkusers] How to store rendered volume in memory :: Help Needed
Hi all,
Is there any way to store the entire volume, after rendering, into a buffer. I have applied MIP on the volume and rendered the volume. Now i want to store the rendered volume into a buffer for further processing. If i give 5 images as input then i should able to store all the 5 rendered images in buffer. Is there any function which will help me in this regard.
Thanks in advance.
-Regard,
Sateesh.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030327/6d00d326/attachment.htm>
More information about the vtkusers
mailing list