Can't use vtkWin32MappedInteractor anymore, looking for example to make ugview2 to work
Paul Hsieh
pahsieh at usgs.gov
Thu Sep 2 18:48:51 EDT 1999
> I downloaded the nightly release (8/31/99). I failed to compile
> vtkWin32MappedInteractor.cxx. Is there an example file similar to
> ugview2/vtkView.cpp? Or please tell me how to use
> vtkWin32RenderWindowInteractor in your ugview2 example.
>
Look at the MFC project in the "Sample" folder of vtk23src.zip
from the vtk download site (not the nightly download). It shows
you how to use vtkWin32RenderWindowInteractor.
> Another question:
>
> pMapper = vtkPolyDataMapper::New();
> pMapper->SetInput(...);
> vtkLookupTable* pLUT = pMapper->GetLookupTable(); // not working anymore
>
> Compiler Error:
> error C2440: 'initializing' : cannot convert from 'class vtkScalarsToColors
> *' to 'class vtkLookupTable *'
>
> My above code was working fine under vtk2.3.
>
Maybe you are using the old header files from version 2.3?
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list