[vtk-developers] LookupTable madness

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Tue May 22 15:02:51 EDT 2001


hi,

>>>>> "JB" == John Biddiscombe <jbiddiscombe at skippingmouse.co.uk> writes:

    JB> like SetMapperToUseLookupTableRange(int...)  or
    JB> SetLookupTableAsMaster (dodgy name, but it's my first go.)

How about 

mapper.LookupTableRangeOn()
mapper.LookupTableRangeOff()
mapper.SetLookupTableRange(bool)

This is a little funny too but once you get the idea it makes sense.
LookupTableRangeOn will tell the mapper to use the LookupTableRange.
Or would this be better?

mapper.UseLookupTableRangeOn()
mapper.UseLookupTableRangeOff()
mapper.SetUseLookupTableRange(bool)

We'd also need to add flags such that if LookupTableRange is On then
SetRange will do nothing.

prabhu





More information about the vtk-developers mailing list