Eaagles::BasicGL::LcDisplay Class Reference

Inherits Eaagles::BasicGL::LcPage.

Inherited by Eaagles::BasicGL::GlutDisplay, Eaagles::Fltk::Display, and Eaagles::Fox::Display.

Inheritance diagram for Eaagles::BasicGL::LcDisplay:

Inheritance graph
[legend]
Collaboration diagram for Eaagles::BasicGL::LcDisplay:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Orientation { NORMAL, CW90, CCW90, INVERTED }

Public Member Functions

 LcDisplay ()
virtual void select ()
const char * getName () const
bool isMainDisplay () const
bool isSubdisplay () const
virtual void drawIt ()
virtual void reshapeIt (int w, int h)
virtual void keyboardEvent (const int key)
virtual void mouseEvent (const int button, const int state, const int x, const int y)
virtual void buttonEvent (const int b)
virtual LcGraphicfocus () const
virtual LcGraphicfocus (LcGraphic *s)
void outputTextLC (const int ln, const int cp, const char *txt, const int n, const bool vf=false) const
void outputTextXY (const double x, const double y, const char *txt, const int n, const bool vf=false) const
void outputText (const char *txt, const int n, const bool vf=false) const
void drawLeftBracket (const int ln, const int cp)
void drawRightBracket (const int ln, const int cp)
virtual void clear ()
virtual void swapbuffers ()
GLclampd getClearDepth () const
void setClearDepth (const GLclampd depth)
virtual void setSubscreen (const GLdouble left, const GLdouble right, const GLdouble bottom, const GLdouble top)
virtual void clearSubscreen ()
virtual void setScissor (const GLdouble left, const GLdouble right, const GLdouble bottom, const GLdouble top)
virtual void clearScissor ()
void getMouse (int *x, int *y) const
virtual void setMouse (const int x, const int y, LcDisplay *const subdisplay=0)
GLfloat getLinewidth () const
GLfloat setLinewidth (const GLfloat lw)
GLfloat getStdLineWidth () const
void setStdLineWidth (const GLfloat lw)
const osg::Vec4 & getCurrentColor () const
void setColor (const osg::Vec4 &color)
void setColor (const char *cname1)
const osg::Vec4 & getClearColor () const
void setClearColor (const Basic::LcColor &ccolor)
const Basic::LcColorgetNormColor ()
void setNormColor (Basic::LcColor *nc)
const Basic::LcColorgetHighlightColor ()
void setHighlightColor (Basic::LcColor *nc)
Basic::LcPairStreamdefaultColors ()
Basic::LcColorgetColor (const char *const colorName)
Basic::LcColorgetColor (const int index)
void addColor (Basic::LcColor *)
void addColor (Basic::LcPair *)
GLuint getCurrentTexture () const
GLuint setCurrentTexture (const GLuint newTexture)
GLuint setCurrentTexture (const Basic::LcIdent *newTexName)
GLuint getTextureByName (const Basic::LcIdent *texName)
Orientation getDisplayOrientation () const
bool isDisplayOrientation (const Orientation o) const
void setDisplayOrientation (const Orientation o)
void selectFont (const bool reversed, const bool underlined, const bool special)
void setFont (LcFont *newFont)
bool isDefaultFont () const
LcFontgetFont (const char *const fontName)
const LcFontgetFont (const char *const fontName) const
LcFontgetFont (const Basic::LcIdent *const fontName)
const LcFontgetFont (const Basic::LcIdent *const fontName) const
LcFontgetFont (const int index)
const LcFontgetFont (const int index) const
LcFontgetNormalFont ()
const LcFontgetNormalFont () const
bool setNormalFont (LcFont *const f)
bool setNormalFont (const char *const fontName)
bool setNormalFont (const Basic::LcIdent *const fontName)
LcFontgetReverseFont ()
const LcFontgetReverseFont () const
bool setReverseFont (LcFont *const f)
bool setReverseFont (const char *const fontName)
bool setReverseFont (const Basic::LcIdent *const fontName)
LcFontgetUnderlineFont ()
const LcFontgetUnderlineFont () const
bool setUnderlineFont (LcFont *const f)
bool setUnderlineFont (const char *const fontName)
bool setUnderlineFont (const Basic::LcIdent *const fontName)
LcFontgetSpecialFont ()
const LcFontgetSpecialFont () const
bool setSpecialFont (LcFont *const f)
bool setSpecialFont (const char *const fontName)
bool setSpecialFont (const Basic::LcIdent *const fontName)
LcFontgetSpecialRvFont ()
const LcFontgetSpecialRvFont () const
bool setSpecialRvFont (LcFont *const f)
bool setSpecialRvFont (const char *const fontName)
bool setSpecialRvFont (const Basic::LcIdent *const fontName)
char getLeftBracketCharacter () const
bool setLeftBracketCharacter (const char c)
char getRightBracketCharacter () const
bool setRightBracketCharacter (const char c)
bool getReverseVideoBrackets () const
bool setReverseVideoBrackets (const bool f)
void setAntialiasing (const bool on)
virtual void setOrtho (GLdouble oLeft, GLdouble oRight, GLdouble oBottom, GLdouble oTop, GLdouble oNear=0.0, GLdouble oFar=10.0)
virtual void forceOrtho (GLdouble oLeft, GLdouble oRight, GLdouble oBottom, GLdouble oTop, GLdouble oNear=0.0, GLdouble oFar=10.0)
virtual void getOrtho (GLdouble &left, GLdouble &right, GLdouble &bottom, GLdouble &top, GLdouble &near, GLdouble &far)
void getViewport (GLint *x, GLint *y, GLsizei *vpWidth, GLsizei *vpHeight) const
virtual void setViewport (const GLint x, const GLint y, const GLsizei vpWidth, const GLsizei vpHeight)
void getViewportOrigin (GLsizei *x, GLsizei *y) const
virtual void setViewportOrigin (const GLsizei x, const GLsizei y)
void getViewportSize (GLsizei *vpWidth, GLsizei *vpHeight) const
virtual void setViewportSize (const GLsizei vpWidth, const GLsizei vpHeight)
bool setName (Basic::LcString *const n)
bool setColorTable (Basic::LcPairStream *const sctobj)
bool setSlotLeftOrthoBound (const Basic::LcNumber *const sloobj)
bool setSlotRightOrthoBound (const Basic::LcNumber *const sroobj)
bool setSlotBottomOrthoBound (const Basic::LcNumber *const sbobobj)
bool setSlotTopOrthoBound (const Basic::LcNumber *const stobobj)
bool setSlotNearOrthoBound (const Basic::LcNumber *const snobobj)
bool setSlotFarOrthoBound (const Basic::LcNumber *const sfobobj)
bool setSlotViewportXOrigin (const Basic::LcNumber *const svxoobj)
bool setSlotViewportYOrigin (const Basic::LcNumber *const svyoobj)
bool setSlotViewportWidth (const Basic::LcNumber *const svwobj)
bool setSlotViewportHeight (const Basic::LcNumber *const svhobj)
bool setSlotSubdisplayStream (Basic::LcPairStream *const dsobj)
bool setSlotSubdisplaySingle (LcDisplay *const dobj)
bool setSlotStdLineWidth (const Basic::LcNumber *const svhobj)
bool setSlotTexturesStream (Basic::LcPairStream *const obj)
bool setSlotTexturesSingle (LcTexture *const obj)
bool setSlotClearColor (const Basic::LcColor *const msg)
bool setSlotLeftBracketCharacter (const Basic::LcNumber *const svhob)
bool setSlotLeftBracketCharacter (const Basic::LcString *const svhob)
bool setSlotRightBracketCharacter (const Basic::LcNumber *const svhob)
bool setSlotRightBracketCharacter (const Basic::LcString *const svhob)
bool setSlotReverseVideoBrackets (const Basic::LcNumber *const svhobj)
bool setFontList (Basic::LcPairStream *const dsobj)
bool setSlotClearDepth (const Basic::LcNumber *const msg)
bool setSlotDisplayOrientation (const Basic::LcString *const msg)
virtual bool event (const int event, LcObject *const obj=0)
virtual void updateTC (const LCreal dt=0.0f)
virtual void reset ()

