Inheritance diagram for Eaagles::Fox::Display:


Public Member Functions | |
| Display () | |
| virtual void | create (FX::FXApp *app, FX::FXComposite *const frame, FX::FXObject *tgt, unsigned short selector, unsigned short opt, unsigned short x=0, unsigned short y=0, unsigned short w=0, unsigned short h=0) |
| virtual void | initialize () |
| virtual void | reshapeIt (int w, int h) |
| virtual void | drawIt () |
| virtual void | swapbuffers () |
| virtual bool | setCanvasSize (const float newW=0, const float newH=0) |
| virtual void | updateData (const LCreal dt=0.000000) |
| FX::FXApp * | getFoxApp () |
| LcGraphic * | pick (const int mouseX=0, const int mouseY=0, const int item=-1) |
| void | printSelectBuffer (const GLuint sbuff[], const int size) |
| void | clearSelectBuffer (GLuint sbuff[], const int size) |
| BasicGL::LcGraphic * | findSelected (const GLuint sbuff[], const int size, const int item=0) |
| FX::FXGLCanvas * | getCanvas () |
| FX::FXComposite * | getParentWindow () |
| virtual void | toggleRotation () |
| virtual void | toggleTranslation () |
Private Attributes | |
| FX::FXGLCanvas * | glCanvas |
| FX::FXGLVisual * | glVisual |
| FX::FXApp * | myApp |
| FX::FXComposite * | myComp |
| bool | rotate |
| LCreal | rotAng |
| LCreal | rotRate |
| bool | translate |
| LCreal | trans |
| LCreal | transRate |
| Eaagles::Fox::Display::Display | ( | ) |
| virtual void Eaagles::Fox::Display::create | ( | FX::FXApp * | app, | |
| FX::FXComposite *const | frame, | |||
| FX::FXObject * | tgt, | |||
| unsigned short | selector, | |||
| unsigned short | opt, | |||
| unsigned short | x = 0, |
|||
| unsigned short | y = 0, |
|||
| unsigned short | w = 0, |
|||
| unsigned short | h = 0 | |||
| ) | [virtual] |
Create with the Fox toolkit.
| virtual void Eaagles::Fox::Display::initialize | ( | ) | [virtual] |
initialize our display
| virtual void Eaagles::Fox::Display::reshapeIt | ( | int | w, | |
| int | h | |||
| ) | [virtual] |
| virtual void Eaagles::Fox::Display::drawIt | ( | ) | [virtual] |
Selects & clears the display, calls the draw method and swaps buffers.
Reimplemented from Eaagles::BasicGL::LcDisplay.
| virtual void Eaagles::Fox::Display::swapbuffers | ( | ) | [virtual] |
Swaps the front and back screen buffers (Window system specific).
Reimplemented from Eaagles::BasicGL::LcDisplay.
| virtual bool Eaagles::Fox::Display::setCanvasSize | ( | const float | newW = 0, |
|
| const float | newH = 0 | |||
| ) | [virtual] |
| virtual void Eaagles::Fox::Display::updateData | ( | const LCreal | dt = 0.000000 |
) | [virtual] |
| FX::FXApp* Eaagles::Fox::Display::getFoxApp | ( | ) | [inline] |
| LcGraphic* Eaagles::Fox::Display::pick | ( | const int | mouseX = 0, |
|
| const int | mouseY = 0, |
|||
| const int | item = -1 | |||
| ) |
mouse event to handle the pick event
| void Eaagles::Fox::Display::printSelectBuffer | ( | const GLuint | sbuff[], | |
| const int | size | |||
| ) |
| void Eaagles::Fox::Display::clearSelectBuffer | ( | GLuint | sbuff[], | |
| const int | size | |||
| ) |
| BasicGL::LcGraphic* Eaagles::Fox::Display::findSelected | ( | const GLuint | sbuff[], | |
| const int | size, | |||
| const int | item = 0 | |||
| ) |
| FX::FXGLCanvas* Eaagles::Fox::Display::getCanvas | ( | ) | [inline] |
| FX::FXComposite* Eaagles::Fox::Display::getParentWindow | ( | ) | [inline] |
| virtual void Eaagles::Fox::Display::toggleRotation | ( | ) | [virtual] |
interface for the fox main window to manipulate our graphics - YOU CAN PULL THIS OUT!
| virtual void Eaagles::Fox::Display::toggleTranslation | ( | ) | [virtual] |
FX::FXGLCanvas* Eaagles::Fox::Display::glCanvas [private] |
Fox toolkit's GL Canvas.
FX::FXGLVisual* Eaagles::Fox::Display::glVisual [private] |
Fox toolkit's OpenGL visual.
FX::FXApp* Eaagles::Fox::Display::myApp [private] |
Fox toolkit's Application pointer.
FX::FXComposite* Eaagles::Fox::Display::myComp [private] |
our parent
bool Eaagles::Fox::Display::rotate [private] |
is our graphic rotating
LCreal Eaagles::Fox::Display::rotAng [private] |
rotate angle
LCreal Eaagles::Fox::Display::rotRate [private] |
rotate rate
bool Eaagles::Fox::Display::translate [private] |
are we translating
LCreal Eaagles::Fox::Display::trans [private] |
transform amount (units)
LCreal Eaagles::Fox::Display::transRate [private] |
1.5.0