Open Inventor Reference
SoProfileElement Class Reference

Element storing 2D profiles for nurbs and 3d text. More...

#include <Inventor/elements/SoProfileElement.h>

Inheritance diagram for SoProfileElement:
SoAccumulatedElement SoElement

List of all members.

Public Types

enum  Profile { START_FIRST, START_NEW, ADD_TO_CURRENT }

Public Member Functions

virtual void init (SoState *state)
 Initializes element.
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)

Static Public Member Functions

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 void initClass ()
 Initializes the SoCoordinateElement class.

Protected Member Functions

virtual ~SoProfileElement ()

Protected Attributes

SoNodeList profiles
 list of profile nodes

Detailed Description

Definition at line 74 of file SoProfileElement.h.


Member Enumeration Documentation

Enumerator:
START_FIRST 
START_NEW 
ADD_TO_CURRENT 

Definition at line 79 of file SoProfileElement.h.


Constructor & Destructor Documentation

virtual SoProfileElement::~SoProfileElement ( ) [protected, virtual]

Member Function Documentation

static void SoProfileElement::add ( SoState state,
SoProfile profile 
) [static]
static const SoNodeList& SoProfileElement::get ( SoState state) [static]
virtual void SoProfileElement::init ( SoState state) [virtual]

Reimplemented from SoElement.

static void SoProfileElement::initClass ( ) [static]

Reimplemented from SoAccumulatedElement.

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

Reimplemented from SoAccumulatedElement.

virtual void SoProfileElement::push ( SoState state) [virtual]

Reimplemented from SoElement.


Member Data Documentation

Definition at line 106 of file SoProfileElement.h.


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