Protected Member Functions

Basic::LcPairStreamgetTextures ()
Basic::LcPairStreamsubDisplays ()
void setSubdisplayFlag (const bool flg)
virtual void loadTextures ()

Protected Attributes

GLsizei vpX
GLsizei vpY
GLsizei vpWidth
GLsizei vpHeight
GLdouble oLeft
GLdouble oRight
GLdouble oBottom
GLdouble oTop
GLdouble oNear
GLdouble oFar

Private Member Functions

bool processSubdisplays ()
bool processTextures ()

Private Attributes

Basic::LcStringname
Basic::LcPairStreamsubdisplays
Basic::LcPairStreamtextures
GLuint texture
GLfloat linewidth
GLfloat stdLinewidth
Orientation orientation
GLclampd clearDepth
Basic::LcPairStreamcolorTable
osg::Vec4 color
osg::Vec4 clearColor
Basic::LcIdentcolorName
Basic::LcColornormColor
Basic::LcColorhiColor
Basic::LcPairStreamfontList
LcFontcurrentFont
LcFontnormalFont
Basic::LcIdentnormalFontName
LcFontreverseFont
Basic::LcIdentreverseFontName
LcFontunderlineFont
Basic::LcIdentunderlineFontName
LcFontspecialFont
Basic::LcIdentspecialFontName
LcFontspecialRvFont
Basic::LcIdentspecialRvFontName
bool reversedEnable
bool reversedFlg
bool underlinedFlg
bool specialFlg
bool subdisplayFlg
bool antialias
int mx
int my
bool rvBrackets
char leftBracketChar
char rightBracketChar
LcGraphicfocusPtr

