[vtkusers] How to display the "hole" effect while cliping thevolume?

Shashwath T.R. trshash at gmail.com
Fri Jul 16 02:43:40 EDT 2010


I don't think this is possible without modifying the input volume data
itself. You can use an image stencil and zero out the portion you don't
want, but I don't think you can do this in the mapper.

Though someone else may have another idea. Honestly, this isn't something
I've ever tried.

Regards,
Shash

On Thu, Jul 15, 2010 at 10:48 PM, 6dgis at 163.com <6dgis at 163.com> wrote:

> Hi,
>        Thanks for your message!
>
>        The CroppingRegionPlanes in vtkVolumeMapper is defined in volume
> coordinates, which must be parallel to axis.
> However the clip region is an arbitrary shape here.
>
> Best Regards!
> ------------------
> 6dgis at 163.com
> 2010-07-16
>
> -------------------------------------------------------------
> FROM:Shashwath T.R.
> DATE:2010-07-14 15:15:24
> TO:6dgis at 163.com <TO%3A6dgis at 163.com>
> CC:vtkusers
> SUBJECT:Re: [vtkusers] How to display the "hole" effect while cliping
> thevolume?
>
> Hi,
>
> I haven't done this myself, but you can take a look at the
> CroppingRegionFlags ivar in vtkVolumeMapper. One of those flags should help
> you out, I think.
>
> Regards,
> Shash
>
> On Mon, Jul 12, 2010 at 9:16 PM, 6dgis at 163.com <6dgis at 163.com> wrote:
>
> > Hi, all
> >        I have a series of CT Images and render them in Volume by
> > vtkVolumeRayCastMapper. Now given a polygon by user clicking
> > on the screen, how to clip the volume with the inner objects removed?
> > I just want the "hole" effect for displaying. Any suggestion?
> >
> >
> > _______________________________________________
> > 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
> >
> > 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/20100716/6593f84a/attachment.htm>


More information about the vtkusers mailing list