Eaagles::BasicGL::LcGraphic Class Reference

Inherits Eaagles::Basic::LcComponent.

Inherited by Eaagles::BasicGL::LcField, Eaagles::BasicGL::LcPage, Eaagles::BasicGL::LcPolygon, Eaagles::BasicGL::Rotators, Eaagles::BasicGL::Translator, Eaagles::Instruments::CompassRose, Eaagles::Instruments::Instrument, and Eaagles::Instruments::LcButton.

Inheritance diagram for Eaagles::BasicGL::LcGraphic:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LcGraphic ()
LcDisplaygetDisplay ()
virtual void draw ()
virtual void drawFunc ()
const osg::Vec3 * getVertices () const
unsigned int getNumberOfVertices () const
bool setVertices (const osg::Vec3 *const v, const unsigned int n)
const osg::Vec2 * getTextureCoord () const
unsigned int getNumberOfTextureCoords () const
bool setTextureCoord (const osg::Vec2 *const v, const unsigned int n)
const osg::Vec3 * getNormals () const
unsigned int getNumberOfNormals () const
bool setNormals (const osg::Vec3 *const v, const unsigned int n)
bool isVisible () const
bool setVisibility (const bool v)
GLfloat getLineWidth () const
bool setLineWidth (const GLfloat v)
Basic::LcColorgetColor ()
const Basic::LcColorgetColor () const
const Basic::LcIdentgetColorName () const
virtual bool setColor (const Basic::LcColor *const msg)
virtual bool setColor (const Basic::LcIdent *const msg)
bool flashOn () const
bool flashOff () const
bool isFlashing () const
LCreal getFlashRate () const
bool setFlashRate (const LCreal r)
GLuint getDisplayList () const
bool isDisplayListEnabled () const
bool isDisplayListDisabled () const
bool setDisplayList (const GLuint v)
bool setDisableDisplayList (const bool flg)
bool matrixIsActive ()
const osg::Matrix & getMatrix () const
void lcRotate (const LCreal a)
void lcRotate (const LCreal x, const LCreal y, const LCreal z, const LCreal a)
void lcTranslate (const LCreal x, const LCreal y)
void lcTranslate (const LCreal x, const LCreal y, const LCreal z)
void lcScale (const LCreal s)
void lcScale (const LCreal sx, const LCreal sy)
void lcColor (Basic::LcColor *)
void lcSaveMatrix ()
void lcRestoreMatrix ()
bool hasTexture () const
GLuint getTexture () const
bool setTextureName (const char *newName)
GLfloat getStdLineWidth ()
bool haveScissorBoxHave () const
LCreal getScissorX () const
LCreal getScissorWidth () const
LCreal getScissorY () const
LCreal getScissorHeight () const
bool setScissorX (const LCreal newX)
bool setScissorWidth (const LCreal newWidth)
bool setScissorY (const LCreal newY)
bool setScissorHeight (const LCreal newHeight)
bool isStippling ()
bool setStippling (const bool x)
GLuint getSelectName () const
bool setSelectName (const GLuint v)
virtual Basic::LcPairfindBySelectName (const GLuint name)
bool isPostDrawComponents () const
virtual bool cursor (int *ln, int *cp) const
virtual bool event (const int event, LcObject *const obj=0)

Static Public Member Functions

static LCreal flashTimer ()
static LCreal flashTimer (const LCreal dt)
static GLuint getNewSelectName ()
static bool clipLine2D (osg::Vec2 *ep1, osg::Vec2 *ep2, const LCreal minX, const LCreal maxX, const LCreal minY, const LCreal maxY)
static void lcVertex2v (const LCreal *v)
static void lcVertex3v (const LCreal *v)
static void lcColor3v (const LCreal *v)
static void lcColor4v (const LCreal *v)
static void lcMultMatrix (const LCreal *m)

Protected Member Functions

