Can't use vtkWin32MappedInteractor anymore, looking for example to make ugview2 to work

Ken Martin ken.martin at kitware.com
Fri Sep 3 09:23:08 EDT 1999


<x-flowed>
> > Another question:
> >
> > pMapper = vtkPolyDataMapper::New();
> > pMapper->SetInput(...);
> > vtkLookupTable* pLUT = pMapper->GetLookupTable();       // not working 
> anymore

The return value is now vtkScalarsToColors which is a superclass
of vtkLookupTable.  If you need the lookup  table just create one
and set it using SetLookupTable and then invoke methods on the
LUT you created or typecast the return value of GetLookupTable
to vtkLookupTable *. The default is still that a vtkLookupTable is
created, but you can manually set it to use a transfer function
also for example.

- Ken



-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------


</x-flowed>



More information about the vtkusers mailing list