[vtk-developers] Manual conversion of some Tcl to Python tests.

David Gobbi david.gobbi at gmail.com
Fri Aug 31 18:01:39 EDT 2012


On Fri, Aug 31, 2012 at 3:43 PM, David Thompson
<david.thompson at kitware.com> wrote:

>>  Maybe we could just use that.  A vtkLookupTable subclass that
>> provides html colors, with all the standard names.
>
> Hmm... I suppose you could treat the annotations as color names, but then you would lose the ability to have a note to go alongside the value.

I was thinking along the lines of a vtkLookupTable that could take a
vtkAbstractArray as input instead of being limited to a vtkDataArray.
There would be a discrete set of allowed input values (that could be
strings).  It would probably be best not to hijack your annotations
for this purpose, the list of possible input strings (and their
mappings) would be distinct from your annotation labels.

 - David



More information about the vtk-developers mailing list