|
visageSDK
|
VisageRendering displays the current frame and the following tracking results using OpenGL. More...
#include <VisageRendering.h>
Static Public Member Functions | |
| static void | DisplayResults (FaceData *trackingData, int trackStat, int width, int height, VsImage *frame, int drawingOptions=DISPLAY_DEFAULT) |
| Method calls other methods for drawing the frame and tracking results. More... | |
| static void | DisplayFrame (const VsImage *image, int width, int height) |
| Method draws the current frame. More... | |
| static void | DisplayFeaturePoints (FaceData *trackingData, int width, int height, VsImage *frame, bool _3D=false, bool relative=false, bool drawQuality=true) |
| Method draws facial feature points. More... | |
| static void | DisplaySplines (FaceData *trackingData, int width, int height) |
| Method draws splines. More... | |
| static void | DisplayGaze (FaceData *trackingData, int width, int height) |
| Method draws the gaze direction. More... | |
| static void | DisplayIrises (FaceData *trackingData, int width, int height, VsImage *frame) |
| Method draws the circle around irises. More... | |
| static void | DisplayModelAxes (FaceData *trackingData, int width, int height) |
| Method draws model axes. More... | |
| static void | DisplayWireFrame (FaceData *trackingData, int width, int height, float alpha=1.0f) |
| Method draws face model. More... | |
| static void | DisplayActionUnits (FaceData *trackingData, int width, int height) |
| Method draws action units. More... | |
| static void | CalcSpline (std::vector< float > &inputPoints, int ratio, std::vector< float > &outputPoints) |
| Method returns vector of calculated spline points. More... | |
| static void | DisplayTrackingQualityBar (FaceData *trackingData) |
| Method draws a bar in the lower left corner indicating tracking quality value. More... | |
| static void | DisplayLogo (const VsImage *logo, int width, int height) |
| Method draws a logo in the upper right corner. More... | |
| static void | DisplayText (const char *displayText, float effectValue, float scale=1.0f) |
| Method used to display text with animation (fade in or fade out effect) More... | |
| static void | DisplayImage (VsImage *image, float effectValue, bool imageChanged) |
| Method used to display image with animation (fade in or fade out effect) More... | |
| static void | SetFontTexture (const VsImage *font_tex) |
| Method sets font texture. More... | |
VisageRendering displays the current frame and the following tracking results using OpenGL.
Definition at line 85 of file VisageRendering.h.
|
static |
Method returns vector of calculated spline points.
| inputPoints | - vector of points which need to be connected with a spline |
| ratio | - number of spline points that need to be calculated between neighbouring input points |
| outputPoints | - vector of calculated spline points |
|
static |
Method draws action units.
| trackingData | - tracking results |
| width | - adjusted width of the OpenGL window |
| height | - adjusted height of the OpenGL window |
|
static |
Method draws facial feature points.
| trackingData | - tracking results |
| width | - adjusted width of the OpenGL window |
| height | - adjusted height of the OpenGL window |
| frame | - image for drawing |
| _3D | - use 3D feature points |
| relative | - use relative 3D feature points |
| drawQuality | - indicates whether tracking quality of feature points will be displayed |
|
static |
Method draws the current frame.
| image | - image for drawing |
| width | - adjusted width of the OpenGL window |
| height | - adjusted height of the OpenGL window |
|
static |
Method draws the gaze direction.
| trackingData | - tracking results |
| width | - adjusted width of the OpenGL window |
| height | - adjusted height of the OpenGL window |
|
static |
Method used to display image with animation (fade in or fade out effect)
| image | image that will be displayed |
| effectValue | value describing the level of image transparency |
| imageChanged | used to indicate that the image has changed and should be bound to the texture |
|
static |
Method draws the circle around irises.
| trackingData | - tracking results |
| width | - adjusted width of the OpenGL window |
| height | - adjusted height of the OpenGL window |
| frame | - image for drawing |
|
static |
Method draws a logo in the upper right corner.
| logo | - existing logo image |
| width | - viewport width |
| height | - viewport height |
|
static |
Method draws model axes.
| trackingData | - tracking results |
| width | - adjusted width of the OpenGL window |
| height | - adjusted height of the OpenGL window |
|
static |
Method calls other methods for drawing the frame and tracking results.
| trackingData | - tracking results |
| trackStat | - tracker status |
| width | - width of the OpenGL window, adjusted so that the aspect of the drawing frame is perserved |
| height | - height of the OpenGL window, adjusted so that the aspect of the drawing frame is perserved |
| frame | - image for drawing |
| drawingOptions | - enables user to choose what tracking results to display; by default all the tracking results are displayed |
|
static |
Method draws splines.
| trackingData | - tracking results |
| width | - adjusted width of the OpenGL window |
| height | - adjusted height of the OpenGL window |
|
static |
Method used to display text with animation (fade in or fade out effect)
| displayText | text that will be displayed |
| effectValue | value describing the level of text transparency |
| scale | scale of the font |
|
static |
Method draws a bar in the lower left corner indicating tracking quality value.
| trackingData | - tracking results |
|
static |
Method draws face model.
| trackingData | - tracking results |
| width | - adjusted width of the OpenGL window |
| height | - adjusted height of the OpenGL window |
| alpha | - value controlling transparency |
|
static |
Method sets font texture.
| font_tex | - font texture image |
1.8.10