[vtkusers] old code and vtkTextActor::SetMapper

gregthom gregthom99 at yahoo.com
Tue Jun 30 11:20:40 EDT 2009


Hello there,

Does anyone know what I should change in my old VTK code to avoid this error
? SetMapper has now become protected in vTK 5.4 

/home/greg/development/dev_bin/include/vtk-5.4/vtkTextActor.h: In function
‘void mexFunction(int, mxArray**, int, const mxArray**)’:
/home/greg/development/dev_bin/include/vtk-5.4/vtkTextActor.h:226: error:
‘virtual void vtkTextActor::SetMapper(vtkMapper2D*)’ is protected
test_visu.cpp:379: error: within this context
make[1]: *** [obj/Debug/test_visu.o] Error 1
make: *** [test_visu] Error 2

-- 
View this message in context: http://www.nabble.com/old-code-and--vtkTextActor%3A%3ASetMapper-tp24273857p24273857.html
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list