1 #ifndef COIN_SOSCENETEXTURE2_H
2 #define COIN_SOSCENETEXTURE2_H
27 #include <Inventor/fields/SoSFVec2s.h>
28 #include <Inventor/fields/SoSFEnum.h>
29 #include <Inventor/fields/SoSFColor.h>
30 #include <Inventor/fields/SoSFNode.h>
31 #include <Inventor/fields/SoSFVec4f.h>
32 #include <Inventor/nodes/SoNode.h>
33 #include <Inventor/nodes/SoSubNode.h>
34 #include <Inventor/elements/SoTextureImageElement.h>
36 class SoSceneTexture2P;
44 static void initClass(
void);
48 MODULATE = SoTextureImageElement::MODULATE,
49 DECAL = SoTextureImageElement::DECAL,
50 BLEND = SoTextureImageElement::BLEND,
51 REPLACE = SoTextureImageElement::REPLACE
55 REPEAT = SoTextureImageElement::REPEAT,
56 CLAMP = SoTextureImageElement::CLAMP,
57 CLAMP_TO_BORDER = SoTextureImageElement::CLAMP_TO_BORDER
102 #if 0 // not added in Coin-2 (will break the 2.4.6 ABI)
105 #endif // not added in Coin-2
116 void setType(
const Type type);
117 void setSceneTransparencyType(
SoNode * node);
123 SoSceneTexture2P * pimpl;
126 #endif // !COIN_SOSCENETEXTURE2_H
@ ALPHA_TEST
Definition: SoSceneTexture2.h:63
TransparencyFunction
Definition: SoSceneTexture2.h:60
The SoState class manages the Coin scenegraph traversal state data.
Definition: SoState.h:35
SoSFVec4f backgroundColor
Definition: SoSceneTexture2.h:97
virtual void rayPick(SoRayPickAction *action)
Definition: SoNode.cpp:1087
virtual void apply(SoNode *root)
Definition: SoAction.cpp:476
@ REPLACE
Definition: SoSceneTexture2.h:51
void pop(void)
Definition: SoState.cpp:284
SoSFVec2s size
Definition: SoSceneTexture2.h:98
static void post(const char *const source, const char *const format,...)
Definition: SoDebugError.cpp:314
The SoWriteAction class writes a scene graph to file.
Definition: SoWriteAction.h:31
virtual void notify(SoNotList *l)
Definition: SoNode.cpp:423
Model
Definition: SoSceneTexture2.h:47
@ NONE
Definition: SoGLRenderAction.h:57
virtual void GLRender(SoGLRenderAction *action)
Definition: SoNode.cpp:904
Wrap
Definition: SoSceneTexture2.h:54
@ NONE
Definition: SoSceneTexture2.h:61
void push(void)
Definition: SoState.cpp:265
The SoSceneTexture2 class is used to create a 2D texture from a Coin scene graph.
Definition: SoSceneTexture2.h:38
virtual void callback(SoCallbackAction *action)
Definition: SoSceneTexture2.cpp:614
The SoSFVec2s class is a container for an SbVec2s vector.
Definition: SoSFVec2s.h:31
SoSFColor blendColor
Definition: SoSceneTexture2.h:95
SoSFEnum transparencyFunction
Definition: SoSceneTexture2.h:100
virtual void notify(SoNotList *list)
Definition: SoSceneTexture2.cpp:628
static void postWarning(const char *const source, const char *const format,...)
Definition: SoDebugError.cpp:324
The SoAction class is the base class for all traversal actions.
Definition: SoAction.h:67
SoSFEnum model
Definition: SoSceneTexture2.h:94
The SoSFColor class is a container for an SbColor value.
Definition: SoSFColor.h:31
virtual void rayPick(SoRayPickAction *action)
Definition: SoSceneTexture2.cpp:621
@ MODULATE
Definition: SoSceneTexture2.h:48
The SbString class is a string class with convenience functions for string operations.
Definition: SbString.h:42
The SoSFVec4f class is a container for an SbVec4f vector.
Definition: SoSFVec4f.h:31
@ BLEND
Definition: SoSceneTexture2.h:50
void setCacheContext(const uint32_t context)
Definition: SoGLRenderAction.cpp:890
SoSFEnum wrapS
Definition: SoSceneTexture2.h:92
virtual void callback(SoCallbackAction *action)
Definition: SoNode.cpp:974
void setTransparencyType(const TransparencyType type)
Definition: SoGLRenderAction.cpp:770
The SbVec2s class is a 2 dimensional vector with short integer coordinates.
Definition: SbVec2s.h:37
The SoField class is the top-level abstract base class for fields.
Definition: SoField.h:38
void setViewportRegion(const SbViewportRegion &newregion)
Definition: SoGLRenderAction.cpp:676
@ CLAMP
Definition: SoSceneTexture2.h:56
The SoSFEnum class is a container for an enum value.
Definition: SoSFEnum.h:31
@ BLEND
Definition: SoGLRenderAction.h:53
The SoBase class is the top-level superclass for a number of class-hierarchies.
Definition: SoBase.h:41
@ REPEAT
Definition: SoSceneTexture2.h:55
SoState * getState(void) const
Definition: SoAction.cpp:1028
@ DECAL
Definition: SoSceneTexture2.h:49
void switchToNodeTraversal(SoNode *node)
Definition: SoAction.cpp:1279
@ ALPHA_BLEND
Definition: SoSceneTexture2.h:62
void ref(void) const
Definition: SoBase.cpp:574
virtual void doAction(SoAction *action)
Definition: SoSceneTexture2.cpp:583
void addPreRenderCallback(SoGLPreRenderCB *func, void *userdata)
Definition: SoGLRenderAction.cpp:1296
TransparencyType
Definition: SoGLRenderAction.h:50
void setSceneTransparencyType(SoNode *node)
Definition: SoSceneTexture2.cpp:487
The SoCallbackAction class invokes callbacks at specific nodes.
Definition: SoCallbackAction.h:70
SoSFNode scene
Definition: SoSceneTexture2.h:99
The SbViewportRegion class is a viewport within a full window.
Definition: SbViewportRegion.h:31
A basic class for managing a mutex.
Definition: SbMutex.h:30
virtual void GLRender(SoGLRenderAction *action)
Definition: SoSceneTexture2.cpp:499
The SoSFNode class is a container for a single node.
Definition: SoSFNode.h:38
SoAction * getAction(void) const
Definition: SoState.cpp:205
@ SCREEN_DOOR
Definition: SoGLRenderAction.h:51
virtual void write(SoWriteAction *action)
Definition: SoNode.cpp:1189
SbBool isOverride(void) const
Definition: SoNode.cpp:683
SoField * getLastField(void) const
Definition: SoNotification.cpp:167
SbBool isOfType(SoType type) const
Definition: SoBase.cpp:710
void setType(const Type type)
Definition: SoSceneTexture2.cpp:477
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:47
SoSFEnum wrapT
Definition: SoSceneTexture2.h:93
virtual void write(SoWriteAction *action)
Definition: SoSceneTexture2.cpp:648
static SbMatrix identity(void)
Definition: SbMatrix.cpp:748
The SoRayPickAction class does ray intersection with scene graphs.
Definition: SoRayPickAction.h:40
virtual void doAction(SoAction *action)
Definition: SoNode.cpp:761
The SoNotList class is a list of SoNotRec notification records.
Definition: SoNotification.h:34
@ ADD
Definition: SoGLRenderAction.h:52
The SoGLRenderAction class renders the scene graph with OpenGL calls.
Definition: SoGLRenderAction.h:39
The SoTransparencyType class is a node for setting the transparency type for shapes.
Definition: SoTransparencyType.h:31
SbBool isCacheOpen(void) const
Definition: SoState.h:83
The SbVec4f class is a 4 dimensional vector with floating point coordinates.
Definition: SbVec4f.h:34
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Mon Jul 27 2020 for Coin by Doxygen. 1.8.18