Przeglądaj źródła

Virtualize ctkVTKAbstractView render functions

It can be handy for subclasses to further refine the rendering
conditions.
Julien Finet 13 lat temu
rodzic
commit
cc1c173877

+ 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);