#include </home/scilab/compilation_chain/sci_checkOut/scilab/modules/renderer/src/cpp/subwinDrawing/BackTrihedronDrawerJoGL.hxx>


Public Member Functions | |
| BackTrihedronDrawerJoGL (DrawableSubwin *subwin) | |
| virtual | ~BackTrihedronDrawerJoGL (void) |
| virtual void | drawAxesBox (int concealedCornerIndex) |
Protected Member Functions | |
| BackTrihedronDrawerJavaMapper * | getBackTrihedronDrawerJavaMapper (void) |
Definition at line 24 of file BackTrihedronDrawerJoGL.hxx.
| sciGraphics::BackTrihedronDrawerJoGL::BackTrihedronDrawerJoGL | ( | DrawableSubwin * | subwin | ) |
Definition at line 26 of file BackTrihedronDrawerJoGL.cpp.
References sciGraphics::DrawableObjectJoGL::setJavaMapper().
00027 : DrawAxesBoxStrategy(), DrawableObjectJoGL(subwin) 00028 { 00029 setJavaMapper(new BackTrihedronDrawerJavaMapper()); 00030 }

| sciGraphics::BackTrihedronDrawerJoGL::~BackTrihedronDrawerJoGL | ( | void | ) | [virtual] |
| void sciGraphics::BackTrihedronDrawerJoGL::drawAxesBox | ( | int | concealedCornerIndex | ) | [virtual] |
Main funtion which actually draw the box.
| concealedCornerIndex | index of the concealed corner |
Implements sciGraphics::DrawAxesBoxStrategy.
Definition at line 37 of file BackTrihedronDrawerJoGL.cpp.
References sciGraphics::BackTrihedronDrawerJavaMapper::drawBox(), sciGraphics::DrawableObjectJoGL::endDrawing(), getBackTrihedronDrawerJavaMapper(), sciGraphics::DrawableObject::getDrawedObject(), sciGraphics::DrawableObjectJoGL::initializeDrawing(), sciGraphics::DrawableObjectJoGL::m_pDrawer, pSUBWIN_FEATURE, sciGetLineWidth(), sciGetRealDataBounds(), and sciGraphics::BackTrihedronDrawerJavaMapper::setBoxParameters().
00038 { 00039 sciPointObj * pSubwin = m_pDrawer->getDrawedObject(); 00040 initializeDrawing(); 00041 00042 getBackTrihedronDrawerJavaMapper()->setBoxParameters(pSUBWIN_FEATURE(pSubwin)->axes.hiddenAxisColor, 00043 (float) sciGetLineWidth(pSubwin)); 00044 00045 // get displayed bounds 00046 double bounds[6]; 00047 sciGetRealDataBounds(pSubwin, bounds); 00048 getBackTrihedronDrawerJavaMapper()->drawBox(bounds[0], bounds[1], bounds[2], 00049 bounds[3], bounds[4], bounds[5], 00050 concealedCornerIndex); 00051 endDrawing(); 00052 }

| BackTrihedronDrawerJavaMapper * sciGraphics::BackTrihedronDrawerJoGL::getBackTrihedronDrawerJavaMapper | ( | void | ) | [protected] |
Get the object performing mapping with Java class.
Definition at line 54 of file BackTrihedronDrawerJoGL.cpp.
References sciGraphics::DrawableObjectJoGL::getJavaMapper().
Referenced by drawAxesBox().
00055 { 00056 return dynamic_cast<BackTrihedronDrawerJavaMapper *>(getJavaMapper()); 00057 }


1.5.5