1SoTextDetail(3IV)()                                        SoTextDetail(3IV)()
2
3
4

NAME

6       SoTextDetail — stores detail information about a text node
7

INHERITS FROM

9       SoDetail > SoTextDetail
10

SYNOPSIS

12       #include <Inventor/details/SoTextDetail.h>
13
14          Methods from class SoTextDetail:
15
16                         SoTextDetail()
17     virtual             ~SoTextDetail()
18     int32_t             getStringIndex() const
19     int32_t             getCharacterIndex() const
20     SoText3::Part       getPart() const
21     SbBox3f             getBoundingBox() const
22     SbXfBox3f           getXfBoundingBox() const
23     static SoType       getClassTypeId()
24
25          Methods from class SoDetail:
26
27     SoDetail *          copy() const
28     virtual SoType      getTypeId() const
29     SbBool              isOfType(SoType type) const
30
31

DESCRIPTION

33       This  class  contains  detail information about a point on a text shape
34       (SoText2 or SoText3). It contains the part of  the  text,  string,  and
35       character that were hit or generated.
36

METHODS

38                         SoTextDetail()
39     virtual             ~SoTextDetail()
40          Constructor and destructor.
41
42     int32_t             getStringIndex() const
43          Returns  the  index  of  the relevant string within a multiple-value
44          string field of a text node.
45
46     int32_t             getCharacterIndex() const
47          Returns the index of the relevant character within the  string.  For
48          example,  if  the character of detail was the "u" within "Splurmph",
49          the character index would be 3.
50
51     SoText3::Part       getPart() const
52          For SoText3, this returns which part was picked or generated.
53
54     SbBox3f             getBoundingBox() const
55     SbXfBox3f           getXfBoundingBox() const
56          When the detail is returned from picking, these return  the  object-
57          space bounding box of the character that was intersected. Otherwise,
58          they return an empty box. The second  method  returns  an  SbXfBox3f
59          instead  of  a  SbBox3f.  These  methods are implemented only for 3D
60          text.
61
62     static SoType       getClassTypeId()
63          Returns type identifier for this class.
64
65

SEE ALSO

67       SoText2, SoText3, SoDetail, SoPickedPoint, SoPrimitiveVertex
68
69
70
71
72                                                           SoTextDetail(3IV)()
Impressum