XGeo Class Reference

#include <xgeo.h>

Inheritance diagram for XGeo:

Organizer SCParser

List of all members.

Public Member Functions

 XGeo ()
virtual ~XGeo ()
virtual void initvars ()
virtual void initparser ()
virtual int exec (char *name)
int openwindow (int w, int h, const char *n)
void closewindow ()
virtual void openwin ()
virtual void plot ()
void wintogglepause ()
void alloccolors ()
void rotate ()
void saverot ()

Public Attributes

double geo_box [3][4]
double geo_line [7 *MAXGEOOBJ+5]
double geo_plane [7 *MAXGEOOBJ+5]
int geo_xpoint [3 *MAXGEOOBJ+3]
int geo_xline [3 *MAXGEOOBJ+3]
double geo_vector [8 *MAXGEOOBJ+3]
class YWindowwin
int win_width
int win_height
double pointradius
char geo_box_color [30]
char geo_line_color [30]
char geo_plane_color [30]
char geo_vector_color [30]
char geo_xpoint_color [30]
char geo_xline_color [30]
char backgroundcolor [30]
unsigned colors [10]

Private Member Functions

void drawBox ()
void drawLines ()
void drawPlanes ()
void drawXpoints ()
void drawXlines ()
void drawVectors ()
bool getlineendpoints (Vector3 &, Vector3 &, Vector3 &, Vector3 &)
bool getxline (Vector3 &, Vector3 &, Vector3 &, Vector3 &, Vector3 &, Vector3 &)
bool getxpoint (Vector3 &, Vector3 &, Vector3 &, Vector3 &, Vector3 &)

Private Attributes

double L
Matrix33 _H
Matrix33 _RV


Detailed Description

Definition at line 15 of file xgeo.h.


Constructor & Destructor Documentation

XGeo::XGeo (  )  [inline]

Definition at line 40 of file xgeo.h.

virtual XGeo::~XGeo (  )  [inline, virtual]

Definition at line 41 of file xgeo.h.


Member Function Documentation

void XGeo::alloccolors (  ) 

void XGeo::closewindow (  ) 

Definition at line 135 of file xgeo.cpp.

References win.

void XGeo::drawBox (  )  [private]

Definition at line 154 of file xgeo.cpp.

References _Geo_DoDraw, _H, _RV, geo_box, Matrix33::inv(), L, Vector3::norm(), Vector3::set(), and Matrix33::setcol().

Referenced by plot().

void XGeo::drawLines (  )  [private]

Definition at line 197 of file xgeo.cpp.

References _RV, colors, SYWindow::DrawLine(), geo_line, getlineendpoints(), int(), Vector3::set(), and win.

Referenced by plot().

void XGeo::drawPlanes (  )  [private]

Definition at line 348 of file xgeo.cpp.

References colors, geo_plane, int(), Vector3::set(), and testendline.

Referenced by plot().

void XGeo::drawVectors (  )  [private]

Definition at line 215 of file xgeo.cpp.

References _H, _RV, colors, SYWindow::DrawLine(), geo_vector, int(), L, Vector3::norm(), Vector3::set(), and win.

Referenced by plot().

void XGeo::drawXlines (  )  [private]

Definition at line 446 of file xgeo.cpp.

References _RV, colors, SYWindow::DrawLine(), geo_plane, geo_xline, getlineendpoints(), getxline(), int(), Vector3::set(), and win.

Referenced by plot().

void XGeo::drawXpoints (  )  [private]

Definition at line 414 of file xgeo.cpp.

References _RV, colors, SYWindow::DrawPoint(), geo_line, geo_plane, geo_xpoint, getxpoint(), int(), L, pointradius, Vector3::set(), and win.

Referenced by plot().

int XGeo::exec ( char *  name  )  [virtual]

Reimplemented from Organizer.

Definition at line 37 of file xgeo.cpp.

References alloccolors(), bindcommand, Organizer::exec(), openwin(), and plot().

bool XGeo::getlineendpoints ( Vector3 dl,
Vector3 sr0,
Vector3 r1,
Vector3 r2 
) [private]

Definition at line 236 of file xgeo.cpp.

References _H, Vector3::clear(), Matrix33::inv(), Vector3::norm2(), and testendpoint.

