| gmsh-TingyuanDoc
    0.1
    An Open-Source Timing-driven Analytical Mixed-size FPGA Placer | 
#include <drawContext.h>

| Public Types | |
| enum | RenderMode { GMSH_RENDER = 1, GMSH_SELECT = 2, GMSH_FEEDBACK = 3 } | 
| Public Member Functions | |
| drawContext (openglWindow *window=nullptr, drawTransform *transform=nullptr) | |
| ~drawContext () | |
| double | highResolutionPixelFactor () | 
| void | copyViewAttributes (drawContext *other) | 
| void | setTransform (drawTransform *transform) | 
| drawTransform * | getTransform () | 
| void | transform (double &x, double &y, double &z) | 
| void | transformOneForm (double &x, double &y, double &z) | 
| void | transformTwoForm (double &x, double &y, double &z) | 
| void | hide (GModel *m) | 
| void | hide (PView *v) | 
| void | show (GModel *m) | 
| void | show (PView *v) | 
| void | showAll () | 
| bool | isVisible (GModel *m) | 
| bool | isVisible (PView *v) | 
| void | createQuadricsAndDisplayLists () | 
| void | invalidateQuadricsAndDisplayLists () | 
| bool | generateTextureForImage (const std::string &name, int page, GLuint &imageTexture, GLuint &imageW, GLuint &imageH) | 
| void | invalidateBgImageTexture () | 
| void | buildRotationMatrix () | 
| void | setQuaternion (double p1x, double p1y, double p2x, double p2y) | 
| void | addQuaternion (double p1x, double p1y, double p2x, double p2y) | 
| void | addQuaternionFromAxisAndAngle (double axis[3], double angle) | 
| void | setQuaternionFromEulerAngles () | 
| void | setEulerAnglesFromRotationMatrix () | 
| void | initProjection (int xpick=0, int ypick=0, int wpick=0, int hpick=0) | 
| void | initRenderModel () | 
| void | initPosition (bool saveMatrices) | 
| void | unproject (double winx, double winy, double p[3], double d[3]) | 
| void | viewport2World (double vp[3], double xyz[3]) | 
| void | world2Viewport (double xyz[3], double vp[3]) | 
| bool | select (int type, bool multiple, bool mesh, bool post, int x, int y, int w, int h, std::vector< GVertex * > &vertices, std::vector< GEdge * > &edges, std::vector< GFace * > &faces, std::vector< GRegion * > ®ions, std::vector< MElement * > &elements, std::vector< SPoint2 > &points, std::vector< PView * > &views) | 
| void | recenterForRotationCenterChange (SPoint3 newRotationCenter) | 
| int | fix2dCoordinates (double *x, double *y) | 
| void | draw3d () | 
| void | draw2d () | 
| void | drawGeom () | 
| void | drawMesh () | 
| void | drawPost () | 
| void | drawBackgroundGradient () | 
| void | drawBackgroundImage (bool moving) | 
| void | drawText2d () | 
| void | drawGraph2d (bool inModelCoordinates) | 
| void | drawAxis (double xmin, double ymin, double zmin, double xmax, double ymax, double zmax, int nticks, int mikado) | 
| void | drawAxes (int mode, double tics[3], std::string format[3], std::string label[3], double bb[6], int mikado, double value_bb[6]) | 
| void | drawAxes (int mode, double tics[3], std::string format[3], std::string label[3], SBoundingBox3d &bb, int mikado, SBoundingBox3d &value_bb) | 
| void | drawAxes () | 
| void | drawSmallAxes () | 
| void | drawTrackball () | 
| void | drawScales () | 
| void | drawString (const std::string &s, double x, double y, double z, const std::string &font_name, int font_enum, int font_size, int align, int line_num=0) | 
| void | drawString (const std::string &s, double x, double y, double z, int line_num=0) | 
| void | drawStringCenter (const std::string &s, double x, double y, double z, int line_num=0) | 
| void | drawStringRight (const std::string &s, double x, double y, double z, int line_num=0) | 
| void | drawString (const std::string &s, double x, double y, double z, double style, int line_num=0) | 
| void | drawImage (const std::string &s, double x, double y, double z, int align=0) | 
| void | drawSphere (double R, double x, double y, double z, int n1, int n2, int light) | 
| void | drawCube (double x, double y, double z, double val[9], int light) | 
| void | drawEllipsoid (double x, double y, double z, float v0[3], float v1[3], float v2[3], int light) | 
| void | drawEllipse (double x, double y, double z, float v0[3], float v1[3], int light) | 
| void | drawSphere (double size, double x, double y, double z, int light) | 
| void | drawCylinder (double width, double *x, double *y, double *z, int light) | 
| void | drawTaperedCylinder (double width, double val1, double val2, double ValMin, double ValMax, double *x, double *y, double *z, int light) | 
| void | drawArrow3d (double x, double y, double z, double dx, double dy, double dz, double length, int light) | 
| void | drawVector (int Type, int Fill, double x, double y, double z, double dx, double dy, double dz, int light) | 
| void | drawBox (double xmin, double ymin, double zmin, double xmax, double ymax, double zmax, bool labels=true) | 
| void | drawPlaneInBoundingBox (double xmin, double ymin, double zmin, double xmax, double ymax, double zmax, double a, double b, double c, double d, int shade=0) | 
| Static Public Member Functions | |
| static void | setGlobal (drawContextGlobal *global) | 
| static drawContextGlobal * | global () | 
| static void | setDrawGeomTransientFunction (void(*fct)(void *)) | 
| Public Attributes | |
| Camera | camera | 
| double | r [3] | 
| double | t [3] | 
| double | s [3] | 
| double | quaternion [4] | 
| int | viewport [4] | 
| double | rot [16] | 
| double | t_init [3] | 
| double | vxmin | 
| double | vxmax | 
| double | vymin | 
| double | vymax | 
| double | pixel_equiv_x | 
| double | pixel_equiv_y | 
| double | model [16] | 
| double | proj [16] | 
| int | render_mode | 
| Static Public Attributes | |
| static void(* | drawGeomTransient )(void *) = nullptr | 
| Private Attributes | |
| drawTransform * | _transform | 
| GLUquadricObj * | _quadric | 
| GLuint | _displayLists | 
| std::set< GModel * > | _hiddenModels | 
| std::set< PView * > | _hiddenViews | 
| GLuint | _bgImageTexture | 
| GLuint | _bgImageW | 
| GLuint | _bgImageH | 
| openglWindow * | _openglWindow | 
| std::map< std::string, imgtex > | _imageTextures | 
| Static Private Attributes | |
| static drawContextGlobal * | _global = nullptr | 
Definition at line 120 of file drawContext.h.
| Enumerator | |
|---|---|
| GMSH_RENDER | |
| GMSH_SELECT | |
| GMSH_FEEDBACK | |
Definition at line 145 of file drawContext.h.
| drawContext::drawContext | ( | openglWindow * | window = nullptr, | 
| drawTransform * | transform = nullptr | ||
| ) | 
| drawContext::~drawContext | ( | ) | 
| void drawContext::addQuaternion | ( | double | p1x, | 
| double | p1y, | ||
| double | p2x, | ||
| double | p2y | ||
| ) | 
| void drawContext::addQuaternionFromAxisAndAngle | ( | double | axis[3], | 
| double | angle | ||
| ) | 
| void drawContext::buildRotationMatrix | ( | ) | 
Definition at line 157 of file drawContext.cpp.
Referenced by initPosition().


