|
| QAGLWidget (anatomist::AWindow *win, QWidget *parent=0, const char *name=0, const QGLWidget *shareWidget=0, Qt::WindowFlags f=Qt::WindowFlags()) |
|
virtual | ~QAGLWidget () |
|
virtual QSize | sizeHint () const |
|
virtual QSize | minimumSizeHint () const |
|
virtual std::string | name () const |
|
int | width () |
|
int | height () |
|
| GLWidget (QWidget *parent=0, const char *name=0, const QGLWidget *shareWidget=0, Qt::WindowFlags f=Qt::WindowFlags()) |
|
| GLWidget (const QGLFormat &format, QWidget *parent=0, const char *name=0, const QGLWidget *shareWidget=0, Qt::WindowFlags f=Qt::WindowFlags()) |
|
virtual | ~GLWidget () |
|
virtual void | updateGL () |
|
void | renderBackBuffer (ViewState::glSelectRenderMode selectmode) |
|
void | copyBackBuffer2Texture (void) |
|
virtual void | paintScene () |
| basically calls paintGL() More...
|
|
| GLWidgetManager (anatomist::AWindow *win, QGLWidget *widget) |
|
virtual | ~GLWidgetManager () |
|
QGLWidget * | qglWidget () |
|
QObject * | qobject () |
| this QObject is used for slots: updateZBuffer, saveContents, recordStart, recordStop More...
|
|
void | setPrimitives (const anatomist::GLPrimitives &li) |
|
anatomist::GLPrimitives | primitives () const |
|
void | setSelectionPrimitives (const anatomist::GLPrimitives &li) |
|
anatomist::GLPrimitives | selectionPrimitives () const |
|
void | clearLists () |
|
void | setExtrema (const Point3df &bmin, const Point3df &bmax) |
| set objects extrema, this also automatically sets the window bounding box More...
|
|
void | setWindowExtrema (const Point3df &bmin, const Point3df &bmax) |
| set window extrema (in the local orientation) More...
|
|
Point3df | boundingMin () const |
|
Point3df | boundingMax () const |
|
Point3df | windowBoundingMin () const |
|
Point3df | windowBoundingMax () const |
|
void | setLightGLList (GLuint l) |
|
GLuint | lightGLList () const |
|
void | setPreferredSize (int, int) |
|
void | setMinimumSizeHint (const QSize &) |
|
virtual bool | positionFromCursor (int x, int y, Point3df &position) |
|
virtual bool | cursorFromPosition (const Point3df &position, Point3df &cursor) |
|
virtual Point3df | objectPositionFromWindow (const Point3df &winpos) |
|
virtual void | readBackBuffer (int x, int y, GLubyte &red, GLubyte &green, GLubyte &blue) |
|
GLubyte * | getTextureFromBackBuffer () |
|
virtual bool | translateCursorPosition (float x, float y, Point3df &position) |
|
void | setZoom (float z) |
|
float | zoom () const |
|
const aims::Quaternion & | quaternion () const |
| The quaternion rotates the initial eye direction (0, 0, 1) into the view coordinates, before Z axis inversion. More...
|
|
void | setQuaternion (const Point4df &q) |
|
void | setQuaternion (const aims::Quaternion &q) |
|
const float * | rotation () const |
|
void | setXDirection (bool invert) |
|
void | setYDirection (bool invert) |
|
void | setZDirection (bool invert) |
|
bool | invertedX () const |
|
bool | invertedY () const |
|
bool | invertedZ () const |
|
void | setRotationCenter (const Point3df &) |
|
Point3df | rotationCenter () const |
|
bool | perspectiveEnabled () const |
|
void | enablePerspective (bool) |
|
float | perspectiveAngle () const |
|
void | setPerspectiveAngle (float a) |
|
bool | perspectiveAutoFarPlane () const |
|
void | setPerspectiveAutoFarPlane (bool x) |
|
float | perspectiveFarPlane () const |
|
void | setPerspectiveFarPlane (float d) |
|
float | perspectiveNearPlane () const |
|
float | perspectiveNearPlaneRatio () const |
|
void | setPerspectiveNearPlaneRatio (float d) |
|
void | setAutoCentering (bool) |
|
bool | autoCentering () const |
|
virtual void | recordStart (const QString &basename, const QString &format=QString(), int width=0, int height=0) |
|
void | saveContents (const QString &filename, const QString &format, int width=0, int height=0) |
|
QImage | snapshotImage (int bufmode, int width=0, int height=0) |
|
void | saveOtherBuffer (const QString &filename, const QString &format, int mode, int width=0, int height=0) |
|
void | setOtherBuffersSaveMode (int mode) |
|
int | otherBuffersSaveMode () const |
|
bool | hasTransparentObjects () const |
|
void | setTransparentObjects (bool) |
|
bool | depthPeelingAllowed () const |
|
bool | depthPeelingEnabled () const |
|
void | enableDepthPeeling (bool) |
|
unsigned | depthPeelingPasses () const |
|
void | setDepthPeelingPasses (unsigned n) |
|
unsigned | numTextureUnits () const |
|
bool | recording () const |
|
void | setBackgroundAlpha (float a) |
|
GLWidgetManager * | rightEye () |
|
GLWidgetManager * | leftEye () |
|
void | setRightEye (GLWidgetManager *) |
|
void | setLeftEye (GLWidgetManager *) |
|
AWindow * | aWindow () |
|
const AWindow * | aWindow () const |
|
virtual void | saveContents () |
|
void | saveContentsWithCustomSize () |
|
virtual void | recordStart () |
|
void | recordStartWithCustomSize () |
|
virtual void | recordStop () |
|
bool | hasCameraChanged () const |
|
void | bindOtherFramebuffer (DrawMode m) |
|
void | restoreFramebuffer () |
|
void | resizeOtherFramebuffers (int w, int h) |
|
| View (AWindow *win) |
|
virtual | ~View () |
|
ControlSwitch * | controlSwitch () |
|
Definition at line 54 of file glwidget.h.