[vtkusers] Need Help but No nobody gave me advice or answer : croping region on the volume rendered

Mark Wyszomierski markww at gmail.com
Wed Sep 3 09:53:46 EDT 2008


Have you tried looking at vtkBoxWidget:

    http://www.vtk.org/doc/nightly/html/classvtkBoxWidget.html

Mark

On Wed, Sep 3, 2008 at 8:54 AM, <wassim_belhadj at topnet.tn> wrote:

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


More information about the vtkusers mailing list