MeVisLab Resolution Independence API
SoMeVisExaminerViewer Class Reference

SoMeVisExaminerViewer is a base class to be used to create own examiner viewers. More...

#include <SoMeVisExaminerViewer.h>

Inheritance diagram for SoMeVisExaminerViewer:

Public Member Functions

 SoMeVisExaminerViewer (QWidget *parent=nullptr, const char *name=nullptr, SbBool builtInsideParent=TRUE, SoQtFullViewer::BuildFlag flag=BUILD_ALL, SoQtViewer::Type type=BROWSER)
 

Protected Member Functions

 SoMeVisExaminerViewer (QWidget *parent, const char *name, SbBool builtInsideParent, SoQtFullViewer::BuildFlag flag, SoQtViewer::Type type, SbBool build)
 
void actualRedraw () override
 virtual method where the actual GL drawing takes place, you may derive this method, but make sure to call SoMeVisExaminerViewer::actualRedraw() in the derived method. More...
 

Detailed Description

SoMeVisExaminerViewer is a base class to be used to create own examiner viewers.

this class needs to be used instead of deriving from SoQtRenderArea directly, because otherwise the GL cache handing via the GLResourceManager is not done properly.

Definition at line 29 of file SoMeVisExaminerViewer.h.

Constructor & Destructor Documentation

◆ SoMeVisExaminerViewer() [1/2]

SoMeVisExaminerViewer::SoMeVisExaminerViewer ( QWidget *  parent = nullptr,
const char *  name = nullptr,
SbBool  builtInsideParent = TRUE,
SoQtFullViewer::BuildFlag  flag = BUILD_ALL,
SoQtViewer::Type  type = BROWSER 
)
inline

Definition at line 32 of file SoMeVisExaminerViewer.h.

◆ SoMeVisExaminerViewer() [2/2]

SoMeVisExaminerViewer::SoMeVisExaminerViewer ( QWidget *  parent,
const char *  name,
SbBool  builtInsideParent,
SoQtFullViewer::BuildFlag  flag,
SoQtViewer::Type  type,
SbBool  build 
)
inlineprotected

Definition at line 38 of file SoMeVisExaminerViewer.h.

Member Function Documentation

◆ actualRedraw()

void SoMeVisExaminerViewer::actualRedraw ( )
overrideprotected

virtual method where the actual GL drawing takes place, you may derive this method, but make sure to call SoMeVisExaminerViewer::actualRedraw() in the derived method.

In addition to rendering the content via SoQtRenderArea::actualRedraw method, this method takes care of freeing GL resources using the MLOpenGL GLResourceManager and allows to use break-checking for Volume Rendering using XVStatus.


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