Referenced by drawLines(), and drawXlines().

bool XGeo::getxline ( Vector3 dn1,
Vector3 sr1,
Vector3 dn2,
Vector3 sr2,
Vector3 dl,
Vector3 sr 
) [private]

Definition at line 317 of file xgeo.cpp.

References _H, A, Vector3::clear(), Matrix33::inv(), Vector3::norm2(), and Matrix33::setcol().

Referenced by drawXlines().

bool XGeo::getxpoint ( Vector3 dl1,
Vector3 sr1,
Vector3 dn2,
Vector3 sr2,
Vector3 r 
) [private]

Definition at line 387 of file xgeo.cpp.

References _H, and Vector3::clear().

Referenced by drawXpoints().

void XGeo::initparser (  )  [virtual]

void XGeo::initvars (  )  [virtual]

Definition at line 32 of file xgeo.cpp.

References initparser().

void XGeo::openwin (  )  [virtual]

Definition at line 115 of file xgeo.cpp.

References alloccolors(), Organizer::dirname, openwindow(), win_height, and win_width.

Referenced by exec().

int XGeo::openwindow ( int  w,
int  h,
const char *  n 
)

Definition at line 121 of file xgeo.cpp.

References SYWindow::alive, NULL, SYWindow::Run(), SYWindow::setinterval(), and win.

Referenced by openwin().

void XGeo::plot (  )  [virtual]

void XGeo::rotate (  ) 

void XGeo::saverot (  ) 

void XGeo::wintogglepause (  ) 


Member Data Documentation

Matrix33 XGeo::_H [private]

Definition at line 36 of file xgeo.h.

Referenced by drawBox(), drawVectors(), getlineendpoints(), getxline(), and getxpoint().

Matrix33 XGeo::_RV [private]

Definition at line 36 of file xgeo.h.

Referenced by drawBox(), drawLines(), drawVectors(), drawXlines(), and drawXpoints().

Definition at line 31 of file xgeo.h.

Referenced by alloccolors(), and initparser().

unsigned XGeo::colors[10]

Definition at line 32 of file xgeo.h.

Referenced by alloccolors(), drawLines(), drawPlanes(), drawVectors(), drawXlines(), and drawXpoints().

double XGeo::geo_box[3][4]

Definition at line 18 of file xgeo.h.

Referenced by drawBox(), and initparser().

Definition at line 29 of file xgeo.h.

Referenced by alloccolors(), and initparser().

double XGeo::geo_line[7 *MAXGEOOBJ+5]

Definition at line 19 of file xgeo.h.

Referenced by drawLines(), drawXpoints(), and initparser().

Definition at line 29 of file xgeo.h.

Referenced by alloccolors(), and initparser().

double XGeo::geo_plane[7 *MAXGEOOBJ+5]

Definition at line 20 of file xgeo.h.

Referenced by drawPlanes(), drawXlines(), drawXpoints(), and initparser().

Definition at line 29 of file xgeo.h.

Referenced by alloccolors(), and initparser().

double XGeo::geo_vector[8 *MAXGEOOBJ+3]

Definition at line 23 of file xgeo.h.

Referenced by drawVectors(), and initparser().

Definition at line 30 of file xgeo.h.

Referenced by alloccolors(), and initparser().

int XGeo::geo_xline[3 *MAXGEOOBJ+3]

Definition at line 22 of file xgeo.h.

Referenced by drawXlines(), and initparser().

Definition at line 31 of file xgeo.h.

Referenced by alloccolors(), and initparser().

int XGeo::geo_xpoint[3 *MAXGEOOBJ+3]

Definition at line 21 of file xgeo.h.

Referenced by drawXpoints(), and initparser().

Definition at line 31 of file xgeo.h.

Referenced by alloccolors(), and initparser().

double XGeo::L [private]

Definition at line 35 of file xgeo.h.

Referenced by drawBox(), drawVectors(), and drawXpoints().

Definition at line 28 of file xgeo.h.

Referenced by drawXpoints(), and initparser().

Definition at line 26 of file xgeo.h.

Referenced by initparser(), and openwin().

Definition at line 26 of file xgeo.h.

Referenced by initparser(), and openwin().


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

Generated on Tue Oct 28 15:21:27 2008 for MD++ by  doxygen 1.5.7.1