[vtk-developers] Possible vtkScalarBarActor improvement

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Thu Sep 19 11:18:35 EDT 2013

Make sense. Let us know when you have your topic updated.

Thanks for your hard work :)

On Tue, Sep 17, 2013 at 11:27 AM, Wang, Kevin <kevin.wang at rmp.uhn.on.ca>wrote:

> Hi Jc and David,
> I think one reasonable solution would be to backport vtkScalarsToColors,
> but not backport vtkScalarBarActor. Instead we modify vtkScalarBarActor
> slightly to handle the new annotation functionality in vtkScalarsToColors.
> Then in slicer, we keep several sets of vtkStringArrays around and switch
> them in vtkScalarsToColors when needed. This way when we transition to
> vtk6.0, there will be minimal changes.
> Thanks,
> Kevin
> -----Original Message-----
> From: David Thompson [mailto:david.thompson at kitware.com]
> Sent: Tuesday, September 17, 2013 11:16 AM
> To: Jean-Christophe Fillion-Robin
> Cc: Wang, Kevin; vtk-developers at vtk.org
> Subject: Re: [vtk-developers] Possible vtkScalarBarActor improvement
> Hi JC,
> > ...
> > @David: Do you see anything in the API proposed by Kevin that could be
> changed to be closer to what is possible in VTK 6 ?
> https://github.com/kevinwangcanada/Slicer/commit/551c8b7f435b518664eef2917818addf78c853e6
> I would not backport vtkScalarBarActor, but you could backport
> vtkScalarsToColors pretty easily and use it to store color names... that's
> where they are stored in VTK6.
>         David
> This e-mail may contain confidential and/or privileged information for the
> sole use of the intended recipient.
> Any review or distribution by anyone other than the person for whom it was
> originally intended is strictly prohibited.
> If you have received this e-mail in error, please contact the sender and
> delete all copies.
> Opinions, conclusions or other information contained in this e-mail may
> not be that of the organization.

+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20130919/5dc86fd4/attachment.html>

More information about the vtk-developers mailing list