78#if defined(__glu_h__) && (GLU_VERSION_1_2)
79#define gluTESSELATOR GLUtesselator
81#define gluTESSELATOR GLUtriangulatorObj
82extern "C" struct GLUtriangulatorObj;
88class MyOutlineFontCache;
209 bool setupFontCache(
SoState *state,
bool forRender =
FALSE);
212 void getFrontBBox(
SbBox2f &result);
218 SbVec2f getStringOffset(
int line,
float width);
222 float width, GLUtriangulatorObj *tobj);
233 void generateFront(
const SbString &
string,
float width);
236 static void CALLBACK beginCB(GLenum primType);
237 static void CALLBACK endCB();
238 static void CALLBACK vtxCB(
void *vertex);
244 MyOutlineFontCache *myFont;
250 static int genWhichVertex;
254 static bool genTexCoord;
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_NODE_HEADER(className)
Non-abstract classes have everything abstract classes have, plus a way to create an instance.
Class for smart character strings.
Abstract base class for all actions.
Simple 3D text shape node.
Justification
Justification types.
SoMFString string
The text string(s) to display. Each string will appear on its own line.
SoMFFloat width
Defines the width of each text string.
virtual void GLRender(SoGLRenderAction *action)
Implements rendering by rendering each primitive generated by subclass.
SoSFEnum justification
Indicates placement and alignment of strings.
SoSFFloat spacing
Defines the distance (in the negative y direction) between the base points of successive strings,...
SoAsciiText()
Creates an ascii text node with default settings.
virtual void rayPick(SoRayPickAction *action)
Implements picking along a ray by intersecting the ray with each primitive generated by subclass.
virtual void generatePrimitives(SoAction *)
Generates primitives.
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)
Computes bounding box of text.
Base class for describing detail information about a shape node.
Renders a scene graph using OpenGL.
Multiple-value field containing any number of floating point values.
Multiple-value field containing any number of strings.
Represents point on surface of picked object.
Represents a vertex of a generated primitive.
Intersects objects with a ray cast into scene.
Field containing an enumerated value.
Field containing a floating-point value.
Abstract base class for all shape nodes.
virtual SoDetail * createTriangleDetail(SoRayPickAction *action, const SoPrimitiveVertex *v1, const SoPrimitiveVertex *v2, const SoPrimitiveVertex *v3, SoPickedPoint *pp)
These methods are called during picking to create details representing extra info about a pick inters...
An SoState collects and holds state while traversing a scene graph.
Element storing the current texture coordinates.