| 
 | inline | 
Definition at line 153 of file drawContext.h.
| void drawContext::createQuadricsAndDisplayLists | ( | ) | 
Definition at line 103 of file drawContext.cpp.
Referenced by draw3d().


| void drawContext::draw2d | ( | ) | 
| void drawContext::draw3d | ( | ) | 
| void drawContext::drawArrow3d | ( | double | x, | 
| double | y, | ||
| double | z, | ||
| double | dx, | ||
| double | dy, | ||
| double | dz, | ||
| double | length, | ||
| int | light | ||
| ) | 
Definition at line 689 of file drawGlyph.cpp.
Referenced by drawPlaneInBoundingBox(), and drawVector().


| void drawContext::drawAxes | ( | ) | 
Definition at line 295 of file drawAxes.cpp.
Referenced by draw3d(), and drawAxes().


| void drawContext::drawAxes | ( | int | mode, | 
| double | tics[3], | ||
| std::string | format[3], | ||
| std::string | label[3], | ||
| double | bb[6], | ||
| int | mikado, | ||
| double | value_bb[6] | ||
| ) | 
Definition at line 176 of file drawAxes.cpp.
Referenced by drawPView::operator()().


| void drawContext::drawAxes | ( | int | mode, | 
| double | tics[3], | ||
| std::string | format[3], | ||
| std::string | label[3], | ||
| SBoundingBox3d & | bb, | ||
| int | mikado, | ||
| SBoundingBox3d & | value_bb | ||
| ) | 
| void drawContext::drawAxis | ( | double | xmin, | 
| double | ymin, | ||
| double | zmin, | ||
| double | xmax, | ||
| double | ymax, | ||
| double | zmax, | ||
| int | nticks, | ||
| int | mikado | ||
| ) | 
Definition at line 146 of file drawAxes.cpp.
Referenced by drawAxes().


