Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
X11Renderer Class Reference#include <X11Renderer.h>
Inheritance diagram for X11Renderer::
List of all members.
Public Methods |
| X11Renderer (char *title, int xLoc, int yLoc, int width, int height, ColorMap &theMap) |
| X11Renderer (char *title, int xLoc, int yLoc, int width, int height, ColorMap &theMap, char *fileName) |
virtual | ~X11Renderer () |
virtual int | clearImage (void) |
| method to clear the current image. More...
|
virtual int | startImage (void) |
| methods to be invoked when image processing is to start or is finished. More...
|
virtual int | doneImage (void) |
virtual int | drawPoint (const Vector &, float V1, int width=1) |
| methods invoked by the objects to display themselves. More...
|
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) |
| the following are in world coordinates & define view coord system. More...
|
virtual int | setVPN (float x, float y, float z) |
| point on view plane. More...
|
virtual int | setVUP (float x, float y, float z) |
| view plane normal. More...
|
virtual int | setViewWindow (float, float, float, float) |
| the following are in view coordinates. More...
|
virtual int | setPlaneDist (float, float) |
| umin, umax, vmin, vmax. More...
|
virtual int | setProjectionMode (char *mode) |
| near and far clipping planes. More...
|
virtual int | setFillMode (char *) |
| parallel or perspective. More...
|
virtual int | setPRP (float u, float v, float n) |
| 1 = wire, otherwise fill. More...
|
virtual int | setPortWindow (float, float, float, float) |
| the following are in normalized coordinates. More...
|
virtual int | drawText (const Vector &posGlobal, char *string, int length, char horizontalJustify='l', char verticalJustify='b') |
| left, right, bottom, top [-1,1,-1,1]. More...
|
Protected Methods |
int | displayFace (FACE &) |
Protected Attributes |
View* | theView |
Projection* | theProjection |
Clipping* | theClipping |
Viewport* | theViewport |
ScanLineConverter* | theScan |
Device* | theDevice |
Constructor & Destructor Documentation
X11Renderer::X11Renderer (
|
char * title,
|
|
int xLoc,
|
|
int yLoc,
|
|
int width,
|
|
int height,
|
|
ColorMap & theMap )
|
|
X11Renderer::X11Renderer (
|
char * title,
|
|
int xLoc,
|
|
int yLoc,
|
|
int width,
|
|
int height,
|
|
ColorMap & theMap,
|
|
char * fileName )
|
|
X11Renderer::~X11Renderer (
|
) [virtual]
|
|
Member Function Documentation
int X11Renderer::clearImage (
|
void ) [virtual]
|
|
int X11Renderer::displayFace (
|
FACE & theFace ) [protected]
|
|
int X11Renderer::doneImage (
|
void ) [virtual]
|
|
|
Invoked at the end of {displayModel()}, when the image is finished and ready to be displayed.
Reimplemented from Renderer.
Definition at line 168 of file X11Renderer.cpp. |
int X11Renderer::drawLine (
|
const Vector & end1,
|
|
const Vector & end2,
|
|
const Vector & rgb1,
|
|
const Vector & rgb2,
|
|
int width = 1,
|
|
int style = 1 ) [virtual]
|
|
int X11Renderer::drawLine (
|
const Vector & pos1,
|
|
const Vector & pos2,
|
|
float V1,
|
|
float V2,
|
|
int width = 1,
|
|
int style = 1 ) [virtual]
|
|
int X11Renderer::drawPoint (
|
const Vector & pos1,
|
|
const Vector & rgb1,
|
|
int width = 1 ) [virtual]
|
|
int X11Renderer::drawPoint (
|
const Vector & pos1,
|
|
float V1,
|
|
int width = 1 ) [virtual]
|
|
|
methods invoked by the objects to display themselves.
Reimplemented from Renderer.
Definition at line 180 of file X11Renderer.cpp. |
int X11Renderer::drawPolygon (
|
const Matrix & points,
|
|
const Matrix & rgbValues ) [virtual]
|
|
int X11Renderer::drawPolygon (
|
const Matrix & points,
|
|
const Vector & values ) [virtual]
|
|
int X11Renderer::drawText (
|
const Vector & posGlobal,
|
|
char * string,
|
|
int length,
|
|
char horizontalJustify = 'l',
|
|
char verticalJustify = 'b' ) [virtual]
|
|
int X11Renderer::setFillMode (
|
char * newMode ) [virtual]
|
|
int X11Renderer::setPRP (
|
float u,
|
|
float v,
|
|
float n ) [virtual]
|
|
int X11Renderer::setPlaneDist (
|
float anear,
|
|
float afar ) [virtual]
|
|
int X11Renderer::setPortWindow (
|
float left,
|
|
float right,
|
|
float bottom,
|
|
float top ) [virtual]
|
|
int X11Renderer::setProjectionMode (
|
char * mode ) [virtual]
|
|
int X11Renderer::setVPN (
|
float x,
|
|
float y,
|
|
float z ) [virtual]
|
|
int X11Renderer::setVRP (
|
float x,
|
|
float y,
|
|
float z ) [virtual]
|
|
|
the following are in world coordinates & define view coord system.
Reimplemented from Renderer.
Definition at line 590 of file X11Renderer.cpp. |
int X11Renderer::setVUP (
|
float x,
|
|
float y,
|
|
float z ) [virtual]
|
|
int X11Renderer::setViewWindow (
|
float umin,
|
|
float umax,
|
|
float vmin,
|
|
float vmax ) [virtual]
|
|
int X11Renderer::startImage (
|
void ) [virtual]
|
|
|
methods to be invoked when image processing is to start or is finished.
Reimplemented from Renderer.
Definition at line 140 of file X11Renderer.cpp. |
Member Data Documentation
Clipping * X11Renderer::theClipping [protected]
|
|
Device * X11Renderer::theDevice [protected]
|
|
Projection * X11Renderer::theProjection [protected]
|
|
ScanLineConverter * X11Renderer::theScan [protected]
|
|
View * X11Renderer::theView [protected]
|
|
Viewport * X11Renderer::theViewport [protected]
|
|
The documentation for this class was generated from the following files:
|