virtual bool onSetLineWidthEvent (const Basic::LcNumber *const msg)
virtual bool onSetFlashRateEvent (const Basic::LcNumber *const msg)
virtual bool onSetVisibilityEvent (const Basic::LcNumber *const msg)
virtual bool setSlotFlashRate (const Basic::LcNumber *const msg)
virtual bool setSlotLineWidth (const Basic::LcNumber *const msg)
virtual bool setSlotSelectName (const Basic::LcNumber *const msg)
virtual bool setSlotTransformList (Basic::LcPairStream *msg)
virtual bool setSlotSingleTransform (Basic::LcTransform *const msg)
virtual bool setSlotNoDisplayList (const Basic::LcNumber *const msg)
virtual bool setSlotSubcomponentsFirst (const Basic::LcNumber *const msg)
virtual bool setSlotVertices (const Basic::LcPairStream *const msg)
virtual bool setSlotNormals (const Basic::LcPairStream *const msg)
virtual bool setSlotTexCoord (const Basic::LcPairStream *const msg)
virtual bool setSlotTextureName (Basic::LcIdent *msg)
virtual bool setSlotScissorX (const Basic::LcNumber *const msg)
virtual bool setSlotScissorY (const Basic::LcNumber *const msg)
virtual bool setSlotScissorWidth (const Basic::LcNumber *const msg)
virtual bool setSlotScissorHeight (const Basic::LcNumber *const msg)
virtual bool setSlotStippling (const Basic::LcNumber *const msg)
virtual Basic::LcPairStreamprocessComponents (Basic::LcPairStream *const list, const std::type_info &filter, Basic::LcPair *const add=0, Basic::LcComponent *const remove=0)

Private Member Functions

void setupMatrix ()

Private Attributes

Basic::LcPairStreamtransforms
osg::Matrix m
osg::Matrix m1
bool haveMatrix
bool haveMatrix1
bool postDraw
GLuint texture
SPtr< Basic::LcIdenttexName
bool visible
GLfloat linewidth
GLuint selName
LCreal fRate
Basic::LcColorcolor
Basic::LcIdentcolorName
osg::Vec3 * vertices
unsigned int nv
osg::Vec2 * texCoord
unsigned int ntc
osg::Vec3 * norms
unsigned int nn
BasicGL::LcDisplaydisplayPtr
GLuint dlist
bool noDisplayList
LCreal scissorX
LCreal scissorY
LCreal scissorWidth
LCreal scissorHeight
bool stipple

Static Private Attributes

static LCreal fTimer
static GLuint autoSelName

Classes

class  LcExpInvalidDisplayPtr

Detailed Description

Base class for the graphic objects.  Provides list of vertices,
                 transformation matrix, color, linewidth, etc.
                 NOTE: LcGraphic objects REQUIRE a LcDisplay class to function.

    Form name: Graphic
    Slots:
       1. color             (Color)        Color
       1. color             (Ident)        Color by name
       2. linewidth         (Number)       Linewidth
       3. flashRate         (Number)       Flash rate
       4. transform         (PairStream)   List of coordinate transformations
       4. transform         (Transform)    Single coorinate transformation
       5. vertices          (PairStream)   List of 3D Coordinates (World coord)
       6. texCoord          (PairStream)   List of 2D Texture Coordinates
       7. noDisplayList     (Number)       Flag: True to disable display list
                                              (default false)
       8. subcomponentsFirst (Number)      Flag: Draw component graphics first
                                              (default: draw own graphics first)
       9. selectName        (Number)       GL Select Buffer name
                                              (see glPushName())  (unsigned integer)
      10. texture           (Ident)        Texture name
      11. scissorX          (Number)       Left edge of the scissor box (World coord)
      12. scissorY          (Number)       Bottom edge of the scissor box (World coord)
      13. scissorWidth      (Number)       How far over do we scissor (World coord)
      14. scissorHeight     (Number)       How far up do we scissor (World coord)

    Events:
       SET_COLOR         (Color)        Sets color
       SET_COLOR         (Ident)        Sets color by name
       SET_LINEWIDTH     (LcNumber)     Sets line width
       SET_FLASHRATE     (LcNumber)     Sets flash rate
       SET_VISIBILITY    (LcNumber)     Sets visibility flag
    


Constructor & Destructor Documentation

Eaagles::BasicGL::LcGraphic::LcGraphic (  ) 

Constructor. Initializes pointer to LcDisplay object to 0, sets the visibility of object to true, sets the color, texture, flash rate, vertices, texture co-ordinates, scissor parameters, transforms and default display to 0.


Member Function Documentation

LcDisplay * Eaagles::BasicGL::LcGraphic::getDisplay (  ) 

Returns a pointer to the display.

void Eaagles::BasicGL::LcGraphic::draw (  )  [virtual]

Draws the object and its components with the defined attributes (e.g., color, line width, transformation matrix).

Reimplemented in Eaagles::BasicGL::LcPage, Eaagles::BasicGL::Rotators, Eaagles::BasicGL::Translator, Eaagles::Instruments::LcRotarySwitch, Eaagles::Instruments::DialPointer, Eaagles::Instruments::GaugeSlider, Eaagles::Instruments::BearingPointer, Eaagles::Instruments::CompassRose, Eaagles::Instruments::PfdPage, and Eaagles::Instruments::SymbolLoader.

void Eaagles::BasicGL::LcGraphic::drawFunc (  )  [virtual]

User function to draw the object - this does the actual OpenGL drawing.

Reimplemented in Eaagles::BasicGL::LcField, Eaagles::BasicGL::LcPolygon, Eaagles::Instruments::LcButton, Eaagles::Instruments::AltitudeDial, Eaagles::Instruments::AnalogDial, Eaagles::Instruments::DialArcSegment, Eaagles::Instruments::DialTickMarks, Eaagles::Instruments::GMeterDial, Eaagles::Instruments::AnalogGauge, Eaagles::Instruments::DigitalAoaGauge, Eaagles::Instruments::GaugeSlider, Eaagles::Instruments::TapeGauge, Eaagles::Instruments::TickMarks, Eaagles::Instruments::LandingGear, Eaagles::Instruments::LandingLight, Eaagles::Instruments::BearingPointer, and Eaagles::MovingMap::MovingMapImage.

const osg::Vec3* Eaagles::BasicGL::LcGraphic::getVertices (  )  const [inline]

Returns the vertices.

unsigned int Eaagles::BasicGL::LcGraphic::getNumberOfVertices (  )  const [inline]

Returns the number of vertices.

bool Eaagles::BasicGL::LcGraphic::setVertices ( const osg::Vec3 *const   v,
const unsigned int  n 
)

Sets the vertices list.

const osg::Vec2* Eaagles::BasicGL::LcGraphic::getTextureCoord (  )  const [inline]

Texture Coordinates (at vertices).

unsigned int Eaagles::BasicGL::LcGraphic::getNumberOfTextureCoords (  )  const [inline]

Number of texture coordinates.

bool Eaagles::BasicGL::LcGraphic::setTextureCoord ( const osg::Vec2 *const   v,
const unsigned int  n 
)

Sets the list of texture coordinates.

const osg::Vec3* Eaagles::BasicGL::LcGraphic::getNormals (  )  const [inline]

Normals (at vertices).

unsigned int Eaagles::BasicGL::LcGraphic::getNumberOfNormals (  )  const [inline]

Number of Normals.

bool Eaagles::BasicGL::LcGraphic::setNormals ( const osg::Vec3 *const   v,
const unsigned int  n 
)

Sets the list of normal vectors.

bool Eaagles::BasicGL::LcGraphic::isVisible (  )  const [inline]

Checks the visibility attribute.

bool Eaagles::BasicGL::LcGraphic::setVisibility ( const bool  v  ) 

Sets the visibility attribute.

GLfloat Eaagles::BasicGL::LcGraphic::getLineWidth (  )  const [inline]

Gets the line width attribute.

bool Eaagles::BasicGL::LcGraphic::setLineWidth ( const GLfloat  v  ) 

Sets the line width attribute.

Basic::LcColor* Eaagles::BasicGL::LcGraphic::getColor (  )  [inline]

Returns the object's color attribute.

