MeVisLabToolboxReference
|
Implements a node similar to SoText2, but by using the GLUT font and some extra features (shadow, background, etc.) More...
#include <SoExtText2.h>
Public Types | |
enum | Justification { LEFT = 1, RIGHT, CENTER } |
Justification modes. More... | |
enum | FontType { USE_FONTSTYLE = -1, HELVETICA_10 = 0, HELVETICA_12, HELVETICA_18, TIMES_ROMAN_24 } |
Avaliable fonts. More... | |
Public Member Functions | |
SoExtText2 (void) | |
virtual void | GLRender (SoGLRenderAction *action) |
reimplemented inventor method | |
virtual void | rayPick (SoRayPickAction *action) |
reimplemented inventor method | |
virtual void | getPrimitiveCount (SoGetPrimitiveCountAction *action) |
reimplemented inventor method | |
Static Public Member Functions | |
static void | initClass (void) |
Public Attributes | |
SoSFString | string |
text to draw | |
SoSFEnum | justification |
justification of text | |
SoSFEnum | font |
Font type (of type FontType) | |
SoSFColor | color |
text color | |
SoSFBool | shadow |
draw black shadow | |
SoSFBool | alwaysOnTop |
draw on top (without depth buffer) | |
SoSFBool | applyClippingPlanes |
apply clipping planes. Default is true (= clipping is enabled) | |
SoSFBool | background |
draw a background rectangle | |
SoSFColor | backgroundColor |
color of rectangle | |
SoSFFloat | backgroundAlpha |
blending of rectangle | |
Protected Member Functions | |
virtual | ~SoExtText2 () |
virtual void | generatePrimitives (SoAction *action) |
reimplemented inventor method | |
virtual void | computeBBox (SoAction *action, SbBox3f &box, SbVec3f ¢er) |
reimplemented inventor method |
Implements a node similar to SoText2, but by using the GLUT font and some extra features (shadow, background, etc.)
Definition at line 38 of file SoExtText2.h.
enum SoExtText2::FontType |
Avaliable fonts.
Definition at line 55 of file SoExtText2.h.
SoExtText2::SoExtText2 | ( | void | ) |
virtual SoExtText2::~SoExtText2 | ( | ) | [protected, virtual] |
virtual void SoExtText2::computeBBox | ( | SoAction * | action, |
SbBox3f & | box, | ||
SbVec3f & | center | ||
) | [protected, virtual] |
reimplemented inventor method
virtual void SoExtText2::generatePrimitives | ( | SoAction * | action | ) | [protected, virtual] |
reimplemented inventor method
virtual void SoExtText2::getPrimitiveCount | ( | SoGetPrimitiveCountAction * | action | ) | [virtual] |
reimplemented inventor method
virtual void SoExtText2::GLRender | ( | SoGLRenderAction * | action | ) | [virtual] |
reimplemented inventor method
static void SoExtText2::initClass | ( | void | ) | [static] |
virtual void SoExtText2::rayPick | ( | SoRayPickAction * | action | ) | [virtual] |
reimplemented inventor method
SoSFBool SoExtText2::alwaysOnTop |
draw on top (without depth buffer)
Definition at line 74 of file SoExtText2.h.
SoSFBool SoExtText2::applyClippingPlanes |
apply clipping planes. Default is true (= clipping is enabled)
Definition at line 78 of file SoExtText2.h.
SoSFBool SoExtText2::background |
draw a background rectangle
Definition at line 81 of file SoExtText2.h.
SoSFFloat SoExtText2::backgroundAlpha |
blending of rectangle
Definition at line 85 of file SoExtText2.h.
SoSFColor SoExtText2::backgroundColor |
color of rectangle
Definition at line 83 of file SoExtText2.h.
SoSFColor SoExtText2::color |
text color
Definition at line 70 of file SoExtText2.h.
SoSFEnum SoExtText2::font |
Font type (of type FontType)
Definition at line 68 of file SoExtText2.h.
SoSFEnum SoExtText2::justification |
justification of text
Definition at line 66 of file SoExtText2.h.
SoSFBool SoExtText2::shadow |
draw black shadow
Definition at line 72 of file SoExtText2.h.
SoSFString SoExtText2::string |
text to draw
Definition at line 64 of file SoExtText2.h.