Open Inventor Reference
|
Simple 3D text shape node. More...
#include <Inventor/nodes/SoFontStyle.h>
Public Types | |
enum | Family { SERIF, SANS, TYPEWRITER } |
enum | Style { NONE = 0, BOLD = 0x1, ITALIC = 0x2 } |
Public Member Functions | |
SoFontStyle () | |
Creates a font style node with default settings. | |
SbString | getFontName () |
Returns the font name used by this node based on the settings of family and style. | |
virtual void | doAction (SoAction *action) |
This method performs the "typical" operation of a node for any action. | |
virtual void | callback (SoCallbackAction *action) |
virtual void | GLRender (SoGLRenderAction *action) |
These virtual functions implement all of the actions for nodes, Most of the default implementations do nothing. | |
virtual void | getBoundingBox (SoGetBoundingBoxAction *action) |
virtual void | pick (SoPickAction *action) |
Static Public Member Functions | |
static void | initClass () |
Initializes base node class. | |
Public Attributes | |
Fields | |
SoSFEnum | family |
Defines the family of font to use. | |
SoSFBitMask | style |
Defines style modifications to the chosen font, either bold or italic or no change. | |
Protected Member Functions | |
virtual | ~SoFontStyle () |
This node defines the current font family and style for all subsequent text shapes in the scene graph.
Definition at line 93 of file SoFontStyle.h.
enum SoFontStyle::Family |
SERIF |
Use Serif style (such as Times-Roman) |
SANS |
Use Sans Serif style (such as Helvetica) |
TYPEWRITER |
Use fixed pitch style (such as Courier) |
Definition at line 102 of file SoFontStyle.h.
enum SoFontStyle::Style |
Definition at line 108 of file SoFontStyle.h.
SoFontStyle::SoFontStyle | ( | ) |
virtual SoFontStyle::~SoFontStyle | ( | ) | [protected, virtual] |
virtual void SoFontStyle::callback | ( | SoCallbackAction * | action | ) | [virtual] |
Reimplemented from SoFont.
virtual void SoFontStyle::doAction | ( | SoAction * | action | ) | [virtual] |
The default implementation does nothing.
Reimplemented from SoFont.
virtual void SoFontStyle::getBoundingBox | ( | SoGetBoundingBoxAction * | action | ) | [virtual] |
Reimplemented from SoFont.
SbString SoFontStyle::getFontName | ( | ) |
virtual void SoFontStyle::GLRender | ( | SoGLRenderAction * | action | ) | [virtual] |
Reimplemented from SoFont.
static void SoFontStyle::initClass | ( | ) | [static] |
Reimplemented from SoFont.
virtual void SoFontStyle::pick | ( | SoPickAction * | action | ) | [virtual] |
Reimplemented from SoFont.
Definition at line 118 of file SoFontStyle.h.
Definition at line 121 of file SoFontStyle.h.