Detailed Description

 Display (MFD, CDU, HUD, etc) Manager  


Member Enumeration Documentation

enum Eaagles::BasicGL::LcDisplay::Orientation

Enumerator:
NORMAL 
CW90 
CCW90 
INVERTED 


Constructor & Destructor Documentation

Eaagles::BasicGL::LcDisplay::LcDisplay (  ) 

Constructor. Initializes the fonts, colors and other parameters - selects this display as the default.


Member Function Documentation

void Eaagles::BasicGL::LcDisplay::select (  )  [virtual]

Selects this display.

const char* Eaagles::BasicGL::LcDisplay::getName (  )  const [inline]

Returns a pointer to the name of the display.

bool Eaagles::BasicGL::LcDisplay::isMainDisplay (  )  const [inline]

Returns a boolean value: 1 for Main Display, 0 for Sub Display.

bool Eaagles::BasicGL::LcDisplay::isSubdisplay (  )  const [inline]

Returns a boolean value: 1 for Sub Display, 0 for Main Display.

void Eaagles::BasicGL::LcDisplay::drawIt (  )  [virtual]

Selects & clears the display, calls the draw method and swaps buffers.

Reimplemented in Eaagles::Fox::Display.

void Eaagles::BasicGL::LcDisplay::reshapeIt ( int  w,
int  h 
) [virtual]

Resizes the displays's width and height.

Reimplemented in Eaagles::BasicGL::GlutDisplay, and Eaagles::Fox::Display.

void Eaagles::BasicGL::LcDisplay::keyboardEvent ( const int  key  )  [virtual]

Passes keyboard events to the focus.

void Eaagles::BasicGL::LcDisplay::mouseEvent ( const int  button,
const int  state,
const int  x,
const int  y 
) [virtual]

Passes mouse events to the focus.

Reimplemented in Eaagles::BasicGL::GlutDisplay, and Eaagles::Fltk::Display.

void Eaagles::BasicGL::LcDisplay::buttonEvent ( const int  b  )  [virtual]

Passes button events to the focus.

LcGraphic * Eaagles::BasicGL::LcDisplay::focus (  )  const [virtual]

Returns the input focus pointer.

LcGraphic * Eaagles::BasicGL::LcDisplay::focus ( LcGraphic s  )  [virtual]

Sets and returns the input focus pointer.

void Eaagles::BasicGL::LcDisplay::outputTextLC ( const int  ln,
const int  cp,
const char *  txt,
const int  n,
const bool  vf = false 
) const

Output 'n' characters from 'text' at (ln, cp). If vf is set to true, text is drawn vertically.

void Eaagles::BasicGL::LcDisplay::outputTextXY ( const double  x,
const double  y,
const char *  txt,
const int  n,
const bool  vf = false 
) const

Output 'n' characters from 'text' at (x, y).

void Eaagles::BasicGL::LcDisplay::outputText ( const char *  txt,
const int  n,
const bool  vf = false 
) const

Output 'n' characters from 'text'' at the current position.

void Eaagles::BasicGL::LcDisplay::drawLeftBracket ( const int  ln,
const int  cp 
)

Draw the left bracket at (Ln,Cp).

void Eaagles::BasicGL::LcDisplay::drawRightBracket ( const int  ln,
const int  cp 
)

Draw the right bracket at (Ln,Cp).

void Eaagles::BasicGL::LcDisplay::clear (  )  [virtual]

Calls 'glClearing' methods to 'clean' the screen.

void Eaagles::BasicGL::LcDisplay::swapbuffers (  )  [virtual]

Swaps the front and back screen buffers (Window system specific).

Reimplemented in Eaagles::BasicGL::GlutDisplay, Eaagles::Fltk::Display, and Eaagles::Fox::Display.

GLclampd Eaagles::BasicGL::LcDisplay::getClearDepth (  )  const [inline]

Gets the clearDepth (the value that the depth buffer is cleared to).

void Eaagles::BasicGL::LcDisplay::setClearDepth ( const GLclampd  depth  )  [inline]

Sets the clearDepth (the value that the depth buffer is cleared to).

void Eaagles::BasicGL::LcDisplay::setSubscreen ( const GLdouble  left,
const GLdouble  right,
const GLdouble  bottom,
const GLdouble  top 
) [virtual]

Sets up a temporary sub-viewport.

void Eaagles::BasicGL::LcDisplay::clearSubscreen (  )  [virtual]

Clears the temporary sub-viewport by calling reshapeIt(vpWidth,vpHeight).

