Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
SoProfileElement Class Reference

Stores 2D profiles for NURBS and 3D text. More...

#include <Inventor/elements/SoProfileElement.h>

+ Inheritance diagram for SoProfileElement:

Public Types

enum  Profile {
  START_FIRST ,
  START_NEW ,
  ADD_TO_CURRENT
}
 Profile. More...
 

Public Member Functions

virtual void push (SoState *state)
 Overrides push() method to copy values from next instance in the stack.
 
virtual void print (FILE *fp) const
 Prints element (for debugging).
 
- Public Member Functions inherited from SoElement
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.
 

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 add (SoState *state, SoProfile *profile)
 Add to the current profile list.
 
static const SoNodeListget (SoState *state)
 Returns the current list of profile nodes from the state.
 
- Static Public Member Functions inherited from SoAccumulatedElement
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.
 

Detailed Description

Stores 2D profiles for NURBS and 3D text.

This element stores 2D profiles for NURBS and 3D text.

SEE ALSO

SoProfile

Definition at line 73 of file SoProfileElement.h.

Member Enumeration Documentation

◆ Profile

Profile.

Enumerator
START_FIRST 

Start first.

START_NEW 

Start new.

ADD_TO_CURRENT 

Add to current.

Definition at line 80 of file SoProfileElement.h.

Member Function Documentation

◆ add()

static void SoProfileElement::add ( SoState state,
SoProfile profile 
)
static

Add to the current profile list.

◆ get()

static const SoNodeList & SoProfileElement::get ( SoState state)
static

Returns the current list of profile nodes from the state.

◆ getClassStackIndex()

static int SoProfileElement::getClassStackIndex ( )
static

Returns the stack id for this element.


◆ getClassTypeId()

static SoType SoProfileElement::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ print()

virtual void SoProfileElement::print ( FILE *  fp) const
virtual

Prints element (for debugging).

Reimplemented from SoAccumulatedElement.

◆ push()

virtual void SoProfileElement::push ( SoState state)
virtual

Overrides push() method to copy values from next instance in the stack.

Reimplemented from SoAccumulatedElement.


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