.TH "SoGLMultiTextureCoordinateElement" 3 "Fri Sep 6 2024 15:32:06" "Version 4.0.3" "Coin" \" -*- nroff -*- .ad l .nh .SH NAME SoGLMultiTextureCoordinateElement \- The \fBSoGLMultiTextureCoordinateElement\fP class stores the current gltexture coordinates for several units\&. .SH SYNOPSIS .br .PP .PP \fR#include \fP .PP Inherits \fBSoMultiTextureCoordinateElement\fP\&. .SS "Classes" .in +1c .ti -1c .RI "class \fBGLUnitData\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "virtual void \fBinit\fP (\fBSoState\fP *state)" .br .RI "FIXME: write doc\&. " .ti -1c .RI "virtual void \fBpush\fP (\fBSoState\fP *state)" .br .RI "FIXME: write doc\&. " .ti -1c .RI "virtual void \fBpop\fP (\fBSoState\fP *state, const \fBSoElement\fP *prevTopElement)" .br .RI "FIXME: write doc\&. " .ti -1c .RI "virtual CoordType \fBgetType\fP (const int unit=0) const" .br .RI "FIXME: write doc\&. " .ti -1c .RI "void \fBsend\fP (const int unit, const int index) const" .br .RI "FIXME: write doc\&. " .ti -1c .RI "void \fBsend\fP (const int unit, const int index, const \fBSbVec3f\fP &c, const \fBSbVec3f\fP &n) const" .br .RI "FIXME: write doc\&. " .ti -1c .RI "void \fBinitRender\fP (const SbBool *enabled, const int maxenabled) const" .br .ti -1c .RI "void \fBsend\fP (const int index) const" .br .ti -1c .RI "void \fBsend\fP (const int index, const \fBSbVec3f\fP &c, const \fBSbVec3f\fP &n) const" .br .ti -1c .RI "void \fBinitMulti\fP (\fBSoState\fP *state) const" .br .in -1c Public Member Functions inherited from \fBSoMultiTextureCoordinateElement\fP .in +1c .ti -1c .RI "const \fBSbVec4f\fP & \fBget\fP (const int unit, const \fBSbVec3f\fP &point, const \fBSbVec3f\fP &normal) const" .br .ti -1c .RI "int32_t \fBgetNum\fP (const int unit=0) const" .br .RI "FIXME: write doc\&. " .ti -1c .RI "SbBool \fBis2D\fP (const int unit=0) const" .br .RI "FIXME: write doc\&. (for backwards compatibility\&. Use \fBgetDimension()\fP instead)\&. " .ti -1c .RI "int32_t \fBgetDimension\fP (const int unit=0) const" .br .ti -1c .RI "const \fBSbVec2f\fP & \fBget2\fP (const int unit, const int index) const" .br .RI "FIXME: write doc\&. " .ti -1c .RI "const \fBSbVec3f\fP & \fBget3\fP (const int unit, const int index) const" .br .ti -1c .RI "const \fBSbVec4f\fP & \fBget4\fP (const int unit, const int index) const" .br .RI "FIXME: write doc\&. " .ti -1c .RI "const \fBSbVec2f\fP * \fBgetArrayPtr2\fP (const int unit=0) const" .br .ti -1c .RI "const \fBSbVec3f\fP * \fBgetArrayPtr3\fP (const int unit=0) const" .br .ti -1c .RI "const \fBSbVec4f\fP * \fBgetArrayPtr4\fP (const int unit=0) const" .br .ti -1c .RI "virtual SbBool \fBmatches\fP (const \fBSoElement\fP *elem) const" .br .ti -1c .RI "\fBSoElement\fP * \fBcopyMatchInfo\fP (void) const" .br .ti -1c .RI "const \fBSbVec4f\fP & \fBget\fP (const \fBSbVec3f\fP &point, const \fBSbVec3f\fP &normal) const" .br .ti -1c .RI "const \fBSbVec2f\fP & \fBget2\fP (const int index) const" .br .ti -1c .RI "const \fBSbVec3f\fP & \fBget3\fP (const int index) const" .br .ti -1c .RI "const \fBSbVec4f\fP & \fBget4\fP (const int index) const" .br .in -1c Public Member Functions inherited from \fBSoElement\fP .in +1c .ti -1c .RI "const \fBSoType\fP \fBgetTypeId\fP (void) const" .br .ti -1c .RI "int \fBgetStackIndex\fP (void) const" .br .ti -1c .RI "void \fBsetDepth\fP (const int \fBdepth\fP)" .br .ti -1c .RI "int \fBgetDepth\fP (void) const" .br .ti -1c .RI "virtual void \fBprint\fP (FILE *file=stdout) const" .br .ti -1c .RI "virtual \fB~SoElement\fP ()" .br .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .ti -1c .RI "static int \fBgetClassStackIndex\fP (void)" .br .ti -1c .RI "static void * \fBcreateInstance\fP (void)" .br .ti -1c .RI "static void \fBinitClass\fP (void)" .br .ti -1c .RI "static void \fBsetTexGen\fP (\fBSoState\fP *const state, \fBSoNode\fP *const node, const int unit, SoTexCoordTexgenCB *const texgenFunc, void *const texgenData=NULL, SoTextureCoordinateFunctionCB *const func=NULL, void *const funcData=NULL)" .br .RI "FIXME: write doc\&. " .ti -1c .RI "static const \fBSoGLMultiTextureCoordinateElement\fP * \fBgetInstance\fP (\fBSoState\fP *const state)" .br .RI "FIXME: write doc\&. " .ti -1c .RI "static void \fBsetTexGen\fP (\fBSoState\fP *const state, \fBSoNode\fP *const node, SoTexCoordTexgenCB *const texgenFunc, void *const texgenData=NULL, SoTextureCoordinateFunctionCB *const func=NULL, void *const funcData=NULL)" .br .in -1c Static Public Member Functions inherited from \fBSoMultiTextureCoordinateElement\fP .in +1c .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .ti -1c .RI "static int \fBgetClassStackIndex\fP (void)" .br .ti -1c .RI "static void * \fBcreateInstance\fP (void)" .br .ti -1c .RI "static void \fBinitClass\fP (void)" .br .ti -1c .RI "static void \fBsetDefault\fP (\fBSoState\fP *const state, \fBSoNode\fP *const node, const int unit=0)" .br .RI "FIXME: write doc\&. " .ti -1c .RI "static void \fBsetFunction\fP (\fBSoState\fP *const state, \fBSoNode\fP *const node, const int unit, SoTextureCoordinateFunctionCB *const func, void *const userdata)" .br .RI "FIXME: write doc\&. " .ti -1c .RI "static void \fBset2\fP (\fBSoState\fP *const state, \fBSoNode\fP *const node, const int unit, const int32_t numCoords, const \fBSbVec2f\fP *const coords)" .br .RI "FIXME: write doc\&. " .ti -1c .RI "static void \fBset3\fP (\fBSoState\fP *const state, \fBSoNode\fP *const node, const int unit, const int32_t numCoords, const \fBSbVec3f\fP *const coords)" .br .ti -1c .RI "static void \fBset4\fP (\fBSoState\fP *const state, \fBSoNode\fP *const node, const int unit, const int32_t numCoords, const \fBSbVec4f\fP *const coords)" .br .RI "FIXME: write doc\&. " .ti -1c .RI "static CoordType \fBgetType\fP (\fBSoState\fP *const state, const int unit=0)" .br .ti -1c .RI "static const \fBSoMultiTextureCoordinateElement\fP * \fBgetInstance\fP (\fBSoState\fP *const state)" .br .RI "FIXME: write doc\&. " .ti -1c .RI "static void \fBsetFunction\fP (\fBSoState\fP *const state, \fBSoNode\fP *const node, SoTextureCoordinateFunctionCB *const func, void *const userdata)" .br .ti -1c .RI "static void \fBset2\fP (\fBSoState\fP *const state, \fBSoNode\fP *const node, const int32_t numCoords, const \fBSbVec2f\fP *const coords)" .br .ti -1c .RI "static void \fBset3\fP (\fBSoState\fP *const state, \fBSoNode\fP *const node, const int32_t numCoords, const \fBSbVec3f\fP *const coords)" .br .ti -1c .RI "static void \fBset4\fP (\fBSoState\fP *const state, \fBSoNode\fP *const node, const int32_t numCoords, const \fBSbVec4f\fP *const coords)" .br .in -1c Static Public Member Functions inherited from \fBSoElement\fP .in +1c .ti -1c .RI "static void \fBinitClass\fP (void)" .br .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .ti -1c .RI "static int \fBgetClassStackIndex\fP (void)" .br .ti -1c .RI "static void \fBinitElements\fP (void)" .br .ti -1c .RI "static int \fBgetNumStackIndices\fP (void)" .br .ti -1c .RI "static \fBSoType\fP \fBgetIdFromStackIndex\fP (const int \fBstackIndex\fP)" .br .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "\fBSoGLMultiTextureCoordinateElement\fP (void)" .br .ti -1c .RI "virtual \fB~SoGLMultiTextureCoordinateElement\fP ()" .br .ti -1c .RI "virtual void \fBsetElt\fP (const int unit, SoTexCoordTexgenCB *func, void *data=NULL)" .br .RI "FIXME: write doc\&. " .in -1c Protected Member Functions inherited from \fBSoMultiTextureCoordinateElement\fP .in +1c .ti -1c .RI "\fBSoMultiTextureCoordinateElement\fP (void)" .br .ti -1c .RI "virtual \fB~SoMultiTextureCoordinateElement\fP ()" .br .ti -1c .RI "int \fBgetMaxUnits\fP () const" .br .ti -1c .RI "\fBUnitData\fP & \fBgetUnitData\fP (const int unit)" .br .ti -1c .RI "const \fBUnitData\fP & \fBgetUnitData\fP (const int unit) const" .br .in -1c Protected Member Functions inherited from \fBSoElement\fP .in +1c .ti -1c .RI "\fBSoElement\fP (void)" .br .ti -1c .RI "void \fBcapture\fP (\fBSoState\fP *const state) const" .br .ti -1c .RI "virtual void \fBcaptureThis\fP (\fBSoState\fP *state) const" .br .ti -1c .RI "void \fBsetTypeId\fP (const \fBSoType\fP \fBtypeId\fP)" .br .ti -1c .RI "void \fBsetStackIndex\fP (const int index)" .br .ti -1c .RI "\fBSoElement\fP * \fBgetNextInStack\fP (void) const" .br .ti -1c .RI "\fBSoElement\fP * \fBgetNextFree\fP (void) const" .br .in -1c .SS "Additional Inherited Members" Public Types inherited from \fBSoMultiTextureCoordinateElement\fP .in +1c .ti -1c .RI "enum \fBCoordType\fP { \fBNONE\fP = 0, \fBTEXGEN\fP = 0, \fBEXPLICIT\fP = 1, \fBFUNCTION\fP = 2, \fBDEFAULT\fP = 3 }" .br .in -1c Static Protected Member Functions inherited from \fBSoElement\fP .in +1c .ti -1c .RI "static \fBSoElement\fP * \fBgetElement\fP (\fBSoState\fP *const state, const int \fBstackIndex\fP)" .br .ti -1c .RI "static const \fBSoElement\fP * \fBgetConstElement\fP (\fBSoState\fP *const state, const int \fBstackIndex\fP)" .br .ti -1c .RI "static int \fBcreateStackIndex\fP (const \fBSoType\fP id)" .br .in -1c Protected Attributes inherited from \fBSoMultiTextureCoordinateElement\fP .in +1c .ti -1c .RI "\fBSbVec2f\fP \fBconvert2\fP" .br .ti -1c .RI "\fBSbVec3f\fP \fBconvert3\fP" .br .ti -1c .RI "\fBSbVec4f\fP \fBconvert4\fP" .br .in -1c Protected Attributes inherited from \fBSoElement\fP .in +1c .ti -1c .RI "\fBSoType\fP \fBtypeId\fP" .br .ti -1c .RI "int \fBstackIndex\fP" .br .ti -1c .RI "int \fBdepth\fP" .br .in -1c Static Protected Attributes inherited from \fBSoElement\fP .in +1c .ti -1c .RI "static int \fBclassStackIndex\fP" .br .ti -1c .RI "static \fBSoTypeList\fP * \fBstackToType\fP" .br .in -1c .SH "Detailed Description" .PP The \fBSoGLMultiTextureCoordinateElement\fP class stores the current gltexture coordinates for several units\&. .SH "Constructor & Destructor Documentation" .PP .SS "SoGLMultiTextureCoordinateElement::SoGLMultiTextureCoordinateElement (void )\fR [protected]\fP" Constructor\&. .SS "SoGLMultiTextureCoordinateElement::~SoGLMultiTextureCoordinateElement ()\fR [protected]\fP, \fR [virtual]\fP" Destructor\&. .SH "Member Function Documentation" .PP .SS "\fBSoType\fP SoGLMultiTextureCoordinateElement::getClassTypeId (void )\fR [static]\fP" This static method returns the \fBSoType\fP object associated with objects of this class\&. .br .SS "int SoGLMultiTextureCoordinateElement::getClassStackIndex (void )\fR [static]\fP" This static method returns the state stack index for the class\&. .br .SS "void * SoGLMultiTextureCoordinateElement::createInstance (void )\fR [static]\fP" \fIThis API member is considered internal to the library, as it is not likely to be of interest to the application programmer\&.\fP .br .br Creates a new instance of the class type corresponding to the \fBSoType\fP object\&. .br .SS "void SoGLMultiTextureCoordinateElement::initClass (void )\fR [static]\fP" Initialize relevant common data for all instances, like the type system\&. .SS "void SoGLMultiTextureCoordinateElement::init (\fBSoState\fP * state)\fR [virtual]\fP" .PP FIXME: write doc\&. .PP Reimplemented from \fBSoMultiTextureCoordinateElement\fP\&. .SS "void SoGLMultiTextureCoordinateElement::push (\fBSoState\fP * state)\fR [virtual]\fP" .PP FIXME: write doc\&. .PP Reimplemented from \fBSoMultiTextureCoordinateElement\fP\&. .SS "void SoGLMultiTextureCoordinateElement::pop (\fBSoState\fP * state, const \fBSoElement\fP * prevTopElement)\fR [virtual]\fP" .PP FIXME: write doc\&. .PP Reimplemented from \fBSoElement\fP\&. .SS "SoMultiTextureCoordinateElement::CoordType SoGLMultiTextureCoordinateElement::getType (const int unit = \fR0\fP) const\fR [virtual]\fP" .PP FIXME: write doc\&. .PP Reimplemented from \fBSoMultiTextureCoordinateElement\fP\&. .SS "void SoGLMultiTextureCoordinateElement::initRender (const SbBool * enabled, const int maxenabled) const" Internal method that is called from SoGLTextureCoordinateBundle to set up optimized rendering\&. .SS "void SoGLMultiTextureCoordinateElement::initMulti (\fBSoState\fP * state) const" Called from \fBSoTextureCoordinateBundle\fP to initialize multi texturing\&. .SH "Author" .PP Generated automatically by Doxygen for Coin from the source code\&.