| void drawContext::drawBackgroundGradient | ( | ) | 
Definition at line 355 of file drawContext.cpp.
Referenced by initProjection().


| void drawContext::drawBackgroundImage | ( | bool | moving | ) | 
Definition at line 464 of file drawContext.cpp.
Referenced by draw3d(), and initProjection().


| void drawContext::drawBox | ( | double | xmin, | 
| double | ymin, | ||
| double | zmin, | ||
| double | xmax, | ||
| double | ymax, | ||
| double | zmax, | ||
| bool | labels = true | ||
| ) | 
Definition at line 787 of file drawGlyph.cpp.
Referenced by drawAxes(), and drawPViewBoundingBox::operator()().


| void drawContext::drawCube | ( | double | x, | 
| double | y, | ||
| double | z, | ||
| double | val[9], | ||
| int | light | ||
| ) | 
Definition at line 316 of file drawGlyph.cpp.
| void drawContext::drawCylinder | ( | double | width, | 
| double * | x, | ||
| double * | y, | ||
| double * | z, | ||
| int | light | ||
| ) | 
Definition at line 490 of file drawGlyph.cpp.
Referenced by drawArrays(), drawAxis(), drawPlaneInBoundingBox(), and drawGEdge::operator()().


| void drawContext::drawEllipse | ( | double | x, | 
| double | y, | ||
| double | z, | ||
| float | v0[3], | ||
| float | v1[3], | ||
| int | light | ||
| ) | 
Definition at line 401 of file drawGlyph.cpp.
Referenced by drawEllipseArray().


| void drawContext::drawEllipsoid | ( | double | x, | 
| double | y, | ||
| double | z, | ||
| float | v0[3], | ||
| float | v1[3], | ||
| float | v2[3], | ||
| int | light | ||
| ) | 
Definition at line 428 of file drawGlyph.cpp.
Referenced by drawEllipseArray().


| void drawContext::drawGeom | ( | ) | 
Definition at line 480 of file drawGeom.cpp.
Referenced by draw3d(), and select().


| void drawContext::drawGraph2d | ( | bool | inModelCoordinates | ) | 
Definition at line 574 of file drawGraph2d.cpp.
Referenced by draw2d(), draw3d(), and select().


| void drawContext::drawImage | ( | const std::string & | s, | 
| double | x, | ||
| double | y, | ||
| double | z, | ||
| int | align = 0 | ||
| ) | 
Definition at line 180 of file drawGlyph.cpp.
Referenced by drawString().


| void drawContext::drawMesh | ( | ) | 
Definition at line 680 of file drawMesh.cpp.
Referenced by draw3d(), and select().


| void drawContext::drawPlaneInBoundingBox | ( | double | xmin, | 
| double | ymin, | ||
| double | zmin, | ||
| double | xmax, | ||
| double | ymax, | ||
| double | zmax, | ||
| double | a, | ||
| double | b, | ||
| double | c, | ||
| double | d, | ||
| int | shade = 0 | ||
| ) | 
Definition at line 824 of file drawGlyph.cpp.
Referenced by GMSH_CutPlanePlugin::draw(), drawAxes(), and drawPViewBoundingBox::operator()().


| void drawContext::drawPost | ( | ) | 
Definition at line 615 of file drawPost.cpp.
Referenced by draw3d(), and select().


| void drawContext::drawScales | ( | ) | 
Definition at line 272 of file drawScales.cpp.
Referenced by draw2d().


