NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Member Functions | Protected Attributes | List of all members
niftk::VLWidget Class Reference

A QGLWidget containing a niftk::VLSceneView. More...

Inheritance diagram for niftk::VLWidget:
Inheritance graph
[legend]
Collaboration diagram for niftk::VLWidget:
Collaboration graph
[legend]

Public Member Functions

 VLWidget (QWidget *parent=NULL, const QGLWidget *shareWidget=NULL, Qt::WindowFlags f=0)
 
VLSceneViewvlSceneView ()
 
const VLSceneViewvlSceneView () const
 
bool contextIsCurrent ()
 

Protected Attributes

vl::ref< VLSceneViewm_VLSceneView
 

Detailed Description

A QGLWidget containing a niftk::VLSceneView.

Usually you only have to create a VLWidget and use vlSceneView() to set the data store and various Vivid options etc.

Under niftk::VLWidget there are a few layers that implement the OpenGL rendering in decreasing order of abstraction: 1) niftk::VLWidget 2) niftk::VLSceneView / niftk::VLMapper 3) vl::VividRendering 4) Visualization Library 5) OpenGL

Constructor & Destructor Documentation

niftk::VLWidget::VLWidget ( QWidget *  parent = NULL,
const QGLWidget *  shareWidget = NULL,
Qt::WindowFlags  f = 0 
)
inline

Member Function Documentation

bool niftk::VLWidget::contextIsCurrent ( )
inline
VLSceneView* niftk::VLWidget::vlSceneView ( )
inline
const VLSceneView* niftk::VLWidget::vlSceneView ( ) const
inline

Member Data Documentation

vl::ref<VLSceneView> niftk::VLWidget::m_VLSceneView
protected

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