Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

void Impala::Visualization::RotorBrowser::RotorDoDView::LeftCornerTriangle ( int  r,
int  g,
int  b,
int  a 
) [inline]

Definition at line 48 of file RotorDoDView.h.

References OglGui::View::GetOGLVIEW3D().

Referenced by HandlePositiveNegative().

00049     {
00050         if (a <= 0.f) return;
00051         INT bInfo[3];
00052         oglSys.StartBlend(bInfo);
00053         OGCSetPolyFillMode(theOGC,3);
00054         ULONG col = RGBA2COLOR(r,g,b,a);
00055         SetSolidFillColor(col);
00056         OGLVIEW3D* v3D = GetOGLVIEW3D();
00057         float x = -v3D->w/2;
00058         float y = -v3D->h/2;
00059         float coords[6];
00060         coords[0] = x;
00061         coords[1] = y;
00062         coords[2] = x + v3D->w/2;
00063         coords[3] = y;
00064         coords[4] = x;
00065         coords[5] = y + v3D->h/2;
00066         FillTriangles(coords,3);
00067         oglSys.EndBlend(bInfo);
00068     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:56:17 2010 for ImpalaSrc by  doxygen 1.5.1