void Eaagles::BasicGL::LcDisplay::setScissor ( const GLdouble  left,
const GLdouble  right,
const GLdouble  bottom,
const GLdouble  top 
) [virtual]

Sets up a scissor box and enables the scissor test.

void Eaagles::BasicGL::LcDisplay::clearScissor (  )  [virtual]

Clears the scissor box and disable scissor test.

void Eaagles::BasicGL::LcDisplay::getMouse ( int *  x,
int *  y 
) const [inline]

Gets the current mouse position.

void Eaagles::BasicGL::LcDisplay::setMouse ( const int  x,
const int  y,
LcDisplay *const  subdisplay = 0 
) [virtual]

Sets the current mouse position.

GLfloat Eaagles::BasicGL::LcDisplay::getLinewidth (  )  const [inline]

Returns linewidth (the current line width).

GLfloat Eaagles::BasicGL::LcDisplay::setLinewidth ( const GLfloat  lw  ) 

Sets and returns linewidth (the current line width).

GLfloat Eaagles::BasicGL::LcDisplay::getStdLineWidth (  )  const [inline]

Returns stdLinewidth (the standard line width).

void Eaagles::BasicGL::LcDisplay::setStdLineWidth ( const GLfloat  lw  ) 

Sets stdLinewidth and linewidth (the standard and current line widths).

const osg::Vec4& Eaagles::BasicGL::LcDisplay::getCurrentColor (  )  const [inline]

Returns color (the current color).

void Eaagles::BasicGL::LcDisplay::setColor ( const osg::Vec4 &  color  ) 

Sets color (the current color) by a color vector.

void Eaagles::BasicGL::LcDisplay::setColor ( const char *  cname1  ) 

Sets color (the current color) by a color name.

const osg::Vec4& Eaagles::BasicGL::LcDisplay::getClearColor (  )  const [inline]

Returns the clear (background) color as a Vec4 vector (RGBA).

void Eaagles::BasicGL::LcDisplay::setClearColor ( const Basic::LcColor ccolor  ) 

Set the color that the screen is clear (background).

const Basic::LcColor* Eaagles::BasicGL::LcDisplay::getNormColor (  )  [inline]

Returns the normal color.

void Eaagles::BasicGL::LcDisplay::setNormColor ( Basic::LcColor nc  ) 

Sets normColor (the normal color).

const Basic::LcColor* Eaagles::BasicGL::LcDisplay::getHighlightColor (  )  [inline]

Returns the highlight color.

void Eaagles::BasicGL::LcDisplay::setHighlightColor ( Basic::LcColor nc  ) 

Sets hiColor (the highlight color).

Basic::LcPairStream * Eaagles::BasicGL::LcDisplay::defaultColors (  ) 

Loads defColorTable (the default color table) with the default colors namely: black, red, green, yellow, blue, magenta, cyan, and white.

Basic::LcColor * Eaagles::BasicGL::LcDisplay::getColor ( const char *const  colorName  ) 

Returns a color by name from colorTable (the color table).

Basic::LcColor * Eaagles::BasicGL::LcDisplay::getColor ( const int  index  ) 

Returns a color by index from colorTable (the color table).

void Eaagles::BasicGL::LcDisplay::addColor ( Basic::LcColor  ) 

Adds a color to colorTable (the color table).

void Eaagles::BasicGL::LcDisplay::addColor ( Basic::LcPair  ) 

Adds a color to colorTable (the color table).

GLuint Eaagles::BasicGL::LcDisplay::getCurrentTexture (  )  const [inline]

Returns the current texture.

GLuint Eaagles::BasicGL::LcDisplay::setCurrentTexture ( const GLuint  newTexture  ) 

Sets the current texture to newTexture.

GLuint Eaagles::BasicGL::LcDisplay::setCurrentTexture ( const Basic::LcIdent newTexName  ) 

Sets the current texture to newTexName.

GLuint Eaagles::BasicGL::LcDisplay::getTextureByName ( const Basic::LcIdent texName  ) 

Returns the texture associated with texName.

Orientation Eaagles::BasicGL::LcDisplay::getDisplayOrientation (  )  const [inline]

Returns the orientation of the display as an Orientation enum type.

bool Eaagles::BasicGL::LcDisplay::isDisplayOrientation ( const Orientation  o  )  const [inline]

Returns true if the orientation passed to the function is equal to the current orientation of the display.

void Eaagles::BasicGL::LcDisplay::setDisplayOrientation ( const Orientation  o  )  [inline]

Sets the display orientation.

void Eaagles::BasicGL::LcDisplay::selectFont ( const bool  reversed,
const bool  underlined,
const bool  special 
)

Sets currentFont (the current font) based on the font mode flags.

void Eaagles::BasicGL::LcDisplay::setFont ( LcFont newFont  ) 