| void drawContext::drawSmallAxes | ( | ) | 
Definition at line 364 of file drawAxes.cpp.
Referenced by draw2d().


| void drawContext::drawSphere | ( | double | R, | 
| double | x, | ||
| double | y, | ||
| double | z, | ||
| int | n1, | ||
| int | n2, | ||
| int | light | ||
| ) | 
Definition at line 390 of file drawGlyph.cpp.
Referenced by addGraphPoint(), GMSH_ProbePlugin::draw(), GMSH_CutSpherePlugin::draw(), GMSH_ParticlesPlugin::draw(), GMSH_StreamLinesPlugin::draw(), GMSH_CutParametricPlugin::draw(), GMSH_CutGridPlugin::draw(), GMSH_CutBoxPlugin::draw(), drawArrays(), drawAxes(), drawVerticesPerElement(), drawVerticesPerEntity(), drawGVertex::operator()(), and drawGRegion::operator()().

| void drawContext::drawSphere | ( | double | size, | 
| double | x, | ||
| double | y, | ||
| double | z, | ||
| int | light | ||
| ) | 
Definition at line 442 of file drawGlyph.cpp.
| void drawContext::drawString | ( | const std::string & | s, | 
| double | x, | ||
| double | y, | ||
| double | z, | ||
| const std::string & | font_name, | ||
| int | font_enum, | ||
| int | font_size, | ||
| int | align, | ||
| int | line_num = 0 | ||
| ) | 
Definition at line 16 of file drawGlyph.cpp.
Referenced by addGraphPoint(), GMSH_AnnotatePlugin::draw(), GMSH_CutGridPlugin::draw(), GMSH_CutBoxPlugin::draw(), drawBox(), drawElementLabels(), drawEntityLabel(), drawGraphAxes(), drawNumberGlyphs(), drawScaleLabel(), drawScaleValues(), drawSmallAxes(), drawString(), drawStringCenter(), drawStringRight(), drawText2d(), drawTics(), drawVertexLabel(), and drawPView::operator()().


| void drawContext::drawString | ( | const std::string & | s, | 
| double | x, | ||
| double | y, | ||
| double | z, | ||
| double | style, | ||
| int | line_num = 0 | ||
| ) | 
| void drawContext::drawString | ( | const std::string & | s, | 
| double | x, | ||
| double | y, | ||
| double | z, | ||
| int | line_num = 0 | ||
| ) | 
| void drawContext::drawStringCenter | ( | const std::string & | s, | 
| double | x, | ||
| double | y, | ||
| double | z, | ||
| int | line_num = 0 | ||
| ) | 
Definition at line 147 of file drawGlyph.cpp.
Referenced by drawGraphAxes(), drawNumberGlyphs(), and drawScaleValues().


| void drawContext::drawStringRight | ( | const std::string & | s, | 
| double | x, | ||
| double | y, | ||
| double | z, | ||
| int | line_num = 0 | ||
| ) | 
Definition at line 154 of file drawGlyph.cpp.
Referenced by drawGraphAxes(), and drawNumberGlyphs().


| void drawContext::drawTaperedCylinder | ( | double | width, | 
| double | val1, | ||
| double | val2, | ||
| double | ValMin, | ||
| double | ValMax, | ||
| double * | x, | ||
| double * | y, | ||
| double * | z, | ||
| int | light | ||
| ) | 
Definition at line 455 of file drawGlyph.cpp.
Referenced by drawArrays().


| void drawContext::drawText2d | ( | ) | 
Definition at line 34 of file drawGraph2d.cpp.
Referenced by draw2d(), and select().


| void drawContext::drawTrackball | ( | ) | 
| void drawContext::drawVector | ( | int | Type, | 
| int | Fill, | ||
| double | x, | ||
| double | y, | ||
| double | z, | ||
| double | dx, | ||
| double | dy, | ||
| double | dz, | ||
| int | light | ||
| ) | 
Definition at line 714 of file drawGlyph.cpp.
Referenced by drawArrays(), drawNormals(), drawNormalVectorGlyphs(), drawTangents(), drawTangentVectorGlyphs(), drawVectorArray(), drawGEdge::operator()(), and drawGFace::operator()().


