![]() |
http://www.sim.no http://www.coin3d.org |
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. More...
#include <Inventor/nodes/SoLinearProfile.h>
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 () |
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 }
SoLinearProfile::SoLinearProfile | ( | void | ) |
Constructor.
SoLinearProfile::~SoLinearProfile | ( | ) | [protected, virtual] |
Destructor.
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().
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Mon Feb 28 2011 10:12:14 for Coin by Doxygen. 1.7.3