Sets currentFont (the current font).

bool Eaagles::BasicGL::LcDisplay::isDefaultFont (  )  const [inline]

Returns true if currentFont == null(0), else false.

LcFont * Eaagles::BasicGL::LcDisplay::getFont ( const char *const  fontName  ) 

Gets the font by name.

const LcFont * Eaagles::BasicGL::LcDisplay::getFont ( const char *const  fontName  )  const

Gets the font by name.

LcFont * Eaagles::BasicGL::LcDisplay::getFont ( const Basic::LcIdent *const  fontName  ) 

Gets the font by LcIdent name.

const LcFont * Eaagles::BasicGL::LcDisplay::getFont ( const Basic::LcIdent *const  fontName  )  const

Gets the font by LcIdent name.

LcFont * Eaagles::BasicGL::LcDisplay::getFont ( const int  index  ) 

Gets the font by its index.

const LcFont * Eaagles::BasicGL::LcDisplay::getFont ( const int  index  )  const

Gets the font by its index.

LcFont * Eaagles::BasicGL::LcDisplay::getNormalFont (  ) 

Returns normalFont (the normal font).

const LcFont * Eaagles::BasicGL::LcDisplay::getNormalFont (  )  const

Returns normalFont (the normal font).

bool Eaagles::BasicGL::LcDisplay::setNormalFont ( LcFont *const   f  ) 

Sets normalFont (the normal font).

bool Eaagles::BasicGL::LcDisplay::setNormalFont ( const char *const  fontName  ) 

Sets the normal font by name.

bool Eaagles::BasicGL::LcDisplay::setNormalFont ( const Basic::LcIdent *const  fontName  ) 

Sets the normal font by LcIdent name.

LcFont * Eaagles::BasicGL::LcDisplay::getReverseFont (  ) 

Returns reverseFont (the reverse font).

const LcFont * Eaagles::BasicGL::LcDisplay::getReverseFont (  )  const

Returns reverseFont (the reverse font).

bool Eaagles::BasicGL::LcDisplay::setReverseFont ( LcFont *const   f  ) 

Sets reverseFont (the reverse font).

bool Eaagles::BasicGL::LcDisplay::setReverseFont ( const char *const  fontName  ) 

Sets the reverse font by name.

bool Eaagles::BasicGL::LcDisplay::setReverseFont ( const Basic::LcIdent *const  fontName  ) 

Sets the reverse font by LcIdent name.

LcFont * Eaagles::BasicGL::LcDisplay::getUnderlineFont (  ) 

Returns underlineFont (the underline font).

const LcFont * Eaagles::BasicGL::LcDisplay::getUnderlineFont (  )  const

Returns underlineFont (the underline font).

bool Eaagles::BasicGL::LcDisplay::setUnderlineFont ( LcFont *const   f  ) 

Sets underlineFont (the underline font).

bool Eaagles::BasicGL::LcDisplay::setUnderlineFont ( const char *const  fontName  ) 

Sets the underline font by name.

bool Eaagles::BasicGL::LcDisplay::setUnderlineFont ( const Basic::LcIdent *const  fontName  ) 

Sets the underline font by LcIdent name.

LcFont * Eaagles::BasicGL::LcDisplay::getSpecialFont (  ) 

Returns specialFont (the special font).

const LcFont * Eaagles::BasicGL::LcDisplay::getSpecialFont (  )  const

Returns specialFont (the special font).

bool Eaagles::BasicGL::LcDisplay::setSpecialFont ( LcFont *const   f  ) 

Sets specialFont (the special font).

bool Eaagles::BasicGL::LcDisplay::setSpecialFont ( const char *const  fontName  ) 

Sets the special font by name.

bool Eaagles::BasicGL::LcDisplay::setSpecialFont ( const Basic::LcIdent *const  fontName  ) 

Sets the special font by LcIdent name.

LcFont * Eaagles::BasicGL::LcDisplay::getSpecialRvFont (  ) 

Returns specialRvFont (the special reversed font).

const LcFont * Eaagles::BasicGL::LcDisplay::getSpecialRvFont (  )  const

Returns specialRvFont (the special reversed font).

bool Eaagles::BasicGL::LcDisplay::setSpecialRvFont ( LcFont *const   f  ) 

Sets specialRvFont (the special reversed font).

bool Eaagles::BasicGL::LcDisplay::setSpecialRvFont ( const char *const  fontName  ) 

Sets the special reversed font by name.

bool Eaagles::BasicGL::LcDisplay::setSpecialRvFont ( const Basic::LcIdent *const  fontName  ) 

Sets the special reversed font by LcIdent name.

char Eaagles::BasicGL::LcDisplay::getLeftBracketCharacter (  )  const [inline]

Returns the left bracket character.

