[Ves] Transparent plane
Pat Marion
pat.marion at kitware.com
Mon Mar 18 04:14:57 EDT 2013
Ok. I think you'll find the vesKiwiPlaneWidget is missing a crucial
function- a function to initialize the plane position, orientation, and
scale. I just merged a branch into next, called plane-widget-api which
adds some more helpful methods. It's still not great, and is missing
documentation, I want to improve it later when I have some time. But, you
can now access the vtkTransform and call the vtkTransform api to position
and rotate and scale the widget. If you use it and have suggestions for
possible improvements, let me know!
Pat
On Mon, Mar 18, 2013 at 5:58 PM, Eduardo Poyart <poyart at gmail.com> wrote:
> Thank you for the pointers. I see that it's wrapped by the
> vesKiwiPlaneWidget, I'll try that route.
>
> Cheers
> Eduardo
>
> On Sun, Mar 17, 2013 at 9:29 PM, Pat Marion <pat.marion at kitware.com>
> wrote:
> > Have you seen the interactive brain atlas demo in KiwiViewer? That uses
> a
> > clipping plane. Is that similar to what you are trying to do? The
> plane is
> > generated using the vtkPlaneSource, then set the color and transparency
> > using vesKiwiPolyDataRepresentation::setColor().
> >
> > Pat
> >
> > On Mon, Mar 18, 2013 at 2:18 PM, Eduardo Poyart <poyart at gmail.com>
> wrote:
> >>
> >> Hi,
> >>
> >> I would like to add a transparent plane to the scene graph. I need to
> >> indicate a cutting plane for simulation of an ultrasound procedure.
> >> Ideally it would be a transparent green quad, with no texture.
> >>
> >> What would be the best way to do it?
> >>
> >> Thanks
> >> Eduardo
> >> _______________________________________________
> >> Ves mailing list
> >> Ves at public.kitware.com
> >> http://public.kitware.com/cgi-bin/mailman/listinfo/ves
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20130318/3bf9b6e0/attachment-0001.html>
More information about the Ves
mailing list