<div dir="ltr">Have you tried looking at vtkBoxWidget:<br><br> <a href="http://www.vtk.org/doc/nightly/html/classvtkBoxWidget.html">http://www.vtk.org/doc/nightly/html/classvtkBoxWidget.html</a><br><br>Mark<br><br><div class="gmail_quote">
On Wed, Sep 3, 2008 at 8:54 AM, <span dir="ltr"><<a href="mailto:wassim_belhadj@topnet.tn">wassim_belhadj@topnet.tn</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Thank you for your help<br>
it's ok for using vtkVolumeMapper::SetCroppingRegionPlanes method but how<br>
to allw user to select the Cropping region ?<br>
<div class="Ih2E3d">I would like to allow user to set a croping region on the volume rendered<br>
(for example when he presses a button a frame that can be<br>
</div>manipulated in width and height is added to the 3d scene)<br>
Waitting for help and thank you very very very much<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
On Wed, 3 Sep 2008 11:24:49 +0200, "Lasso, Andras (GE Healthcare)"<br>
<<a href="mailto:Andras.Lasso@med.ge.com">Andras.Lasso@med.ge.com</a>> wrote:<br>
> 1 -> You can use the vtkVolumeMapper::SetCroppingRegionPlanes method to<br>
> render a partial volume, or vtkImageClip to crop the actual image data.<br>
> 2 -> The change is effective immediately (changing the clipping triggers<br>
> an update in the rendering pipeline)<br>
> 3 -> Just search for SetCroppingRegionPlanes and vtkImageClip in the<br>
> full text of the VTK source<br>
><br>
> Andras<br>
><br>
><br>
> -----Original Message-----<br>
> From: <a href="mailto:vtkusers-bounces@vtk.org">vtkusers-bounces@vtk.org</a> [mailto:<a href="mailto:vtkusers-bounces@vtk.org">vtkusers-bounces@vtk.org</a>] On<br>
> Behalf Of <a href="mailto:wassim_belhadj@topnet.tn">wassim_belhadj@topnet.tn</a><br>
> Sent: Wednesday, September 03, 2008 8:34 AM<br>
> To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
> Cc: <a href="mailto:vtkusers@public.kitware.com">vtkusers@public.kitware.com</a><br>
> Subject: [vtkusers] Need Help but No nobody gave me advice or answer :<br>
> croping region on the volume rendered<br>
> Importance: High<br>
><br>
><br>
> Hi<br>
><br>
> I'm starting with VTK and I need the help that I have not found.<br>
> I posted the message three times but not always answers or advice.<br>
> is there experts who respond to messages that hanging time?<br>
> I hope that this time my problem will be solved.<br>
> I'am usiing VTK 5.0.2 for volume rendering from a CT Data sets. All<br>
> works good and i have a nice volume rendered.<br>
> I would like to allow user to set a croping region on the volume<br>
> rendered (for example when he presses a button a frame that can be<br>
> manipulated in width and height is added to the scene)<br>
><br>
> My questions are so :<br>
><br>
> 1) How to set a croping region on the volume rendered?<br>
><br>
> 2)How to apply change to the volume rendered ? ( render the volume<br>
> selected).<br>
><br>
> 3) Are there examples of this genre?<br>
><br>
><br>
> I hope that you bring me help and I thank you in advance.<br>
><br>
> I'm stuck on this part then your advice will also be welcome<br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> This is the private VTK discussion list.<br>
> Please keep messages on-topic. Check the FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a> Follow this link to<br>
> subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>