bool Eaagles::BasicGL::LcDisplay::setLeftBracketCharacter ( const char  c  )  [inline]

Sets the left bracket character.

char Eaagles::BasicGL::LcDisplay::getRightBracketCharacter (  )  const [inline]

Returns the right bracket character.

bool Eaagles::BasicGL::LcDisplay::setRightBracketCharacter ( const char  c  )  [inline]

Sets the right bracket character.

bool Eaagles::BasicGL::LcDisplay::getReverseVideoBrackets (  )  const [inline]

Returns rvBrackets.

bool Eaagles::BasicGL::LcDisplay::setReverseVideoBrackets ( const bool  f  )  [inline]

Sets rvBrackets to f and returns true, NOT the value of f.

void Eaagles::BasicGL::LcDisplay::setAntialiasing ( const bool  on  )  [inline]

Sets antialias (the antialiasing flag) on or off.

void Eaagles::BasicGL::LcDisplay::setOrtho ( GLdouble  oLeft,
GLdouble  oRight,
GLdouble  oBottom,
GLdouble  oTop,
GLdouble  oNear = 0.0,
GLdouble  oFar = 10.0 
) [virtual]

Sets the orthogonal parameters.

void Eaagles::BasicGL::LcDisplay::forceOrtho ( GLdouble  oLeft,
GLdouble  oRight,
GLdouble  oBottom,
GLdouble  oTop,
GLdouble  oNear = 0.0,
GLdouble  oFar = 10.0 
) [virtual]

Sets the orthogonl parameters and resizes the viewport using orthogonals.

void Eaagles::BasicGL::LcDisplay::getOrtho ( GLdouble &  left,
GLdouble &  right,
GLdouble &  bottom,
GLdouble &  top,
GLdouble &  near,
GLdouble &  far 
) [virtual]

Assigns the current orthogonal parameters to left, right, bottom, top, near, far.

void Eaagles::BasicGL::LcDisplay::getViewport ( GLint *  x,
GLint *  y,
GLsizei *  vpWidth,
GLsizei *  vpHeight 
) const

Gets the viewport parameters.

void Eaagles::BasicGL::LcDisplay::setViewport ( const GLint  x,
const GLint  y,
const GLsizei  vpWidth,
const GLsizei  vpHeight 
) [virtual]

Sets the viewport parameters.

void Eaagles::BasicGL::LcDisplay::getViewportOrigin ( GLsizei *  x,
GLsizei *  y 
) const

Gets the viewport's origin.

void Eaagles::BasicGL::LcDisplay::setViewportOrigin ( const GLsizei  x,
const GLsizei  y 
) [virtual]

Sets the viewport's origin.

void Eaagles::BasicGL::LcDisplay::getViewportSize ( GLsizei *  vpWidth,
GLsizei *  vpHeight 
) const

Gets the viewport's size.

void Eaagles::BasicGL::LcDisplay::setViewportSize ( const GLsizei  vpWidth,
const GLsizei  vpHeight 
) [virtual]

Sets the viewport's size.

bool Eaagles::BasicGL::LcDisplay::setName ( Basic::LcString *const   n  ) 

Sets the name of the display.

bool Eaagles::BasicGL::LcDisplay::setColorTable ( Basic::LcPairStream *const   sctobj  ) 

Sets colorTable (the color table).

bool Eaagles::BasicGL::LcDisplay::setSlotLeftOrthoBound ( const Basic::LcNumber *const  sloobj  ) 

Sets the slot left orthogonal bound to sloobj.

bool Eaagles::BasicGL::LcDisplay::setSlotRightOrthoBound ( const Basic::LcNumber *const  sroobj  ) 

Sets the slot right orthogonal bound to sroobj.

bool Eaagles::BasicGL::LcDisplay::setSlotBottomOrthoBound ( const Basic::LcNumber *const  sbobobj  ) 

Sets the slot bottom orthogonal bound to sbobobj.

bool Eaagles::BasicGL::LcDisplay::setSlotTopOrthoBound ( const Basic::LcNumber *const  stobobj  ) 

Sets the slot top orthogonal bound to stobobj.

bool Eaagles::BasicGL::LcDisplay::setSlotNearOrthoBound ( const Basic::LcNumber *const  snobobj  ) 

Sets the slot near orthogonal bound to snobobj.

bool Eaagles::BasicGL::LcDisplay::setSlotFarOrthoBound ( const Basic::LcNumber *const  sfobobj  ) 

Sets the slot far orthogonal bound to sfobobj.

bool Eaagles::BasicGL::LcDisplay::setSlotViewportXOrigin ( const Basic::LcNumber *const  svxoobj  ) 

Sets the slot viewport x origin to svxoobj.

bool Eaagles::BasicGL::LcDisplay::setSlotViewportYOrigin ( const Basic::LcNumber *const  svyoobj  ) 

