[vtkusers] set window\level in vtkImagePlaneWidget
Amy Squillacote
amy.squillacote at kitware.com
Wed Oct 19 14:10:19 EDT 2005
Hi Oliver,
I'm copying this message back to the VTK users list. Please keep the
discussion on the list.
VTK 4.4 does provide the SetWindowLevel method (as does VTK 5.0,
which has been branched but not officially released). The decision
about which version to use is up to you. It depends on how much code
you have that uses VTK and whether other features you need are in VTK
4.4 or 5.0.
- Amy
At 12:15 PM 10/19/2005, Oliver Weinheimer wrote:
>Thanks Amy,
>
>im using the latest official release (4.2) and the header looks like
>
> // Description:
> // Get the current window and level values.
> void GetWindowLevel(float wl[2]);
>
>So, what's the "best" upgrade for me - iterim release 4.4 or using the cvs?
>
>Oliver
>
>
>Amy Squillacote wrote:
>
> > From vtkImagePlaneWidget.h:
> >
> > // Description:
> > // Set/Get the current window and level values. Set should
> > // only be called after SetInput.
> > void SetWindowLevel(double window, double level);
> > void GetWindowLevel(double wl[2]);
> >
> > - Amy
> >
> > At 10:01 AM 10/19/2005, Oliver Weinheimer wrote:
> >
> >> Hi all,
> >>
> >> is it possible to set the values for window\level in vtkImagePlaneWidget
> >> with a funcion call?
> >> The only way i found is via mouse interaction.
> >>
> >> regards
> >> Oliver
> >>
> >>
> >> _______________________________________________
> >> 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
> >
> >
>
>
More information about the vtkusers
mailing list