SoTextDetail Class Reference
[Details]

Stores detail information about a text node. More...

#include <Inventor/details/SoTextDetail.h>

Inheritance diagram for SoTextDetail:
SoDetail SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoTextDetail ()
virtual ~SoTextDetail ()
int32_t getStringIndex () const
int32_t getCharacterIndex () const
SoText3::Part getPart () const
virtual SoDetailcopy () const

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

Stores detail information about a text node.

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.

SEE ALSO

SoText2, SoText3, SoDetail, SoPickedPoint, SoPrimitiveVertex


Constructor & Destructor Documentation

SoTextDetail::SoTextDetail (  ) 

Constructor.

virtual SoTextDetail::~SoTextDetail (  )  [virtual]

Destructor.


Member Function Documentation

virtual SoDetail* SoTextDetail::copy (  )  const [virtual]

Returns an instance that is a copy of this instance. The caller is responsible for deleting the copy when it is no longer needed.

Implements SoDetail.

int32_t SoTextDetail::getCharacterIndex (  )  const [inline]

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.

static SoType SoTextDetail::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoDetail.

SoText3::Part SoTextDetail::getPart (  )  const [inline]

For SoText3, this returns which part was picked or generated.

int32_t SoTextDetail::getStringIndex (  )  const [inline]

Returns the index of the relevant string within a multiple-value string field of a text node.

virtual SoType SoTextDetail::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Implements SoTypedObject.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/