QVISH 0.1
Public Member Functions | Public Attributes | List of all members
Wizt::QViewer Struct Referenceabstract

Base class for Qt-based viewers. More...

#include <QViewer.hpp>

Inheritance diagram for Wizt::QViewer:
ImgViewer QWTPlot Spreadsheet Wizt::DirView Wizt::QGLViewer Wizt::QGLViewer Wizt::QGLViewer Wizt::QGLViewer Wizt::qViewerBase

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
 
ViewerActivationIndicatormyActivator
 
RefPtr< qVInterruptorOffScreenRenderInterruptor
 

Detailed Description

Base class for Qt-based viewers.

Member Function Documentation

◆ cleanup()

virtual void Wizt::QViewer::cleanup ( )
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.

◆ setCacheInfoHandler()

virtual void Wizt::QViewer::setCacheInfoHandler ( const WeakPtr< qVCacheInfo > &  ci)
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.

◆ shutdown()

virtual bool Wizt::QViewer::shutdown ( ) const
pure virtual

The documentation for this struct was generated from the following files: