X11Renderer Class Reference

#include <X11Renderer.h>

Inheritance diagram for X11Renderer:

Renderer List of all members.

Public Member Functions

 X11Renderer (const char *title, int xLoc, int yLoc, int width, int height, ColorMap &theMap)
 X11Renderer (const char *title, int xLoc, int yLoc, int width, int height, ColorMap &theMap, const char *fileName)
virtual ~X11Renderer ()
virtual int clearImage (void)
virtual int startImage (void)
virtual int doneImage (void)
virtual int drawPoint (const Vector &, float V1, int width=1)
virtual int drawPoint (const Vector &, const Vector &rgb1, int width=1)
virtual int drawLine (const Vector &, const Vector &, float V1, float V2, int width=1, int style=1)
virtual int drawLine (const Vector &end1, const Vector &end2, const Vector &rgb1, const Vector &rgb2, int width=1, int style=1)
virtual int drawPolygon (const Matrix &points, const Vector &values)
virtual int drawPolygon (const Matrix &points, const Matrix &rgbValues)
virtual int setVRP (float x, float y, float z)
virtual int setVPN (float x, float y, float z)
virtual int setVUP (float x, float y, float z)
virtual int setViewWindow (float, float, float, float)
virtual int setPlaneDist (float, float)
virtual int setProjectionMode (const char *mode)
virtual int setFillMode (const char *)
virtual int setPRP (float u, float v, float n)
virtual int setPortWindow (float, float, float, float)
virtual int drawText (const Vector &posGlobal, char *string, int length, char horizontalJustify= 'l', char verticalJustify= 'b')

Protected Member Functions

int displayFace (FACE &)

Protected Attributes

ViewtheView
ProjectiontheProjection
ClippingtheClipping
ViewporttheViewport
ScanLineConvertertheScan
DevicetheDevice

Detailed Description

Definition at line 54 of file X11Renderer.h.


Constructor & Destructor Documentation

X11Renderer::X11Renderer ( const char *  title,
int  xLoc,
int  yLoc,
int  width,
int  height,
ColorMap theMap 
)

X11Renderer::X11Renderer ( const char *  title,
int  xLoc,
int  yLoc,
int  width,
int  height,
ColorMap theMap,
const char *  fileName 
)

X11Renderer::~X11Renderer (  )  [virtual]

Definition at line 122 of file X11Renderer.cpp.

References theClipping, theDevice, theProjection, theScan, theView, and theViewport.


Member Function Documentation

int X11Renderer::clearImage ( void   )  [virtual]

Implements Renderer.

Definition at line 140 of file X11Renderer.cpp.

References Device::CLEAR(), and theDevice.

int X11Renderer::doneImage ( void   )  [virtual]

Implements Renderer.

Definition at line 175 of file X11Renderer.cpp.

References Device::ENDIMAGE(), and theDevice.

int X11Renderer::drawPoint ( const Vector ,
float  V1,
int  width = 1 
) [virtual]

int X11Renderer::drawPoint ( const Vector ,
const Vector rgb1,
int  width = 1 
) [virtual]

Implements Renderer.

Definition at line 204 of file X11Renderer.cpp.

References endln.

int X11Renderer::drawLine ( const Vector ,
const Vector ,
float  V1,
float  V2,
int  width = 1,
int  style = 1 
) [virtual]

int X11Renderer::drawLine ( const Vector end1,
const Vector end2,
const Vector rgb1,
const Vector rgb2,
int  width = 1,
int  style = 1 
) [virtual]

int X11Renderer::drawPolygon ( const Matrix points,
const Matrix rgbValues 
) [virtual]

int X11Renderer::setVRP ( float  x,
float  y,
float  z 
) [virtual]

Implements Renderer.

Definition at line 597 of file X11Renderer.cpp.

References theView, and View::vrp.

int X11Renderer::setVPN ( float  x,
float  y,
float  z 
) [virtual]

Implements Renderer.

Definition at line 607 of file X11Renderer.cpp.

References theView, and View::vpn.

int X11Renderer::setVUP ( float  x,
float  y,
float  z 
) [virtual]

Implements Renderer.

Definition at line 617 of file X11Renderer.cpp.

References theView, and View::vuv.

int X11Renderer::setViewWindow ( float  ,
float  ,
float  ,
float   
) [virtual]

Implements Renderer.

Definition at line 627 of file X11Renderer.cpp.

References endln, opserr, theProjection, and Projection::vpwindow.

int X11Renderer::setPlaneDist ( float  ,
float   
) [virtual]

Implements Renderer.

Definition at line 644 of file X11Renderer.cpp.

References endln, opserr, Projection::planedist, and theProjection.

int X11Renderer::setProjectionMode ( const char *  mode  )  [virtual]

Implements Renderer.

Definition at line 660 of file X11Renderer.cpp.

References PARALLEL_MODE, Projection::projection_mode, and theProjection.

int X11Renderer::setFillMode ( const char *   )  [virtual]

Implements Renderer.

Definition at line 672 of file X11Renderer.cpp.

References FILL_MODE, ScanLineConverter::setFillMode(), theScan, and WIRE_MODE.

int X11Renderer::setPRP ( float  u,
float  v,
float  n 
) [virtual]

Implements Renderer.

Definition at line 686 of file X11Renderer.cpp.

References Projection::cop, and theProjection.

int X11Renderer::setPortWindow ( float  ,
float  ,
float  ,
float   
) [virtual]

Implements Renderer.

Definition at line 695 of file X11Renderer.cpp.

References endln, opserr, Viewport::portwindow, and theViewport.

int X11Renderer::drawText ( const Vector posGlobal,
char *  string,
int  length,
char  horizontalJustify = 'l',
char  verticalJustify = 'b' 
) [virtual]

int X11Renderer::displayFace ( FACE &   )  [protected]


Member Data Documentation


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