Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
SoAnnoText3FontSizeHintElement Class Reference

VSG extension Stores the current font size hint of an SoAnnoText3Property node. More...

#include <Inventor/elements/SoAnnoText3FontSizeHintElement.h>

+ Inheritance diagram for SoAnnoText3FontSizeHintElement:

Public Types

enum  FontSizeHint {
  ANNOTATION ,
  FIT_TEXT_VECTOR
}
 Font size hint. More...
 

Static Public Member Functions

static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static int getClassStackIndex ()
 Returns the stack id for this element.
 
static void set (SoState *state, FontSizeHint hint)
 Sets the value in the state.
 
static FontSizeHint get (SoState *state)
 Returns the current value from the state.
 
static FontSizeHint getDefault ()
 Returns the default value.
 
- Static Public Member Functions inherited from SoInt32Element
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static int getClassStackIndex ()
 Returns the stack id for this element.
 
- Static Public Member Functions inherited from SoElement
static SoType getClassTypeId ()
 Returns type identifier for SoElement class.
 
- Static Public Member Functions inherited from SoTypedObject
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 

Additional Inherited Members

- Public Member Functions inherited from SoInt32Element
virtual void print (FILE *fp) const
 Prints element (for debugging).
 
- Public Member Functions inherited from SoElement
virtual void push (SoState *state)
 Pushes element.
 
virtual void pop (SoState *state, const SoElement *prevTopElement)
 Pops element.
 
virtual SoType getTypeId () const
 Returns type identifier for element instance.
 
- Public Member Functions inherited from SoTypedObject
SbBool isOfType (const SoType &type) const
 Returns TRUE if this object is of the type specified in type or is derived from that type.
 
template<typename TypedObjectClass >
SbBool isOfType () const
 Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class.
 

Detailed Description

VSG extension Stores the current font size hint of an SoAnnoText3Property node.

This element stores the current font size hint of an SoAnnoText3Property node.

SEE ALSO

SoAnnoText3Property

Definition at line 42 of file SoAnnoText3FontSizeHintElement.h.

Member Enumeration Documentation

◆ FontSizeHint

Font size hint.

Enumerator
ANNOTATION 

Annotation.

FIT_TEXT_VECTOR 

Fit text vector.

Definition at line 49 of file SoAnnoText3FontSizeHintElement.h.

Member Function Documentation

◆ get()

static FontSizeHint SoAnnoText3FontSizeHintElement::get ( SoState state)
static

Returns the current value from the state.

◆ getClassStackIndex()

static int SoAnnoText3FontSizeHintElement::getClassStackIndex ( )
static

Returns the stack id for this element.


◆ getClassTypeId()

static SoType SoAnnoText3FontSizeHintElement::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ getDefault()

static FontSizeHint SoAnnoText3FontSizeHintElement::getDefault ( )
static

Returns the default value.

◆ set()

static void SoAnnoText3FontSizeHintElement::set ( SoState state,
FontSizeHint  hint 
)
static

Sets the value in the state.


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