Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Member Functions | Protected Attributes
icl::qt::ICLDrawWidget3D Class Reference

Extended ICLDrawWidget, able to draw 2D and 3D primitives using OpenGL. More...

#include <DrawWidget3D.h>

Inheritance diagram for icl::qt::ICLDrawWidget3D:
icl::qt::ICLDrawWidget icl::qt::ICLWidget icl::geom::PlotWidget3D

List of all members.

Classes

class  GLCallback
 internally used callback class type More...

Public Member Functions

 ICLDrawWidget3D (QWidget *parent)
 creates a new ICLDrawWidget embedded into the parent component
virtual void customPaintEvent (PaintEngine *e)
 overwrites the parent's method
void link (GLCallback *cb)
 add a single 3D callback, that is rendered (here, no queue swapping is neccessary)

Protected Attributes

GLCallbackm_linkedCallback
 special single callback linked to the 3D visualisation
utils::Mutex m_linkMutex
 internal mutex

Detailed Description

Extended ICLDrawWidget, able to draw 2D and 3D primitives using OpenGL.

Even though, it is possible to use the ICLDrawWidget3D for rendering 3D stuff on top of an image directly, it is strongly recommended to use an instance of ICLGeom::Scene to manage camera, scene objects and lights. A scene instance provides a single ICLDrawWidget3D::GLCallback* that can easily be linked to the DrawWidget3D by using the ICLDrawWidget3D::link method.

Most older methods got the deprecated status. They will be removed soon, since it turned out, that using ICLGeom's Scene class is much easier and less error-prone.


Constructor & Destructor Documentation

creates a new ICLDrawWidget embedded into the parent component


Member Function Documentation

overwrites the parent's method

Reimplemented from icl::qt::ICLDrawWidget.

add a single 3D callback, that is rendered (here, no queue swapping is neccessary)

the linked callback can be removed by calling link(0). The ownership of the linked callback is never passed.


Member Data Documentation

special single callback linked to the 3D visualisation

internal mutex


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines