WindowDevice Class Reference

#include <WindowDevice.h>

Inheritance diagram for WindowDevice:

Device List of all members.

Public Member Functions

 WindowDevice ()
 ~WindowDevice ()
virtual void V2F (float x, float y)
virtual void C3F (float r, float g, float b)
virtual int GetWidth ()
virtual int GetHeight ()
virtual void BGNPOLYGON ()
virtual void ENDPOLYGON ()
virtual void BGNCLOSEDLINE ()
virtual void ENDCLOSEDLINE ()
virtual void BGNPOINT ()
virtual void ENDPOINT ()
virtual void drawText (float x, float y, char *text, int length)
virtual void STARTIMAGE ()
virtual void ENDIMAGE ()
virtual void WINOPEN (const char *title, int xLoc, int yLoc, int width, int height)
virtual void CLEAR ()

Detailed Description

Definition at line 46 of file WindowDevice.h.


Constructor & Destructor Documentation

WindowDevice::WindowDevice (  ) 

Definition at line 299 of file WindowDevice.cpp.

WindowDevice::~WindowDevice (  ) 

Definition at line 317 of file WindowDevice.cpp.

References oglDestroyWindow().


Member Function Documentation

void WindowDevice::V2F ( float  x,
float  y 
) [virtual]

Implements Device.

Definition at line 554 of file WindowDevice.cpp.

References endln, int(), MAX_NUM_POINTS_FOR_POLYGON, and opserr.

void WindowDevice::C3F ( float  r,
float  g,
float  b 
) [virtual]

Implements Device.

Definition at line 518 of file WindowDevice.cpp.

References endln, int(), and opserr.

int WindowDevice::GetWidth (  )  [virtual]

Implements Device.

Definition at line 691 of file WindowDevice.cpp.

int WindowDevice::GetHeight (  )  [virtual]

Implements Device.

Definition at line 714 of file WindowDevice.cpp.

void WindowDevice::BGNPOLYGON (  )  [virtual]

Implements Device.

Definition at line 617 of file WindowDevice.cpp.

void WindowDevice::ENDPOLYGON (  )  [virtual]

Implements Device.

Definition at line 624 of file WindowDevice.cpp.

void WindowDevice::BGNCLOSEDLINE (  )  [virtual]

Implements Device.

Definition at line 637 of file WindowDevice.cpp.

void WindowDevice::ENDCLOSEDLINE (  )  [virtual]

Implements Device.

Definition at line 649 of file WindowDevice.cpp.

void WindowDevice::BGNPOINT (  )  [virtual]

Implements Device.

Definition at line 664 of file WindowDevice.cpp.

void WindowDevice::ENDPOINT (  )  [virtual]

Implements Device.

Definition at line 670 of file WindowDevice.cpp.

void WindowDevice::drawText ( float  x,
float  y,
char *  text,
int  length 
) [virtual]

Implements Device.

Definition at line 679 of file WindowDevice.cpp.

void WindowDevice::STARTIMAGE (  )  [virtual]

Implements Device.

Definition at line 598 of file WindowDevice.cpp.

References XFlush.

void WindowDevice::ENDIMAGE (  )  [virtual]

Implements Device.

Definition at line 581 of file WindowDevice.cpp.

References XFlush.

void WindowDevice::WINOPEN ( const char *  title,
int  xLoc,
int  yLoc,
int  width,
int  height 
) [virtual]

Implements Device.

Definition at line 346 of file WindowDevice.cpp.

References exit(), oglCreateWindow(), oglDestroyWindow(), opserr, and XFlush.

void WindowDevice::CLEAR (  )  [virtual]

Implements Device.

Definition at line 502 of file WindowDevice.cpp.

References XFlush.


The documentation for this class was generated from the following files:

Generated on Mon Oct 23 15:05:51 2006 for OpenSees by doxygen 1.5.0