| int drawContext::fix2dCoordinates | ( | double * | x, | 
| double * | y | ||
| ) | 
Definition at line 15 of file drawGraph2d.cpp.
Referenced by GMSH_AnnotatePlugin::draw(), drawBackgroundImage(), drawGraph2d(), drawScales(), drawSmallAxes(), and drawText2d().

| bool drawContext::generateTextureForImage | ( | const std::string & | name, | 
| int | page, | ||
| GLuint & | imageTexture, | ||
| GLuint & | imageW, | ||
| GLuint & | imageH | ||
| ) | 
Definition at line 402 of file drawContext.cpp.
Referenced by drawBackgroundImage(), and drawImage().


| 
 | inline | 
Definition at line 172 of file drawContext.h.
| 
 | static | 
Definition at line 85 of file drawContext.cpp.
Referenced by CreateOutputFile(), drawGraph2d(), drawGraphAxes(), drawScaleLabel(), drawScales(), drawScaleValues(), drawString(), drawTics(), GMSH_ShowNeighborElementsPlugin::execute(), PixelBuffer::fill(), getStyle(), OpenProjectMacFinder(), opt_general_color_axes(), opt_general_color_small_axes(), opt_general_color_text(), opt_general_graphics_font_engine(), opt_mesh_color_carousel(), opt_view_color_axes(), opt_view_color_background2d(), opt_view_color_text2d(), opt_view_color_text3d(), GMSH_Plugin::setDrawFunction(), and setGlobal().

| 
 | inline | 
Definition at line 185 of file drawContext.h.
| 
 | inline | 
Definition at line 186 of file drawContext.h.
| double drawContext::highResolutionPixelFactor | ( | ) | 
Definition at line 73 of file drawContext.cpp.
Referenced by addGraphPoint(), drawGraphAxes(), drawGraphCurves(), drawImage(), drawString(), drawGVertex::operator()(), and unproject().

| void drawContext::initPosition | ( | bool | saveMatrices | ) | 
Definition at line 786 of file drawContext.cpp.
Referenced by draw3d(), and select().


| void drawContext::initProjection | ( | int | xpick = 0, | 
| int | ypick = 0, | ||
| int | wpick = 0, | ||
| int | hpick = 0 | ||
| ) | 
Definition at line 554 of file drawContext.cpp.
Referenced by draw3d(), and select().


| void drawContext::initRenderModel | ( | ) | 
Definition at line 696 of file drawContext.cpp.
Referenced by draw3d().


| void drawContext::invalidateBgImageTexture | ( | ) | 
Definition at line 396 of file drawContext.cpp.
| void drawContext::invalidateQuadricsAndDisplayLists | ( | ) | 
Definition at line 91 of file drawContext.cpp.
Referenced by ~drawContext().

| 
 | inline | 
Definition at line 202 of file drawContext.h.
Referenced by drawGeom(), drawGraph2d(), drawMesh(), drawScales(), drawText2d(), and drawPView::operator()().

| 
 | inline | 
Definition at line 206 of file drawContext.h.
| void drawContext::recenterForRotationCenterChange | ( | SPoint3 | newRotationCenter | ) | 
| bool drawContext::select | ( | int | type, | 
| bool | multiple, | ||
| bool | mesh, | ||
| bool | post, | ||
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h, | ||
| std::vector< GVertex * > & | vertices, | ||
| std::vector< GEdge * > & | edges, | ||
| std::vector< GFace * > & | faces, | ||
| std::vector< GRegion * > & | regions, | ||
| std::vector< MElement * > & | elements, | ||
| std::vector< SPoint2 > & | points, | ||
| std::vector< PView * > & | views | ||
| ) | 
| 
 | static | 
Definition at line 38 of file drawContext.cpp.
| void drawContext::setEulerAnglesFromRotationMatrix | ( | ) | 
Definition at line 235 of file drawContext.cpp.
Referenced by buildRotationMatrix().

| 
 | inlinestatic | 
Definition at line 169 of file drawContext.h.
Referenced by opt_general_graphics_font_engine().


| void drawContext::setQuaternion | ( | double | p1x, | 
| double | p1y, | ||
| double | p2x, | ||
| double | p2y | ||
| ) | 
Definition at line 211 of file drawContext.cpp.
| void drawContext::setQuaternionFromEulerAngles | ( | ) | 
Definition at line 219 of file drawContext.cpp.
Referenced by buildRotationMatrix().