const Basic::LcColor* Eaagles::BasicGL::LcGraphic::getColor (  )  const [inline]

Gets the object's color attribute.

const Basic::LcIdent* Eaagles::BasicGL::LcGraphic::getColorName (  )  const [inline]

Gets the object's color attribute. LcIdent provides a color attribute that can be used to lookup the LcColor from the color table.

bool Eaagles::BasicGL::LcGraphic::setColor ( const Basic::LcColor *const  msg  )  [virtual]

Sets the object's color attribute.

bool Eaagles::BasicGL::LcGraphic::setColor ( const Basic::LcIdent *const  msg  )  [virtual]

Sets the object's color attribute. LcIdent provides a color attribute that can be used to lookup the LcColor from the color table.

bool Eaagles::BasicGL::LcGraphic::flashOn (  )  const

Flash control flip/flop. Flash is ON during odd half cycles. Calculate the number of half cycles from start using the flash control timer.

bool Eaagles::BasicGL::LcGraphic::flashOff (  )  const

Returns true if the flash control is OFF.

bool Eaagles::BasicGL::LcGraphic::isFlashing (  )  const [inline]

Returns true if the flash rate is greater than 0.0.

LCreal Eaagles::BasicGL::LcGraphic::getFlashRate (  )  const [inline]

Gets the flash rate attribute.

bool Eaagles::BasicGL::LcGraphic::setFlashRate ( const LCreal  r  ) 

Sets the flash rate attribute.

LCreal Eaagles::BasicGL::LcGraphic::flashTimer (  )  [static]

Returns the flash timer.

LCreal Eaagles::BasicGL::LcGraphic::flashTimer ( const LCreal  dt  )  [static]

Function to update the flash timer.

GLuint Eaagles::BasicGL::LcGraphic::getDisplayList (  )  const [inline]

Returns the display list.

bool Eaagles::BasicGL::LcGraphic::isDisplayListEnabled (  )  const [inline]

Returns true if the display list is enabled.

bool Eaagles::BasicGL::LcGraphic::isDisplayListDisabled (  )  const [inline]

Returns true if the display list is not enabled.

bool Eaagles::BasicGL::LcGraphic::setDisplayList ( const GLuint  v  ) 

Sets the display list to v and returns true.

bool Eaagles::BasicGL::LcGraphic::setDisableDisplayList ( const bool  flg  ) 

Disables display list if flg is true and returns true.

bool Eaagles::BasicGL::LcGraphic::matrixIsActive (  )  [inline]

Returns true if the object has an active matrix.

const osg::Matrix& Eaagles::BasicGL::LcGraphic::getMatrix (  )  const [inline]

Returns the transformation matrix.

void Eaagles::BasicGL::LcGraphic::lcRotate ( const LCreal  a  )  [inline]

Rotate by 'a' radians about z axis.

void Eaagles::BasicGL::LcGraphic::lcRotate ( const LCreal  x,
const LCreal  y,
const LCreal  z,
const LCreal  a 
) [inline]

Rotate by 'a' radians about the (x, y, z) vector.

void Eaagles::BasicGL::LcGraphic::lcTranslate ( const LCreal  x,
const LCreal  y 
) [inline]

Translate x and y.

void Eaagles::BasicGL::LcGraphic::lcTranslate ( const LCreal  x,
const LCreal  y,
const LCreal  z 
) [inline]

Translate x, y and z.

void Eaagles::BasicGL::LcGraphic::lcScale ( const LCreal  s  )  [inline]

Scale by s.

void Eaagles::BasicGL::LcGraphic::lcScale ( const LCreal  sx,
const LCreal  sy 
) [inline]

Scale by sx, sy.

void Eaagles::BasicGL::LcGraphic::lcColor ( Basic::LcColor  )  [inline]

Sets the color attribute.

void Eaagles::BasicGL::LcGraphic::lcSaveMatrix (  )  [inline]

Saves the transformation matrix.

void Eaagles::BasicGL::LcGraphic::lcRestoreMatrix (  )  [inline]

Restores the matrix.

