SoCoordinateElement

Langue: en

Autres versions - même langue

Version: 339170 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

SoCoordinateElement -

The SoCoordinateElement class is yet to be documented.

FIXME: write doc.

SYNOPSIS


#include <Inventor/elements/SoCoordinateElement.h>

Inherits SoReplacedElement.

Inherited by SoGLCoordinateElement.

Public Member Functions


virtual void init (SoState *state)
FIXME: write doc.
int32_t getNum () const
FIXME: write doc.
SbBool is3D () const
FIXME: write doc.
const SbVec3f & get3 (const int index) const
FIXME: write doc.
const SbVec4f & get4 (const int index) const
FIXME: write doc.
const SbVec3f * getArrayPtr3 () const

const SbVec4f * getArrayPtr4 () const

virtual void print (FILE *file) const
FIXME: write doc.

Static Public Member Functions


static void initClass (void)

static void set3 (SoState *const state, SoNode *const node, const int32_t numCoords, const SbVec3f *const coords)
FIXME: write doc.
static void set4 (SoState *const state, SoNode *const node, const int32_t numCoords, const SbVec4f *const coords)
FIXME: write doc.
static const SoCoordinateElement * getInstance (SoState *const state)
FIXME: write doc.
static SbVec3f getDefault3 ()
FIXME: write doc.
static SbVec4f getDefault4 ()
FIXME: write doc.

Protected Member Functions


virtual ~SoCoordinateElement ()

Protected Attributes


int32_t numCoords

const SbVec3f * coords3D

const SbVec4f * coords4D

SbBool areCoords3D

Detailed Description

The SoCoordinateElement class is yet to be documented.

FIXME: write doc.

Constructor & Destructor Documentation

SoCoordinateElement::~SoCoordinateElement (void) [protected, virtual]The destructor.

Member Function Documentation

void SoCoordinateElement::initClass (void) [static]This static method initializes static data for the SoCoordinateElement class.

Reimplemented from SoReplacedElement.

Reimplemented in SoGLCoordinateElement.

const SbVec3f * SoCoordinateElement::getArrayPtr3 () constReturns a pointer to the 3D coordinate array. Don't use this method unless SoCoordinateElement::is3D() returns TRUE.

This method is not part of the original SGI Open Inventor v2.1 API.

Since:

Coin 1.0

const SbVec4f * SoCoordinateElement::getArrayPtr4 () constReturns a pointer to the 4D coordinate array. Don't use this method unless SoCoordinateElement::is3D() returns FALSE.

This method is not part of the original SGI Open Inventor v2.1 API.

Since:

Coin 1.0

Member Data Documentation

SoCoordinateElement::numCoords [protected]FIXME: write doc.

SoCoordinateElement::coords3D [protected]FIXME: write doc.

SoCoordinateElement::coords4D [protected]FIXME: write doc.

SoCoordinateElement::areCoords3D [protected]FIXME: write doc.

Author

Generated automatically by Doxygen for Coin from the source code.