|
QVISH 0.1
|
Base class for Qt-based viewers. More...
#include <QViewer.hpp>
Public Member Functions | |
| virtual void | cleanup ()=0 |
| Destructive operation to clear all GL objects that are stored in the associated cache. | |
| void | ExecContextMenu (const QPoint &position) const |
| virtual QMenu * | getSceneContextMenu () const =0 |
| virtual const QWidget * | myWidget () const =0 |
| virtual QWidget * | myWidget ()=0 |
| QViewer (const string &name, int p, const RefPtr< VCreationPreferences > &prop) | |
| virtual void | setCacheInfoHandler (const WeakPtr< qVCacheInfo > &ci)=0 |
| Install a callback object that is called whenever there are changes in the OpenGL render cache. | |
| virtual void | setDLCacheSize (int MaxCache)=0 |
| virtual void | setGPUCacheSize (long MaxCache)=0 |
| virtual bool | shutdown () const =0 |
Public Attributes | |
| double | Completion = 1.0 |
| ViewerActivationIndicator * | myActivator |
| RefPtr< qVInterruptor > | OffScreenRenderInterruptor |
Base class for Qt-based viewers.
|
pure virtual |
Destructive operation to clear all GL objects that are stored in the associated cache.
Implemented in Wizt::qViewerBase, Wizt::QGLViewer, Wizt::QGLViewer, Wizt::QGLViewer, Wizt::qVulkanViewer, and Wizt::QGLViewer.
|
pure virtual |
Install a callback object that is called whenever there are changes in the OpenGL render cache.
The object specified here is supposed to overload the virtual setCacheInfo() function. This one is called whenever there might be changes in the OpenGL cache usage. Note that this callback function is likely to be called from a subthread and therefore MUST NOT do any Qt GUI calls. It may however set its values into some list queue to be read later by the QViewer widget implementation.
Implemented in Wizt::qViewerBase, Wizt::QGLViewer, Wizt::QGLViewer, Wizt::QGLViewer, and Wizt::QGLViewer.
|
pure virtual |
Implemented in Wizt::qVHDF5Browser, and Wizt::qVTableViewer.