SoLinearProfile.3coin2

Langue: en

Version: 382234 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

SoLinearProfile -

The SoLinearProfile class is a node for specifying linear profile curves.

Use nodes of this type if you want to set up profiles that are simply straight lines connected by control points.

SYNOPSIS


#include <Inventor/nodes/SoLinearProfile.h>

Inherits SoProfile.

Public Member Functions


SoLinearProfile (void)

virtual void getTrimCurve (SoState *state, int32_t &numpoints, float *&points, int &floatspervec, int32_t &numknots, float *&knotvector)

virtual void getVertices (SoState *state, int32_t &numvertices, SbVec2f *&vertices)

Static Public Member Functions


static void initClass (void)

Protected Member Functions


virtual ~SoLinearProfile ()

Detailed Description

The SoLinearProfile class is a node for specifying linear profile curves.

Use nodes of this type if you want to set up profiles that are simply straight lines connected by control points.

FILE FORMAT/DEFAULTS:

     LinearProfile {
         index 0
         linkage START_FIRST
     }
 
 


 

Constructor & Destructor Documentation

SoLinearProfile::SoLinearProfile (void)Constructor.

SoLinearProfile::~SoLinearProfile () [protected, virtual]Destructor.

Member Function Documentation

void SoLinearProfile::initClass (void) [static]Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.

Reimplemented from SoProfile.

void SoLinearProfile::getTrimCurve (SoState * state, int32_t & numpoints, float *& points, int & floatspervec, int32_t & numknots, float *& knotvector) [virtual]Return points and knotvector of the state.

Implements SoProfile.

References SbList< Type >::append(), SbList< Type >::getArrayPtr(), SoMField::getNum(), SoProfile::index, SoDebugError::postWarning(), and SbList< Type >::truncate().

void SoLinearProfile::getVertices (SoState * state, int32_t & numvertices, SbVec2f *& vertices) [virtual]Return vertex set of state.

Implements SoProfile.

References SbList< Type >::append(), SbList< Type >::getArrayPtr(), SoMField::getNum(), SoProfile::index, SoDebugError::postWarning(), and SbList< Type >::truncate().

Author

Generated automatically by Doxygen for Coin from the source code.