| 
 | inline | 
| 
 | inline | 
Definition at line 187 of file drawContext.h.
| 
 | inline | 
Definition at line 192 of file drawContext.h.
| 
 | inline | 
Definition at line 197 of file drawContext.h.
| 
 | inline | 
Definition at line 173 of file drawContext.h.
Referenced by drawGVertex::operator()(), drawGEdge::operator()(), drawGFace::operator()(), drawGRegion::operator()(), and setTransform().


| 
 | inline | 
Definition at line 177 of file drawContext.h.
Referenced by drawGEdge::operator()().


| 
 | inline | 
Definition at line 181 of file drawContext.h.
Referenced by drawGFace::operator()().


| void drawContext::unproject | ( | double | winx, | 
| double | winy, | ||
| double | p[3], | ||
| double | d[3] | ||
| ) | 
| void drawContext::viewport2World | ( | double | vp[3], | 
| double | xyz[3] | ||
| ) | 
Definition at line 861 of file drawContext.cpp.
Referenced by drawString(), and drawTics().

| void drawContext::world2Viewport | ( | double | xyz[3], | 
| double | vp[3] | ||
| ) | 
Definition at line 872 of file drawContext.cpp.
Referenced by drawTics().

| 
 | private | 
Definition at line 128 of file drawContext.h.
Referenced by drawBackgroundImage(), and drawContext().
| 
 | private | 
Definition at line 128 of file drawContext.h.
Referenced by drawBackgroundImage(), drawContext(), and invalidateBgImageTexture().
| 
 | private | 
Definition at line 128 of file drawContext.h.
Referenced by drawBackgroundImage(), and drawContext().
| 
 | private | 
Definition at line 125 of file drawContext.h.
Referenced by createQuadricsAndDisplayLists(), drawArrow3d(), drawContext(), drawEllipse(), drawEllipsoid(), drawSphere(), and invalidateQuadricsAndDisplayLists().
| 
 | staticprivate | 
Definition at line 122 of file drawContext.h.
Referenced by global(), and setGlobal().
| 
 | private | 
Definition at line 126 of file drawContext.h.
Referenced by hide(), isVisible(), show(), and showAll().
| 
 | private | 
Definition at line 127 of file drawContext.h.
Referenced by hide(), isVisible(), show(), and showAll().
| 
 | private | 
Definition at line 130 of file drawContext.h.
Referenced by drawImage().
| 
 | private | 
Definition at line 129 of file drawContext.h.
Referenced by highResolutionPixelFactor().
| 
 | private | 
Definition at line 124 of file drawContext.h.
Referenced by createQuadricsAndDisplayLists(), drawContext(), drawCylinder(), drawSphere(), drawTaperedCylinder(), and invalidateQuadricsAndDisplayLists().
| 
 | private | 
Definition at line 123 of file drawContext.h.
Referenced by getTransform(), setTransform(), transform(), transformOneForm(), and transformTwoForm().
| Camera drawContext::camera | 
Definition at line 133 of file drawContext.h.
Referenced by addQuaternion(), copyViewAttributes(), draw3d(), drawSmallAxes(), and initProjection().
| 
 | static | 
