22 #include <QCoreApplication>
27 :pendingTimerCallbacks(0)
48 QTimer::singleShot(200,
this, SLOT(TimerCallback()));
49 pendingTimerCallbacks++;
56 if(!--pendingTimerCallbacks)
58 this->ExecutePendingHighResRenderingRequest();
72 this->MyUpdateExecutePendingRequests();
82 void QmlMitkRenderingManager::MyUpdateExecutePendingRequests()
87 RenderWindowList::iterator it;
93 vtkRenderWindow* renderWindow = it->first;
114 int *size = renderWindow->GetSize();
115 if ( 0 != size[0] && 0 != size[1] )
virtual void StartOrResetTimer()
RenderWindowList m_RenderWindowList
virtual ~QmlMitkRenderingManager()
virtual void GenerateRenderingRequestEvent()
virtual bool event(QEvent *event)
static QmlMitkRenderWindowItem * GetInstanceForVTKRenderWindow(vtkRenderWindow *rw)
QmlMitkRenderingManager()