digiKam
DigikamGenericGLViewerPlugin::GLViewerWidget Class Reference
+ Inheritance diagram for DigikamGenericGLViewerPlugin::GLViewerWidget:

Public Member Functions

OGLstate getOGLstate () const
 
 GLViewerWidget (DPlugin *const plugin, DInfoInterface *const iface)
 
bool listOfFilesIsEmpty () const
 
void nextImage ()
 
void prevImage ()
 
 ~GLViewerWidget () override
 

Constructor & Destructor Documentation

◆ GLViewerWidget()

DigikamGenericGLViewerPlugin::GLViewerWidget::GLViewerWidget ( DPlugin *const  plugin,
DInfoInterface *const  iface 
)
explicit

◆ ~GLViewerWidget()

DigikamGenericGLViewerPlugin::GLViewerWidget::~GLViewerWidget ( )
override

References CACHESIZE, and EMPTY.

Member Function Documentation

◆ getOGLstate()

OGLstate DigikamGenericGLViewerPlugin::GLViewerWidget::getOGLstate ( ) const

check if OpenGL engine is ready. This function is called from outside the widget. If OpenGL doesn't work correctly, the widget can be destroyed

Returns
OGLstate::oglNoContext No OpenGl context could be retrieved
OGLstate::oglNoRectangularTexture GLGL_ARB_texture_rectangle is not supported
OGLstate::oglOK all is fine

References DigikamGenericGLViewerPlugin::oglNoContext, DigikamGenericGLViewerPlugin::oglNoRectangularTexture, and DigikamGenericGLViewerPlugin::oglOK.

◆ listOfFilesIsEmpty()

bool DigikamGenericGLViewerPlugin::GLViewerWidget::listOfFilesIsEmpty ( ) const

◆ nextImage()

void DigikamGenericGLViewerPlugin::GLViewerWidget::nextImage ( )

◆ prevImage()

void DigikamGenericGLViewerPlugin::GLViewerWidget::prevImage ( )

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