man SoTextDetail () - stores detail information about a text node
NAME
SoTextDetail - stores detail information about a text node
INHERITS FROM
SoDetail > SoTextDetail
SYNOPSIS
#include <Inventor/details/SoTextDetail.h>
Methods from class SoTextDetail:
c
}
c
}
SoTextDetail()
c
}
c
}
~SoTextDetail()
c
}
c
}
getStringIndex() const
c
}
c
}
getCharacterIndex() const
c
}
c
}
getPart() const
c
}
c
}
getBoundingBox() const
c
}
c
}
getXfBoundingBox() const
c
}
c
}
getClassTypeId()
Methods from class SoDetail:
c
}
c
}
copy() const
c
}
c
}
getTypeId() const
c
}
c
}
isOfType(SoType type) const
DESCRIPTION
This class contains detail information about a point on a text shape (SoText2 or SoText3). It contains the part of the text, string, and character that were hit or generated.
METHODS
c
}
c
}
SoTextDetail()
c
}
c
}
~SoTextDetail()
Constructor and destructor.
c
}
c
}
getStringIndex() const
Returns the index of the relevant string within a multiple-value string field of a text node.
c
}
c
}
getCharacterIndex() const
Returns the index of the relevant character within the string. For example, if the character of detail was the "u" within "Splurmph", the character index would be 3.
c
}
c
}
getPart() const
For SoText3, this returns which part was picked or generated.
c
}
c
}
getBoundingBox() const
c
}
c
}
getXfBoundingBox() const
When the detail is returned from picking, these return the object-space bounding box of the character that was intersected. Otherwise, they return an empty box. The second method returns an SbXfBox3f instead of
a SbBox3f. These methods are implemented only for 3D text.
c
}
c
}
getClassTypeId()
Returns type identifier for this class.
SEE ALSO
SoText2, SoText3, SoDetail, SoPickedPoint, SoPrimitiveVertex