Sets the slot viewport y origin to svyoobj.

bool Eaagles::BasicGL::LcDisplay::setSlotViewportWidth ( const Basic::LcNumber *const  svwobj  ) 

Sets the slot viewport width to svwobj.

bool Eaagles::BasicGL::LcDisplay::setSlotViewportHeight ( const Basic::LcNumber *const  svhobj  ) 

Sets the slot viewport height to svhobj.

bool Eaagles::BasicGL::LcDisplay::setSlotSubdisplayStream ( Basic::LcPairStream *const   dsobj  ) 

Sets the slot subdisplay stream to dsobj.

bool Eaagles::BasicGL::LcDisplay::setSlotSubdisplaySingle ( LcDisplay *const  dobj  ) 

Sets the slot subdisplay single to dobj.

bool Eaagles::BasicGL::LcDisplay::setSlotStdLineWidth ( const Basic::LcNumber *const  svhobj  ) 

Sets the slot standard line width to svhobj.

bool Eaagles::BasicGL::LcDisplay::setSlotTexturesStream ( Basic::LcPairStream *const   obj  ) 

Sets the slot textures scream to obj.

bool Eaagles::BasicGL::LcDisplay::setSlotTexturesSingle ( LcTexture *const  obj  ) 

Sets the slot textures single to obj.

bool Eaagles::BasicGL::LcDisplay::setSlotClearColor ( const Basic::LcColor *const  msg  ) 

Sets the slot clear color to msg.

bool Eaagles::BasicGL::LcDisplay::setSlotLeftBracketCharacter ( const Basic::LcNumber *const  svhob  ) 

Sets the slot left bracket character to svhob.

bool Eaagles::BasicGL::LcDisplay::setSlotLeftBracketCharacter ( const Basic::LcString *const  svhob  ) 

Sets the slot left bracket character to svhob.

bool Eaagles::BasicGL::LcDisplay::setSlotRightBracketCharacter ( const Basic::LcNumber *const  svhob  ) 

Sets the slot right bracket character to svhob.

bool Eaagles::BasicGL::LcDisplay::setSlotRightBracketCharacter ( const Basic::LcString *const  svhob  ) 

Sets the slot right bracket character to svhob.

bool Eaagles::BasicGL::LcDisplay::setSlotReverseVideoBrackets ( const Basic::LcNumber *const  svhobj  ) 

Sets the slot reverse video brackets to svhobj.

bool Eaagles::BasicGL::LcDisplay::setFontList ( Basic::LcPairStream *const   dsobj  ) 

Sets the font list.

bool Eaagles::BasicGL::LcDisplay::setSlotClearDepth ( const Basic::LcNumber *const  msg  ) 

Sets the slot clear depth to msg.

bool Eaagles::BasicGL::LcDisplay::setSlotDisplayOrientation ( const Basic::LcString *const  msg  ) 

Sets the slot display orientation to msg.

virtual bool Eaagles::BasicGL::LcDisplay::event ( const int  event,
LcObject *const  obj = 0 
) [virtual]

This is an event function.

Reimplemented from Eaagles::BasicGL::LcPage.

void Eaagles::BasicGL::LcDisplay::updateTC ( const LCreal  dt = 0.0f  )  [virtual]

Updates time critical stuff.

Reimplemented from Eaagles::BasicGL::LcPage.

void Eaagles::BasicGL::LcDisplay::reset (  )  [virtual]

Resets the parameters.

Reimplemented from Eaagles::BasicGL::LcPage.

Reimplemented in Eaagles::BasicGL::GlutDisplay.

Basic::LcPairStream* Eaagles::BasicGL::LcDisplay::getTextures (  )  [inline, protected]

Returns the list of textures.

Basic::LcPairStream* Eaagles::BasicGL::LcDisplay::subDisplays (  )  [inline, protected]

Returns the sub-displays.

void Eaagles::BasicGL::LcDisplay::setSubdisplayFlag ( const bool  flg  )  [inline, protected]

Sets the flag indicating this is a sub-display.

void Eaagles::BasicGL::LcDisplay::loadTextures (  )  [protected, virtual]

Loads the textures.

bool Eaagles::BasicGL::LcDisplay::processSubdisplays (  )  [private]

Process the subpages; they should all be of type LcDisplay (or derived from it). Indicates that this is their container.

bool Eaagles::BasicGL::LcDisplay::processTextures (  )  [private]


Member Data Documentation

GLsizei Eaagles::BasicGL::LcDisplay::vpX [protected]

viewport size

GLsizei Eaagles::BasicGL::LcDisplay::vpY [protected]

GLsizei Eaagles::BasicGL::LcDisplay::vpWidth [protected]

GLsizei Eaagles::BasicGL::LcDisplay::vpHeight [protected]