Definition at line 294 of file drawContext.h.
Referenced by drawGeom(), and setDrawGeomTransientFunction().
| double drawContext::model[16] | 
Definition at line 142 of file drawContext.h.
Referenced by CreateOutputFile(), initPosition(), recenterForRotationCenterChange(), unproject(), viewport2World(), and world2Viewport().
| double drawContext::pixel_equiv_x | 
Definition at line 141 of file drawContext.h.
Referenced by addGraphPoint(), GMSH_ProbePlugin::draw(), GMSH_AnnotatePlugin::draw(), drawAxes(), drawBox(), drawContext(), drawCylinder(), drawEllipseArray(), drawGraph2d(), drawGraphAxes(), drawImage(), drawNormals(), drawNormalVectorGlyphs(), drawPlaneInBoundingBox(), drawSphere(), drawTangents(), drawTangentVectorGlyphs(), drawTaperedCylinder(), drawVectorArray(), drawVertexLabel(), initProjection(), drawGVertex::operator()(), drawGEdge::operator()(), drawGFace::operator()(), and drawGRegion::operator()().
| double drawContext::pixel_equiv_y | 
Definition at line 141 of file drawContext.h.
Referenced by drawContext(), drawImage(), and initProjection().
| double drawContext::proj[16] | 
Definition at line 143 of file drawContext.h.
Referenced by CreateOutputFile(), initPosition(), recenterForRotationCenterChange(), unproject(), viewport2World(), and world2Viewport().
| double drawContext::quaternion[4] | 
Definition at line 136 of file drawContext.h.
Referenced by addQuaternion(), addQuaternionFromAxisAndAngle(), buildRotationMatrix(), copyViewAttributes(), drawContext(), setQuaternion(), and setQuaternionFromEulerAngles().
| double drawContext::r[3] | 
Definition at line 134 of file drawContext.h.
Referenced by buildRotationMatrix(), copyViewAttributes(), CreateOutputFile(), drawBackgroundGradient(), drawContext(), initRenderModel(), select(), setEulerAnglesFromRotationMatrix(), and setQuaternionFromEulerAngles().
| int drawContext::render_mode | 
Definition at line 146 of file drawContext.h.
Referenced by addGraphPoint(), drawArrays(), drawContext(), drawText2d(), initProjection(), drawGVertex::operator()(), drawGEdge::operator()(), drawGFace::operator()(), drawMeshGVertex::operator()(), drawGRegion::operator()(), drawMeshGEdge::operator()(), drawPView::operator()(), drawMeshGFace::operator()(), drawMeshGRegion::operator()(), and select().
| double drawContext::rot[16] | 
Definition at line 138 of file drawContext.h.
Referenced by buildRotationMatrix(), copyViewAttributes(), drawSmallAxes(), eyeChanged(), initPosition(), and setEulerAnglesFromRotationMatrix().
| double drawContext::s[3] | 
Definition at line 135 of file drawContext.h.
Referenced by addGraphPoint(), copyViewAttributes(), GMSH_ProbePlugin::draw(), GMSH_AnnotatePlugin::draw(), drawAxes(), drawBox(), drawContext(), drawCylinder(), drawEllipseArray(), drawEntityLabel(), drawGraph2d(), drawGraphAxes(), drawImage(), drawNormals(), drawNormalVectorGlyphs(), drawPlaneInBoundingBox(), drawSphere(), drawString(), drawStringCenter(), drawStringRight(), drawTangents(), drawTangentVectorGlyphs(), drawTaperedCylinder(), drawVectorArray(), drawVertexLabel(), initPosition(), initProjection(), initRenderModel(), drawGEdge::operator()(), drawGFace::operator()(), mousePosition::recenter(), recenterForRotationCenterChange(), and mousePosition::set().
| double drawContext::t[3] | 
Definition at line 135 of file drawContext.h.
Referenced by copyViewAttributes(), drawContext(), initPosition(), initRenderModel(), mousePosition::recenter(), recenterForRotationCenterChange(), and mousePosition::set().
| double drawContext::t_init[3] | 
Definition at line 139 of file drawContext.h.
Referenced by copyViewAttributes(), initProjection(), recenterForRotationCenterChange(), and mousePosition::set().
| int drawContext::viewport[4] | 
Definition at line 137 of file drawContext.h.
Referenced by GMSH_AnnotatePlugin::draw(), draw2d(), drawBackgroundGradient(), drawBackgroundImage(), drawContext(), drawGraph2d(), drawImage(), drawScales(), fix2dCoordinates(), initProjection(), recenterForRotationCenterChange(), select(), mousePosition::set(), viewport2World(), and world2Viewport().
| double drawContext::vxmax | 
Definition at line 140 of file drawContext.h.
Referenced by drawContext(), initProjection(), recenterForRotationCenterChange(), and mousePosition::set().
| double drawContext::vxmin | 
Definition at line 140 of file drawContext.h.
Referenced by drawContext(), initProjection(), recenterForRotationCenterChange(), and mousePosition::set().
| double drawContext::vymax | 
Definition at line 140 of file drawContext.h.
Referenced by drawContext(), initProjection(), recenterForRotationCenterChange(), and mousePosition::set().
| double drawContext::vymin | 
Definition at line 140 of file drawContext.h.
Referenced by drawContext(), initProjection(), recenterForRotationCenterChange(), and mousePosition::set().