瀏覽代碼

Virtualize ctkVTKAbstractView render functions

It can be handy for subclasses to further refine the rendering
conditions.
Julien Finet 13 年之前
父節點
當前提交
cc1c173877
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Libs/Visualization/VTK/Widgets/ctkVTKAbstractView.h

+ 2 - 2
Libs/Visualization/VTK/Widgets/ctkVTKAbstractView.h

@@ -62,12 +62,12 @@ public Q_SLOTS:
   /// scheduleRender() respects the desired framerate of the render window,
   /// it won't render the window more than what the current render window
   /// framerate is.
-  void scheduleRender();
+  virtual void scheduleRender();
 
   /// Force a render even if a render is already ocurring
   /// Be careful when calling forceRender() as it can slow down your
   /// application. It is preferable to use scheduleRender() instead.
-  void forceRender();
+  virtual void forceRender();
 
   /// Set the background color of the rendering screen.
   virtual void setBackgroundColor(const QColor& newBackgroundColor);