58#include <Inventor/fields/SoSFBool.h>
59#include <Inventor/fields/SoSFEnum.h>
60#include <Inventor/fields/SoSFFloat.h>
61#include <Inventor/fields/SoSFName.h>
62#include <Inventor/fields/SoSFString.h>
63#include <Inventor/nodes/SoNode.h>
482 {
override.setValue(state); }
488 {
return override.getValue(); }
491 virtual void doAction(
SoAction *action);
499 static void initClass();
500 static void exitClass();
508 static SbBool s_isJapaneseSFEnabled;
Class for smart character strings.
Abstract base class for all actions.
Performs a generic traversal of a scene graph or path.
Node that defines font name, size, and type for text.
SoSFString name
This field specifies the font name.
static void setNumFontCaches(int maxNumCaches)
Sets the maximum number of caches that can be used for font rendering.
static int getCurrNumFontCaches()
Returns the current number of caches used for font rendering.
static SbBool isJapaneseSFEnabled()
Gets flag that indicates whether strings should be interpreted using the MCS Japanese MBCS encoding.
static SoNONUNICODE void setFontPaths(char *)
Specifies paths for searching for font files.
virtual SbBool isOverride() const
Returns the state of the override field.
static int getNumFontCaches()
Returns the maximum number of caches that can be used for font rendering.
virtual void setOverride(const SbBool state)
Set the state of the override field.
static SbBool isAvailableFont(const SbString &)
Returns TRUE if the specified font is available for use by Open Inventor.
SoSFFloat size
This field specifies the font size.
static SbString getFontPaths()
Gets current font path list.
SoSFEnum renderStyle
This field specifies the rendering style of the font.
static void setFontPaths(const SbString &)
Specifies paths for searching for font files.
static int getAvailableFonts(SbString *&strings, SbBool clearDB=FALSE)
Returns the number of loadable font files and a list of their names.
SoFont()
Creates a font node with default settings.
@ POLYGON_AND_OUTLINE
Render outlining font.
@ TEXTURE
Render font as texture objects.
@ POLYGON
Render font as polygonal objects.
@ TEXTURE_DELAYED
Render font as texture objects, but delay the rendering to prevent transparency artifacts,...
static void clearFontNameCache()
Clears the Open Inventor internal font name cache, i.e., the list of available fonts.
static SoNONUNICODE void addFontPaths(char *)
Specifies paths for searching for font files.
static void addFontPaths(const SbString &)
Specifies paths for searching for font files.
static void enableJapaneseSF(SbBool flag=TRUE)
Sets flag to enable strings to be interpreted using the Japanese MBCS encoding.
static SoNONUNICODE SbBool isAvailableFont(char *)
Returns TRUE if the specified font is available for use by Open Inventor.
Renders a scene graph using Open Inventor's Render Engine.
Computes bounding box of a scene.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Counts number of...
Abstract base class for all database nodes.
Abstract base class for picking objects in a scene.
Field containing a single Boolean value.
Field containing an enumerated value.
Field containing a floating-point value.
Field containing a string.