GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SOTEXTDETAIL (3)

NAME

SoTextDetail — stores detail information about a text node

CONTENTS

Inherits From
Synopsis
Description
Methods
See Also

INHERITS FROM

SoDetail > SoTextDetail

SYNOPSIS

#include <Inventor/details/SoTextDetail.h>

Methods from class SoTextDetail:

       
                    
                     SoTextDetail()    
virtual    
                    
virtual              ~SoTextDetail()    
int32_t    
                    
int32_t              getStringIndex() const    
int32_t    
                    
int32_t              getCharacterIndex() const    
SoText3::Part    
                    
SoText3::Part        getPart() const    
SbBox3f    
                    
SbBox3f              getBoundingBox() const    
SbXfBox3f    
                    
SbXfBox3f            getXfBoundingBox() const    
static SoType    
                    
static SoType        getClassTypeId()

Methods from class SoDetail:

    SoDetail *    
                    
SoDetail *           copy() const    
virtual SoType    
                    
virtual SoType       getTypeId() const    
SbBool    
                    
SbBool               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

       
                    
                     SoTextDetail()    
virtual    
                    
virtual              ~SoTextDetail()
Constructor and destructor.

    int32_t    
                    
int32_t              getStringIndex() const
Returns the index of the relevant string within a multiple-value string field of a text node.

    int32_t    
                    
int32_t              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.

    SoText3::Part    
                    
SoText3::Part        getPart() const
For SoText3, this returns which part was picked or generated.

    SbBox3f    
                    
SbBox3f              getBoundingBox() const    
SbXfBox3f    
                    
SbXfBox3f            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.

    static SoType    
                    
static SoType        getClassTypeId()
Returns type identifier for this class.

SEE ALSO

SoText2, SoText3, SoDetail, SoPickedPoint, SoPrimitiveVertex

Search for    or go to Top of page |  Section 3 |  Main Index


SOTEXTDETAIL(3IV) (-->)

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.