Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sotexturecoordinatebundle(3) [debian man page]

SoTextureCoordinateBundle(3)					       Coin					      SoTextureCoordinateBundle(3)

NAME
SoTextureCoordinateBundle - The 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. SYNOPSIS
#include <include/Inventor/bundles/SoTextureCoordinateBundle.h> Inherits SoBundle. Public Member Functions SoTextureCoordinateBundle (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 Description The 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 *constaction, const SbBoolforRendering, const SbBoolsetUpDefault = 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) const Returns TRUE if texture coordinates is needed during rendering. SbBool SoTextureCoordinateBundle::isFunction (void) const Returns TRUE if a texture coordinate function should be used. const SbVec4f & SoTextureCoordinateBundle::get (const intindex) 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 intindex) const [inline] Send texture coordinates to GL. Should only be used if SoTextureCoordinateBundle::isFunction() is FALSE. void SoTextureCoordinateBundle::send (const intindex, 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) const Returns 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 Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoTextureCoordinateBundle(3)

Check Out this Related Man Page

SoCoordinateElement(3)						       Coin						    SoCoordinateElement(3)

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 SoType getClassTypeId (void) static int getClassStackIndex (void) static void * createInstance (void) 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 Additional Inherited Members 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 SoType SoCoordinateElement::getClassTypeId (void) [static] This static method returns the class type. Reimplemented from SoReplacedElement. Reimplemented in SoGLCoordinateElement. int SoCoordinateElement::getClassStackIndex (void) [static] This static method returns the state stack index for the class. Reimplemented from SoReplacedElement. Reimplemented in SoGLCoordinateElement. void * SoCoordinateElement::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. Reimplemented in SoGLCoordinateElement. 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 () const Returns 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 () const Returns 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. Version 3.1.3 Wed May 23 2012 SoCoordinateElement(3)
Man Page