OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

GLstream Class Reference

Inheritance diagram for GLstream:

Inheritance graph
[legend]
Collaboration diagram for GLstream:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 70 of file GLstream.H.


Public Member Functions

 GLstream (const word &, const colour &, const colour &, double, double, double=0.5, double=0.5, int widthX=800, int widthY=800)
 ~GLstream ()
int waitForEvent ()
 Wait for any keypress then return true.
int waitForEvent (GEvent &)
 Wait for any keypress then return true.
virtual void setColour (const colour &)
virtual void setLineStyle (const lineStyle &)
virtual void clear ()
virtual void draw (const line2D &)
virtual void draw (const rectangle2D &)
virtual void draw (const polygon2D &)
virtual void draw (const string2D &)
virtual void draw (const structuredScalars2D &)

Friends

colour structuredScalars2D::newColour (const scalar &) const

Constructor & Destructor Documentation

GLstream ( const word &  ,
const colour &  ,
const colour &  ,
double  ,
double  ,
double  = 0.5,
double  = 0.5,
int  widthX = 800,
int  widthY = 800 
)

~GLstream (  ) 


Member Function Documentation

int waitForEvent (  )  [inline]

Wait for any keypress then return true.

Definition at line 65 of file GLstreamI.H.

int waitForEvent ( GEvent &   ) 

Wait for any keypress then return true.

virtual void setColour ( const colour &   )  [virtual]

Implements Gstream.

virtual void setLineStyle ( const lineStyle &   )  [virtual]

Implements Gstream.

virtual void clear (  )  [virtual]

Implements Gstream.

virtual void draw ( const line2D &   )  [virtual]

Implements Gstream.

virtual void draw ( const rectangle2D &   )  [virtual]

Implements Gstream.

virtual void draw ( const polygon2D &   )  [virtual]

Implements Gstream.

virtual void draw ( const string2D &   )  [virtual]

Implements Gstream.

virtual void draw ( const structuredScalars2D &   )  [virtual]

Implements Gstream.


Friends And Related Function Documentation

colour structuredScalars2D::newColour ( const scalar &   )  const [friend]


The documentation for this class was generated from the following files: Copyright © 2000-2007 OpenCFD Ltd