[vtkusers] Re Vtk 4.0
Carsten Kübler
kuebler at ira.uka.de
Thu Oct 4 05:47:26 EDT 2001
Hej,
why can't you remove this static casts since (vtk 2.4 or earlier)?
(always the same question :-) )
Carsten
VTK\Rendering\vtkOpenGLImageActor.cxx
#ifdef VTK_USE_QUARTZ
((vtkQuartzRenderWindow
*)(ren->GetRenderWindow()))->RegisterTextureResource( this->Index );
#else
#ifdef _WIN32
((vtkWin32OpenGLRenderWindow
*)(ren->GetRenderWindow()))->RegisterTextureResource( this->Index );
#else
((vtkOpenGLRenderWindow
*)(ren->GetRenderWindow()))->RegisterTextureResource( this->Index );
#endif
#endif
VTK\Rendering\vtkOpenGLTexture.cxx
#ifdef __APPLE__
((vtkQuartzRenderWindow
*)(ren->GetRenderWindow()))->RegisterTextureResource(this->Index);
#else
#ifdef _WIN32
((vtkWin32OpenGLRenderWindow
*)(ren->GetRenderWindow()))->RegisterTextureResource( this->Index );
#else
((vtkOpenGLRenderWindow
*)(ren->GetRenderWindow()))->RegisterTextureResource( this->Index );
#endif
#endif
More information about the vtkusers
mailing list