I am working on a qt-vtk project. We have a line drawing function. where straight lines are created between two mouse click position. But once actor is created it is not visible. I was calling render function just after adding the actor. But it didn't work. But if i do camera->resetview() lines become visible , but entire perspective changes. Where am i doing wrong ?
thanks Rwik
I think that's a bit hard to help, without see the code, but have you tried using
, where ui is the instance of your class derived from QMainWindow?