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

NAMESoTextureCoordinateBundle − The SoTextureCoordinateBundle class simplifies texture coordinate handling​.

SYNOPSIS
#include <include/Inventor/bundles/SoTextureCoordinateBundle​.h> Inherits SoBundle​.

Public Member FunctionsSoTextureCoordinateBundle (SoAction *const action, const SbBool forRendering, const SbBool setUpDefault=TRUE)
~SoTextureCoordinateBundle ()
SbBool needCoordinates (void) const
SbBool isFunction (void) const
const SbVec4f & get (const int index)
const SbVec4f & get (const SbVec3f &point, const SbVec3f &normal)
void send (const int index) const
void send (const int index, const SbVec3f &point, const SbVec3f &normal) const
SbBool needIndices (void) const

Additional Inherited Members

Detailed DescriptionThe SoTextureCoordinateBundle class simplifies texture coordinate handling​. It is unlikely that application programmers should need to know how to use this class, as it is mostly intended for internal use​.

Constructor & Destructor Documentation

SoTextureCoordinateBundle::SoTextureCoordinateBundle (SoAction *const action, const SbBool forRendering, const SbBool setUpDefault = TRUE)Constructor with action being the action applied to the node​. The forRendering parameter must be TRUE if the bundle is to be used for sending texture coordinates to GL during rendering​. The setUpDefault must be TRUE if default texture coordinates should be generated​.

SoTextureCoordinateBundle::~SoTextureCoordinateBundle ()Destructor​.

Member Function Documentation

SbBool SoTextureCoordinateBundle::needCoordinates (void) constReturns TRUE if texture coordinates is needed during rendering​.

SbBool SoTextureCoordinateBundle::isFunction (void) constReturns TRUE if a texture coordinate function should be used​.

const SbVec4f & SoTextureCoordinateBundle::get (const int index)Returns the texture coordinates at index index​. Should only be used if SoTextureCoordinateBundle::isFunction() is FALSE​.

const SbVec4f & SoTextureCoordinateBundle::get (const SbVec3f & point, const SbVec3f & normal)Returns the texture coordinates based on point and normal​. Should only be used if SoTextureCoordinateBundle::isFunction() is TRUE​.

void SoTextureCoordinateBundle::send (const int index) const [inline]Send texture coordinates to GL​. Should only be used if SoTextureCoordinateBundle::isFunction() is FALSE​.

void SoTextureCoordinateBundle::send (const int index, const SbVec3f & point, const SbVec3f & normal) const [inline]Convenience function that will make it transparent to the rendering code if ordinary texture coordinates or function texture coordinates are used​.

SbBool SoTextureCoordinateBundle::needIndices (void) constReturns TRUE if isFunction() is TRUE, but the texture coordinate indices are needed either by bump mapping or by one of the other texture units​. Since Coin 2​.2

AuthorGenerated automatically by Doxygen for Coin from the source code​.
0
Johanes Gumabo
Data Size   :   15,219 byte
man-SoTextureCoordinateBundle.3coin3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 199,972
Visitor ID   :     :  
Visitor IP   :   3.15.225.188   :  
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.