[vtk-developers] Possible vtkScalarBarActor improvement

Wang, Kevin kevin.wang at rmp.uhn.on.ca
Thu Sep 19 14:58:20 EDT 2013


Hi Jc,

I will get working on this and let you know when it is ready.

Thanks,

Kevin

From: Jean-Christophe Fillion-Robin [mailto:jchris.fillionr at kitware.com]
Sent: Thursday, September 19, 2013 11:19 AM
To: Wang, Kevin
Cc: David Thompson; vtk-developers at vtk.org
Subject: Re: [vtk-developers] Possible vtkScalarBarActor improvement

Make sense. Let us know when you have your topic updated.
Thanks for your hard work :)
Jc

On Tue, Sep 17, 2013 at 11:27 AM, Wang, Kevin <kevin.wang at rmp.uhn.on.ca<mailto: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<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<mailto: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

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20130919/6871d839/attachment.html>


More information about the vtk-developers mailing list