bool Eaagles::BasicGL::LcGraphic::hasTexture (  )  const [inline]

Returns true if a texture is present.

GLuint Eaagles::BasicGL::LcGraphic::getTexture (  )  const [inline]

Returns the texture.

bool Eaagles::BasicGL::LcGraphic::setTextureName ( const char *  newName  ) 

Sets the name of the texture on the fly.

GLfloat Eaagles::BasicGL::LcGraphic::getStdLineWidth (  ) 

Returns the standard line width.

bool Eaagles::BasicGL::LcGraphic::haveScissorBoxHave (  )  const [inline]

Returns true if the scissor box has a height and width both greater than 0.

LCreal Eaagles::BasicGL::LcGraphic::getScissorX (  )  const [inline]

Returns scissor x value.

LCreal Eaagles::BasicGL::LcGraphic::getScissorWidth (  )  const [inline]

Returns scissor width.

LCreal Eaagles::BasicGL::LcGraphic::getScissorY (  )  const [inline]

Returns scissor y value.

LCreal Eaagles::BasicGL::LcGraphic::getScissorHeight (  )  const [inline]

Returns the scissor height.

bool Eaagles::BasicGL::LcGraphic::setScissorX ( const LCreal  newX  ) 

Sets the scissor x value.

bool Eaagles::BasicGL::LcGraphic::setScissorWidth ( const LCreal  newWidth  ) 

Sets the scissor width.

bool Eaagles::BasicGL::LcGraphic::setScissorY ( const LCreal  newY  ) 

Sets the scissor y value.

bool Eaagles::BasicGL::LcGraphic::setScissorHeight ( const LCreal  newHeight  ) 

Sets the scissor height.

bool Eaagles::BasicGL::LcGraphic::isStippling (  )  [inline]

Returns the value of stipple flag.

bool Eaagles::BasicGL::LcGraphic::setStippling ( const bool  x  ) 

Sets the value of stipple flag.

GLuint Eaagles::BasicGL::LcGraphic::getSelectName (  )  const [inline]

Gets the GL SELECT name returns true. Refer to glPushName().

bool Eaagles::BasicGL::LcGraphic::setSelectName ( const GLuint  v  ) 

Sets the GL SELECT name returns true. Refer to glPushName().

Basic::LcPair * Eaagles::BasicGL::LcGraphic::findBySelectName ( const GLuint  name  )  [virtual]

Finds (and returns) a component by its GL Select (pick) name. (Children first, then grandchildren.).

Reimplemented in Eaagles::BasicGL::LcPage.

bool Eaagles::BasicGL::LcGraphic::isPostDrawComponents (  )  const [inline]

Returns the value of the flag for post draw (child) graphic.

bool Eaagles::BasicGL::LcGraphic::cursor ( int *  ln,
int *  cp 
) const [virtual]

Sets the cursor at (ln, cp) - line, column.

Reimplemented in Eaagles::BasicGL::LcField.

GLuint Eaagles::BasicGL::LcGraphic::getNewSelectName (  )  [inline, static]

Returns new select name.

bool Eaagles::BasicGL::LcGraphic::clipLine2D ( osg::Vec2 *  ep1,
osg::Vec2 *  ep2,
const LCreal  minX,
const LCreal  maxX,
const LCreal  minY,
const LCreal  maxY 
) [static]

General purpose 2D line clipping function. Clips the line defined by two endpoints (ep1 and ep2) against a 2D clip box. Returns true if all or part of the original line is within the clip box. Returns false if the original line is outside of the clip box, and therefore the endpoints are not changed. The parameters minX and minY are the clip box minimum values for X and Y; maxX, maxY are the clip box maximum values for X and Y respectively.

static void Eaagles::BasicGL::LcGraphic::lcVertex2v ( const LCreal v  )  [inline, static]

Functions for native LCreal resolutions.

static void Eaagles::BasicGL::LcGraphic::lcVertex3v ( const LCreal v  )  [inline, static]

static void Eaagles::BasicGL::LcGraphic::lcColor3v ( const LCreal v  )  [inline, static]