GLdouble Eaagles::BasicGL::LcDisplay::oLeft [protected]

Ortho parameters.

GLdouble Eaagles::BasicGL::LcDisplay::oRight [protected]

GLdouble Eaagles::BasicGL::LcDisplay::oBottom [protected]

GLdouble Eaagles::BasicGL::LcDisplay::oTop [protected]

GLdouble Eaagles::BasicGL::LcDisplay::oNear [protected]

GLdouble Eaagles::BasicGL::LcDisplay::oFar [protected]

Basic::LcString* Eaagles::BasicGL::LcDisplay::name [private]

Display Name.

Basic::LcPairStream* Eaagles::BasicGL::LcDisplay::subdisplays [private]

Sub-displays.

Basic::LcPairStream* Eaagles::BasicGL::LcDisplay::textures [private]

List of textures.

GLuint Eaagles::BasicGL::LcDisplay::texture [private]

Current texture.

Reimplemented from Eaagles::BasicGL::LcGraphic.

GLfloat Eaagles::BasicGL::LcDisplay::linewidth [private]

Current Linewidth (last glLineWidth()).

Reimplemented from Eaagles::BasicGL::LcGraphic.

GLfloat Eaagles::BasicGL::LcDisplay::stdLinewidth [private]

Standard linewidth.

Orientation Eaagles::BasicGL::LcDisplay::orientation [private]

Display orientation.

GLclampd Eaagles::BasicGL::LcDisplay::clearDepth [private]

Display clear depth.

Basic::LcPairStream* Eaagles::BasicGL::LcDisplay::colorTable [private]

Color table.

osg::Vec4 Eaagles::BasicGL::LcDisplay::color [private]

Current Color.

Reimplemented from Eaagles::BasicGL::LcGraphic.

osg::Vec4 Eaagles::BasicGL::LcDisplay::clearColor [private]

Clear (background) color.

Basic::LcIdent* Eaagles::BasicGL::LcDisplay::colorName [private]

Current color name.

Reimplemented from Eaagles::BasicGL::LcGraphic.

Basic::LcColor* Eaagles::BasicGL::LcDisplay::normColor [private]

Color of a normal text field.

Basic::LcColor* Eaagles::BasicGL::LcDisplay::hiColor [private]

Color of a high lighted text field.

Basic::LcPairStream* Eaagles::BasicGL::LcDisplay::fontList [private]

List of fonts.

LcFont* Eaagles::BasicGL::LcDisplay::currentFont [private]

Current font.

LcFont* Eaagles::BasicGL::LcDisplay::normalFont [private]

Normal font.

Basic::LcIdent* Eaagles::BasicGL::LcDisplay::normalFontName [private]

Normal font name.

LcFont* Eaagles::BasicGL::LcDisplay::reverseFont [private]

Reversed video font.

Basic::LcIdent* Eaagles::BasicGL::LcDisplay::reverseFontName [private]

Reversed font name.

LcFont* Eaagles::BasicGL::LcDisplay::underlineFont [private]

Underlined font.

Basic::LcIdent* Eaagles::BasicGL::LcDisplay::underlineFontName [private]

Underlined font name.

LcFont* Eaagles::BasicGL::LcDisplay::specialFont [private]

Special character font.

Basic::LcIdent* Eaagles::BasicGL::LcDisplay::specialFontName [private]

Special character font name.

LcFont* Eaagles::BasicGL::LcDisplay::specialRvFont [private]

Special/Reversed font.

Basic::LcIdent* Eaagles::BasicGL::LcDisplay::specialRvFontName [private]

Special/Reversed font name.

bool Eaagles::BasicGL::LcDisplay::reversedEnable [private]

Enable reversed video font (manually).

bool Eaagles::BasicGL::LcDisplay::reversedFlg [private]

Current font setting.

bool Eaagles::BasicGL::LcDisplay::underlinedFlg [private]

Current font setting.

bool Eaagles::BasicGL::LcDisplay::specialFlg [private]

Current font setting.

bool Eaagles::BasicGL::LcDisplay::subdisplayFlg [private]

This is a sub-display.

bool Eaagles::BasicGL::LcDisplay::antialias [private]

Antialias flag (default off).

int Eaagles::BasicGL::LcDisplay::mx [private]

Mouse x, y.

int Eaagles::BasicGL::LcDisplay::my [private]

bool Eaagles::BasicGL::LcDisplay::rvBrackets [private]

Reverse video brackets flag.

char Eaagles::BasicGL::LcDisplay::leftBracketChar [private]

Left bracket character.

char Eaagles::BasicGL::LcDisplay::rightBracketChar [private]

right bracket character

LcGraphic* Eaagles::BasicGL::LcDisplay::focusPtr [private]

Input focus.


Generated on Tue Dec 19 16:26:37 2006 for Eaagles by  doxygen 1.5.0