The SoTextureCoordinateElement class is yet to be documented.FIXME: write doc.
More...
#include <Inventor/elements/SoTextureCoordinateElement.h>
|
enum | CoordType {
NONE = 0,
TEXGEN = 0,
EXPLICIT = 1,
FUNCTION = 2,
DEFAULT = 3
} |
|
|
static SoType | getClassTypeId (void) |
|
static int | getClassStackIndex (void) |
|
static void * | createInstance (void) |
|
static void | initClass (void) |
|
static void | setDefault (SoState *const state, SoNode *const node) |
| FIXME: write doc.
|
|
static void | setFunction (SoState *const state, SoNode *const node, SoTextureCoordinateFunctionCB *const func, void *const userdata) |
| FIXME: write doc.
|
|
static void | set2 (SoState *const state, SoNode *const node, const int32_t numCoords, const SbVec2f *const coords) |
| FIXME: write doc.
|
|
static void | set3 (SoState *const state, SoNode *const node, const int32_t numCoords, const SbVec3f *const coords) |
|
static void | set4 (SoState *const state, SoNode *const node, const int32_t numCoords, const SbVec4f *const coords) |
| FIXME: write doc.
|
|
static CoordType | getType (SoState *const state) |
|
static const SoTextureCoordinateElement * | getInstance (SoState *const state) |
| FIXME: write doc.
|
|
static SoType | getClassTypeId (void) |
|
static int | getClassStackIndex (void) |
|
static void | initClass (void) |
|
static void | initClass (void) |
|
static SoType | getClassTypeId (void) |
|
static int | getClassStackIndex (void) |
|
static void | initElements (void) |
|
static int | getNumStackIndices (void) |
|
static SoType | getIdFromStackIndex (const int stackIndex) |
|
The SoTextureCoordinateElement class is yet to be documented.
FIXME: write doc.
Be aware that this class is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
- Since
- Coin 2.2
◆ CoordType
◆ ~SoTextureCoordinateElement()
SoTextureCoordinateElement::~SoTextureCoordinateElement |
( |
| ) |
|
|
protectedvirtual |
◆ createInstance()
void * SoTextureCoordinateElement::createInstance |
( |
void |
| ) |
|
|
static |
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
◆ initClass()
void SoTextureCoordinateElement::initClass |
( |
void |
| ) |
|
|
static |
◆ set3()
void SoTextureCoordinateElement::set3 |
( |
SoState *const |
state, |
|
|
SoNode *const |
node, |
|
|
const int32_t |
numCoords, |
|
|
const SbVec3f *const |
coords |
|
) |
| |
|
static |
FIXME: write doc.
This function is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
- Since
- Coin 2.0
◆ getType()
This method is used by shapes. Three return values are possible.
DEFAULT means that the shapes should generate their own texture coordinates.
EXPLICIT means that discrete texture coordinates are stored, and should be fetched with get2(), get3() or get4().
FUNCTION means that get(point, normal) must be used to generate texture coordinates.
◆ get()
This method returns texture coordinate for the given point and normal. The coordinate is returned as a 4D vector where the r and q coordinates may be set to 0 and 1 respecively depending on what texture coordinate dimension we're using.
This method should only be used if the CoordType is FUNCTION.
◆ getDimension()
int32_t SoTextureCoordinateElement::getDimension |
( |
void |
| ) |
const |
FIXME: write doc.
This function is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
- Since
- Coin 2.0
◆ get3()
const SbVec3f & SoTextureCoordinateElement::get3 |
( |
const int |
index | ) |
const |
FIXME: write doc.
This function is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
- Since
- Coin 2.0
◆ getArrayPtr2()
const SbVec2f * SoTextureCoordinateElement::getArrayPtr2 |
( |
void |
| ) |
const |
Returns a pointer to the 2D texture coordinate array. This method is not part of the OIV API.
◆ getArrayPtr3()
const SbVec3f * SoTextureCoordinateElement::getArrayPtr3 |
( |
void |
| ) |
const |
Returns a pointer to the 3D texture coordinate array.
This function is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
- Since
- Coin 2.0
◆ getArrayPtr4()
const SbVec4f * SoTextureCoordinateElement::getArrayPtr4 |
( |
void |
| ) |
const |
Returns a pointer to the 4D texture coordinate array. This method is not part of the OIV API.
◆ whatKind
SoTextureCoordinateElement::whatKind |
|
protected |
◆ funcCB
SoTextureCoordinateElement::funcCB |
|
protected |
◆ funcCBData
SoTextureCoordinateElement::funcCBData |
|
protected |
◆ numCoords
SoTextureCoordinateElement::numCoords |
|
protected |
◆ coords2
SoTextureCoordinateElement::coords2 |
|
protected |
◆ coords3
SoTextureCoordinateElement::coords3 |
|
protected |
FIXME: write doc.
This function is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
- Since
- Coin 2.0
◆ coords4
SoTextureCoordinateElement::coords4 |
|
protected |
◆ coordsDimension
SoTextureCoordinateElement::coordsDimension |
|
protected |
FIXME: write doc.
This function is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
- Since
- Coin 2.0
◆ convert2
SoTextureCoordinateElement::convert2 |
|
protected |
◆ convert3
SoTextureCoordinateElement::convert3 |
|
protected |
FIXME: write doc.
This function is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
- Since
- Coin 2.0
◆ convert4
SoTextureCoordinateElement::convert4 |
|
protected |
The documentation for this class was generated from the following files: