26#ifndef _SO_TEXT_PROPERTY_
27#define _SO_TEXT_PROPERTY_
149 {
override.setValue(state); }
155 {
return override.getValue(); }
418 virtual void doAction(
SoAction *action);
427 static void initClass();
428 static void exitClass();
#define SO_NODE_HEADER(className)
Abstract base class for all actions.
Performs a generic traversal of a scene graph or path.
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...
Multiple-value field containing any number of Boolean values.
Multiple-value field containing any number of RGBA colors stored as four floats.
Abstract base class for all database nodes.
Abstract base class for picking objects in a scene.
Single-value field containing a set of bit flags.
Field containing a single Boolean value.
Field containing an enumerated value.
Field containing a floating-point value.
Field containing a two-dimensional vector.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Text property no...
SoSFEnum alignmentV
Indicates vertical placement and alignment of strings.
StyleColor
Index values for setting colors in the styleColors field.
@ OVERLINE_COLOR
OVERLINE_COLOR.
@ BACK_FRAME_LINE_COLOR
BACK_FRAME_LINE_COLOR.
@ UNDERLINE_COLOR
UNDERLINE_COLOR.
@ DOUBLE_STRIKETHROUGH_COLOR
DOUBLE_STRIKETHROUGH_COLOR.
@ BACK_FRAME_COLOR
BACK_FRAME_COLOR.
@ NUM_EFFECTS_COLORS
NUM_EFFECTS_COLORS.
@ STRIKETHROUGH_COLOR
STRIKETHROUGH_COLOR.
SoSFFloat characterSpacing
This field specifies the spacing between individual characters.
SoSFFloat backFrameLineWidth
Defines the width of the line when BACK_FRAME_LINE has been enabled for the current style.
SoSFBitMask style
Specifies zero or more styles to be applied to text.
SoTextProperty()
Text property constructor.
AlignmentV
Possible vertical alignment values.
@ BOTTOM
Bottom edges of all strings are aligned.
@ TOP
Top edges of all strings are aligned.
@ HALF
Vertical centers of all strings are aligned.
@ BASE
All strings are aligned on their baseline.
SoSFFloat aliasingFactor
Defines the anti-aliasing factor to apply to the textured text rendering.
SoMFColorRGBA styleColors
Specifies the color to use for each style.
AlignmentH
Possible horizontal alignment values.
@ LEFT
Left edges of all strings are aligned.
@ CENTER
Horizontal centers of all strings are aligned.
@ RIGHT
Right edges of all strings are aligned.
Orientation
Possible text orientation values.
@ TOP_TO_BOTTOM
Text string is top to bottom oriented.
@ RIGHT_TO_LEFT
Text string is right to left oriented.
@ BOTTOM_TO_TOP
Text string is bottom to top oriented.
@ LEFT_TO_RIGHT
Text string is left to right oriented.
SoSFFloat margin
Set a margin (extra space) to apply around the text string for the BACK_FRAME and BACK_FRAME_LINE sty...
Style
TextProperty style values.
@ DOUBLE_STRIKETHROUGH
DOUBLE_STRIKETHROUGH.
@ STRIKETHROUGH
STRIKETHROUGH.
@ BACK_FRAME_LINE
BACK_FRAME_LINE.
virtual SbBool isOverride() const
Returns the state of the override field.
SoSFBool kerning
Set this field to TRUE to apply kerning on text rendering.
SoSFEnum orientation
Specifies the text rendering orientation.
SoSFEnum alignmentH
Indicates horizontal placement and alignment of strings.
virtual void setOverride(const SbBool state)
Set the state of the override field.
SoMFBool styleColorsUseCurrentMaterial
This field allows to use the current SoMaterial instead of the value specified by styleColors for eac...
SoSFVec2i32 textureQualityRange
Defines a quality range of values taken into account during textured text texture computation.
@ STRIKETHROUGH
STRIKETHROUGH.
@ DOUBLE_STRIKETHROUGH
DOUBLE_STRIKETHROUGH.
@ BACK_FRAME_LINE
BACK_FRAME_LINE.