SoMultiTextureCoordinateElement - Online Linux Manual PageSection : 3
Updated : Mon Jan 25 2021
Source : Version 4.0.0
Note : Coin

NAMESoMultiTextureCoordinateElement − The SoMultiTextureCoordinateElement class is yet to be documented​.

SYNOPSIS
#include <Inventor/elements/SoMultiTextureCoordinateElement​.h> Inherits SoElement​. Inherited by SoGLMultiTextureCoordinateElement​.

Classesclass UnitData

Public Typesenum CoordType { NONE = 0, TEXGEN = 0, EXPLICIT = 1, FUNCTION = 2, DEFAULT = 3 }

Public Member Functionsvirtual void init (SoState *state)
FIXME: write doc​.
virtual CoordType getType (const int unit=0) const
FIXME: write doc​.
const SbVec4f & get (const int unit, const SbVec3f &point, const SbVec3f &normal) const
int32_t getNum (const int unit=0) const
FIXME: write doc​.
SbBool is2D (const int unit=0) const
FIXME: write doc​. (for backwards compability​. Use getDimension() instead)​.
int32_t getDimension (const int unit=0) const
const SbVec2f & get2 (const int unit, const int index) const
FIXME: write doc​.
const SbVec3f & get3 (const int unit, const int index) const
const SbVec4f & get4 (const int unit, const int index) const
FIXME: write doc​.
const SbVec2f * getArrayPtr2 (const int unit=0) const
const SbVec3f * getArrayPtr3 (const int unit=0) const
const SbVec4f * getArrayPtr4 (const int unit=0) const
virtual void push (SoState *state)
virtual SbBool matches (const SoElement *elem) const
SoElement * copyMatchInfo (void) const
const SbVec4f & get (const SbVec3f &point, const SbVec3f &normal) const
const SbVec2f & get2 (const int index) const
const SbVec3f & get3 (const int index) const
const SbVec4f & get4 (const int index) const

Static Public Member Functionsstatic SoType getClassTypeId (void)
static int getClassStackIndex (void)
static void * createInstance (void)
static void initClass (void)
static void setDefault (SoState *const state, SoNode *const node, const int unit=0)
FIXME: write doc​.
static void setFunction (SoState *const state, SoNode *const node, const int unit, SoTextureCoordinateFunctionCB *const func, void *const userdata)
FIXME: write doc​.
static void set2 (SoState *const state, SoNode *const node, const int unit, const int32_t numCoords, const SbVec2f *const coords)
FIXME: write doc​.
static void set3 (SoState *const state, SoNode *const node, const int unit, const int32_t numCoords, const SbVec3f *const coords)
static void set4 (SoState *const state, SoNode *const node, const int unit, const int32_t numCoords, const SbVec4f *const coords)
FIXME: write doc​.
static CoordType getType (SoState *const state, const int unit=0)
static const SoMultiTextureCoordinateElement * getInstance (SoState *const state)
FIXME: write doc​.
static void setFunction (SoState *const state, SoNode *const node, SoTextureCoordinateFunctionCB *const func, void *const userdata)
static void set2 (SoState *const state, SoNode *const node, const int32_t numCoords, const SbVec2f *const coords)
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)

Protected Member FunctionsSoMultiTextureCoordinateElement (void)
virtual ~SoMultiTextureCoordinateElement ()
int getMaxUnits () const
UnitData & getUnitData (const int unit)
const UnitData & getUnitData (const int unit) const

Protected AttributesSbVec2f convert2
SbVec3f convert3
SbVec4f convert4

Additional Inherited Members

Detailed DescriptionThe SoMultiTextureCoordinateElement 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

Constructor & Destructor Documentation

SoMultiTextureCoordinateElement::SoMultiTextureCoordinateElement (void) [protected]The constructor​.

SoMultiTextureCoordinateElement::~SoMultiTextureCoordinateElement () [protected], [virtual]The destructor​.

Member Function Documentation

void * SoMultiTextureCoordinateElement::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​.


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

void SoMultiTextureCoordinateElement::set3 (SoState *const state, SoNode *const node, const int unit, const int32_t numCoords, const SbVec3f *const coords) [static]FIXME: write doc​.

SoMultiTextureCoordinateElement::CoordType SoMultiTextureCoordinateElement::getType (SoState *const state, const int unit = 0) [static]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​.

const SbVec4f & SoMultiTextureCoordinateElement::get (const int unit, const SbVec3f & point, const SbVec3f & normal) constThis 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​.

int32_t SoMultiTextureCoordinateElement::getDimension (const int unit = 0) constFIXME: write doc​.

const SbVec3f & SoMultiTextureCoordinateElement::get3 (const int unit, const int index) constFIXME: write doc​.

const SbVec2f * SoMultiTextureCoordinateElement::getArrayPtr2 (const int unit = 0) constReturns a pointer to the 2D texture coordinate array​. This method is not part of the OIV API​.

const SbVec3f * SoMultiTextureCoordinateElement::getArrayPtr3 (const int unit = 0) constReturns a pointer to the 3D texture coordinate array​.

const SbVec4f * SoMultiTextureCoordinateElement::getArrayPtr4 (const int unit = 0) constReturns a pointer to the 4D texture coordinate array​. This method is not part of the OIV API​.

void SoMultiTextureCoordinateElement::push (SoState * state) [virtual]This method is called every time a new element is required in one of the stacks​. This happens when a writable element is requested, using SoState::getElement() or indirectly SoElement::getElement(), and the depth of the current element is less than the state depth​. Override this method if your element needs to copy data from the previous top of stack​. The push() method is called on the new element, and the previous element can be found using SoElement::getNextInStack()​. Reimplemented from SoElement​. Reimplemented in SoGLMultiTextureCoordinateElement​.

SbBool SoMultiTextureCoordinateElement::matches (const SoElement * element) const [virtual]This function returns TRUE is the element matches another element (of the same class), with respect to cache validity​. If the application programmer's extension element has a matches() function, it should also have a copyMatchInfo() function​. Implements SoElement​.

SoElement * SoMultiTextureCoordinateElement::copyMatchInfo (void) const [virtual]This function creates a copy of the element that contains enough information to enable the matches() function to work​. Used to help with scenegraph traversal caching operations​. Implements SoElement​.

SoMultiTextureCoordinateElement::UnitData & SoMultiTextureCoordinateElement::getUnitData (const int unit) [protected]Returns the per-unit data for this element​.

AuthorGenerated automatically by Doxygen for Coin from the source code​.
0
Johanes Gumabo
Data Size   :   39,857 byte
man-SoMultiTextureCoordinateElement.3coin4Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 197,662
Visitor ID   :     :  
Visitor IP   :   18.191.171.121   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.