static void Eaagles::BasicGL::LcGraphic::lcColor4v ( const LCreal v  )  [inline, static]

static void Eaagles::BasicGL::LcGraphic::lcMultMatrix ( const LCreal m  )  [inline, static]

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

Event function for the LcComponent interface.

Reimplemented in Eaagles::BasicGL::LcDisplay, Eaagles::BasicGL::LcField, Eaagles::BasicGL::LcPage, and Eaagles::BasicGL::Translator.

bool Eaagles::BasicGL::LcGraphic::onSetLineWidthEvent ( const Basic::LcNumber *const  msg  )  [protected, virtual]

Event handler for the SET_LINEWIDTH event.

bool Eaagles::BasicGL::LcGraphic::onSetFlashRateEvent ( const Basic::LcNumber *const  msg  )  [protected, virtual]

Event handler for the SET_FLASHRATE event.

bool Eaagles::BasicGL::LcGraphic::onSetVisibilityEvent ( const Basic::LcNumber *const  msg  )  [protected, virtual]

Event handler for the SET_VISIBILITY event.

bool Eaagles::BasicGL::LcGraphic::setSlotFlashRate ( const Basic::LcNumber *const  msg  )  [protected, virtual]

Sets the flash rate in the slot table.

bool Eaagles::BasicGL::LcGraphic::setSlotLineWidth ( const Basic::LcNumber *const  msg  )  [protected, virtual]

Sets the line width in slot table.

bool Eaagles::BasicGL::LcGraphic::setSlotSelectName ( const Basic::LcNumber *const  msg  )  [protected, virtual]

Sets the select name in the slot table.

bool Eaagles::BasicGL::LcGraphic::setSlotTransformList ( Basic::LcPairStream msg  )  [protected, virtual]

Sets the transformation list in the slot table.

bool Eaagles::BasicGL::LcGraphic::setSlotSingleTransform ( Basic::LcTransform *const   msg  )  [protected, virtual]

Makes a list out of a single Basic::LcTransform.

bool Eaagles::BasicGL::LcGraphic::setSlotNoDisplayList ( const Basic::LcNumber *const  msg  )  [protected, virtual]

True to disable display list (default false).

bool Eaagles::BasicGL::LcGraphic::setSlotSubcomponentsFirst ( const Basic::LcNumber *const  msg  )  [protected, virtual]

Draw component graphics first (default: draw own graphics first).

bool Eaagles::BasicGL::LcGraphic::setSlotVertices ( const Basic::LcPairStream *const  msg  )  [protected, virtual]

Sets the vertices of a graphic object. Example vertices: { [ 1 2 3 ] [ 4 5 6 ] [ 7 8 9 ] }.

bool Eaagles::BasicGL::LcGraphic::setSlotNormals ( const Basic::LcPairStream *const  msg  )  [protected, virtual]

Sets the normals of the vertices of the graphic object. Example normals: { [ 1 2 3 ] [ 4 5 6 ] [ 7 8 9 ] }.

bool Eaagles::BasicGL::LcGraphic::setSlotTexCoord ( const Basic::LcPairStream *const  msg  )  [protected, virtual]

Sets the vertices of a graphic object. Example texCoord: { [ 1 2 ] [ 4 5 ] [ 7 8 ] }.

bool Eaagles::BasicGL::LcGraphic::setSlotTextureName ( Basic::LcIdent msg  )  [protected, virtual]

Sets the name of the texture.

bool Eaagles::BasicGL::LcGraphic::setSlotScissorX ( const Basic::LcNumber *const  msg  )  [protected, virtual]

Sets the x point for scissoring.

bool Eaagles::BasicGL::LcGraphic::setSlotScissorY ( const Basic::LcNumber *const  msg  )  [protected, virtual]

Sets the y point for scissoring.

bool Eaagles::BasicGL::LcGraphic::setSlotScissorWidth ( const Basic::LcNumber *const  msg  )  [protected, virtual]

Sets how far out we are going to scissor horizontally.

bool Eaagles::BasicGL::LcGraphic::setSlotScissorHeight ( const Basic::LcNumber *const  msg  )  [protected, virtual]

Sets how far out we are going to scissor vertically.

bool Eaagles::BasicGL::LcGraphic::setSlotStippling ( const Basic::LcNumber *const  msg  )  [protected, virtual]

Sets the stipple boolean value.

Basic::LcPairStream * Eaagles::BasicGL::LcGraphic::processComponents ( Basic::LcPairStream *const   list,
const std::type_info &  filter,
Basic::LcPair *const  add = 0,
Basic::LcComponent *const   remove = 0 
) [protected, virtual]

Process the subcomponent list which should be other LcGraphics. The parameter list represents source list of components, filter represents type filter, add represents optional pair to add, remove represents optional subcomponent to remove.

Reimplemented from Eaagles::Basic::LcComponent.

void Eaagles::BasicGL::LcGraphic::setupMatrix (  )  [private]

setup the transformation matrix based on the list of transforms


Member Data Documentation

Basic::LcPairStream* Eaagles::BasicGL::LcGraphic::transforms [private]

transformations

osg::Matrix Eaagles::BasicGL::LcGraphic::m [private]

transformation matrix

osg::Matrix Eaagles::BasicGL::LcGraphic::m1 [private]

saved transformation matrix

bool Eaagles::BasicGL::LcGraphic::haveMatrix [private]

Have a transformation matrix flag.

bool Eaagles::BasicGL::LcGraphic::haveMatrix1 [private]

saved 'haveMatrix'

bool Eaagles::BasicGL::LcGraphic::postDraw [private]

Post draw component (child) graphic.

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

Texture.

Reimplemented in Eaagles::BasicGL::LcDisplay.

SPtr<Basic::LcIdent> Eaagles::BasicGL::LcGraphic::texName [private]

Texture name.

bool Eaagles::BasicGL::LcGraphic::visible [private]

True if this object is visible.

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

Linewidth.

Reimplemented in Eaagles::BasicGL::LcDisplay.

GLuint Eaagles::BasicGL::LcGraphic::selName [private]

Select name.

LCreal Eaagles::BasicGL::LcGraphic::fRate [private]

Flash rate.

Basic::LcColor* Eaagles::BasicGL::LcGraphic::color [private]

Color.

Reimplemented in Eaagles::BasicGL::LcDisplay.

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

Color name (if from color table).

Reimplemented in Eaagles::BasicGL::LcDisplay.

osg::Vec3* Eaagles::BasicGL::LcGraphic::vertices [private]

Vertices.

unsigned int Eaagles::BasicGL::LcGraphic::nv [private]

Number of vertices.

osg::Vec2* Eaagles::BasicGL::LcGraphic::texCoord [private]

Texture Coordinates.

unsigned int Eaagles::BasicGL::LcGraphic::ntc [private]

Number of texture coordinates.

osg::Vec3* Eaagles::BasicGL::LcGraphic::norms [private]

normals at each vertices

unsigned int Eaagles::BasicGL::LcGraphic::nn [private]

number of normal vectors

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

Points to our LcDisplay.

GLuint Eaagles::BasicGL::LcGraphic::dlist [private]

Possible Display list.

bool Eaagles::BasicGL::LcGraphic::noDisplayList [private]

True to disable Display List.

LCreal Eaagles::BasicGL::LcGraphic::scissorX [private]

Left edge of the scissor box.

LCreal Eaagles::BasicGL::LcGraphic::scissorY [private]

Bottom edge of the scissor box.

LCreal Eaagles::BasicGL::LcGraphic::scissorWidth [private]

How far to extend the scissor horizontally.

LCreal Eaagles::BasicGL::LcGraphic::scissorHeight [private]

How far to extend the scissor vertically.

LCreal Eaagles::BasicGL::LcGraphic::fTimer [static, private]

Flash control timer.

GLuint Eaagles::BasicGL::LcGraphic::autoSelName [static, private]

Automatic select name counter.

bool Eaagles::BasicGL::LcGraphic::stipple [private]

Stipple flag (line, lineloop, circle (not filled).


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