|
MeVisLab Toolbox Reference
|
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 | TextPosition { Current3DPosition , RelativeToViewer } |
Public Member Functions | |
| SoExtText2 (void) | |
| void | GLRender (SoGLRenderAction *action) override |
| reimplemented inventor method | |
| void | rayPick (SoRayPickAction *action) override |
| reimplemented inventor method | |
Static Public Member Functions | |
| static void | initClass (void) |
Public Attributes | |
| SoSFTypedEnum< TextPosition > | position |
| SoSFVec2f | relativePosition |
| SoSFVec2s | boxMargin |
| SoSFVec2s | boxPadding |
| SoSFFloat | lineSpacing |
| SoSFString | string |
| text to draw | |
| SoSFEnum | justification |
| justification of text | |
| SoSFColor | color |
| text color | |
| SoSFBool | shadow |
| draw shadow | |
| SoSFColor | shadowColor |
| shadow color (if shadow is enabled) | |
| SoSFBool | alwaysOnTop |
| draw on top (without depth buffer) | |
| SoSFUInt32 | fontSize |
| size of the font in pixels | |
| 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 | |
| ~SoExtText2 () override | |
| void | generatePrimitives (SoAction *action) override |
| reimplemented inventor method | |
| void | computeBBox (SoAction *action, SbBox3f &box, SbVec3f ¢er) override |
| reimplemented inventor method | |
Implements a node similar to SoText2, but by using the GLUT font and some extra features (shadow, background, etc.)
Implements a node similar to SoText2, but by using View2DFont and extra features (shadow, background, etc.)
Definition at line 38 of file SoExtText2.h.
| Enumerator | |
|---|---|
| Current3DPosition | |
| RelativeToViewer | |
Definition at line 55 of file SoExtText2.h.
| SoExtText2::SoExtText2 | ( | void | ) |
|
overrideprotected |
|
overrideprotected |
reimplemented inventor method
|
overrideprotected |
reimplemented inventor method
|
override |
reimplemented inventor method
|
static |
|
override |
reimplemented inventor method
| SoSFBool SoExtText2::alwaysOnTop |
draw on top (without depth buffer)
Definition at line 78 of file SoExtText2.h.
| SoSFBool SoExtText2::applyClippingPlanes |
apply clipping planes. Default is true (= clipping is enabled)
Definition at line 84 of file SoExtText2.h.
| SoSFBool SoExtText2::background |
draw a background rectangle
Definition at line 87 of file SoExtText2.h.
| SoSFFloat SoExtText2::backgroundAlpha |
blending of rectangle
Definition at line 91 of file SoExtText2.h.
| SoSFColor SoExtText2::backgroundColor |
color of rectangle
Definition at line 89 of file SoExtText2.h.
| SoSFVec2s SoExtText2::boxMargin |
Definition at line 62 of file SoExtText2.h.
| SoSFVec2s SoExtText2::boxPadding |
Definition at line 63 of file SoExtText2.h.
| SoSFColor SoExtText2::color |
text color
Definition at line 72 of file SoExtText2.h.
| SoSFUInt32 SoExtText2::fontSize |
size of the font in pixels
Definition at line 81 of file SoExtText2.h.
| SoSFEnum SoExtText2::justification |
justification of text
Definition at line 70 of file SoExtText2.h.
| SoSFFloat SoExtText2::lineSpacing |
Definition at line 65 of file SoExtText2.h.
| SoSFTypedEnum<TextPosition> SoExtText2::position |
Definition at line 60 of file SoExtText2.h.
| SoSFVec2f SoExtText2::relativePosition |
Definition at line 61 of file SoExtText2.h.
| SoSFBool SoExtText2::shadow |
draw shadow
Definition at line 74 of file SoExtText2.h.
| SoSFColor SoExtText2::shadowColor |
shadow color (if shadow is enabled)
Definition at line 76 of file SoExtText2.h.
| SoSFString SoExtText2::string |
text to draw
Definition at line 68 of file SoExtText2.h.