1#ifndef COIN_SOGLRENDERACTION_H
2#define COIN_SOGLRENDERACTION_H
27#include <Inventor/actions/SoAction.h>
28#include <Inventor/actions/SoSubAction.h>
29#include <Inventor/SbBasic.h>
30#include <Inventor/SbViewportRegion.h>
31#include <Inventor/system/inttypes.h>
32#include <Inventor/lists/SoPathList.h>
33#include <Inventor/lists/SbList.h>
35typedef void SoGLRenderPassCB(
void * userdata);
36typedef void SoGLPreRenderCB(
void * userdata,
class SoGLRenderAction * action);
37typedef float SoGLSortedObjectOrderCB(
void * userdata,
SoGLRenderAction * action);
39class SoGLRenderActionP;
96 void setPassCallback(SoGLRenderPassCB *
const func,
void *
const userdata);
104 void setCurPass(
const int passnum,
const int numpasses);
120 SoGLSortedObjectOrderCB * cb = NULL,
121 void * closure = NULL);
130 friend class SoGLRenderActionP;
135 SbPimplPtr<SoGLRenderActionP> pimpl;
The SbVec2f class is a 2 dimensional vector with floating point coordinates.
Definition SbVec2f.h:39
The SbViewportRegion class is a viewport within a full window.
Definition SbViewportRegion.h:31
virtual void invalidateState(void)
Definition SoAction.cpp:815
static void initClass(void)
Definition SoAction.cpp:366
SoAction(void)
Definition SoAction.cpp:333
virtual void beginTraversal(SoNode *node)
Definition SoAction.cpp:1263
virtual void endTraversal(SoNode *node)
Definition SoAction.cpp:1273
The SoGLRenderAction class renders the scene graph with OpenGL calls.
Definition SoGLRenderAction.h:41
void addDelayedPath(SoPath *path)
Definition SoGLRenderAction.cpp:1425
AbortCode
Definition SoGLRenderAction.h:67
@ DELAY
Definition SoGLRenderAction.h:68
@ ABORT
Definition SoGLRenderAction.h:68
@ PRUNE
Definition SoGLRenderAction.h:68
@ CONTINUE
Definition SoGLRenderAction.h:68
void setPassCallback(SoGLRenderPassCB *const func, void *const userdata)
Definition SoGLRenderAction.cpp:951
void setPassUpdate(const SbBool flag)
Definition SoGLRenderAction.cpp:930
void setCurPass(const int passnum, const int numpasses)
Definition SoGLRenderAction.cpp:1308
AbortCode SoGLRenderAbortCB(void *userdata)
Definition SoGLRenderAction.h:78
SoGLRenderAction(const SbViewportRegion &viewportregion)
Definition SoGLRenderAction.cpp:688
SbBool getDelayedObjDepthWrite(void) const
Definition SoGLRenderAction.cpp:1971
SbBool abortNow(void)
Definition SoGLRenderAction.cpp:1332
SbBool isPassUpdate(void) const
Definition SoGLRenderAction.cpp:941
void setSmoothing(const SbBool smooth)
Definition SoGLRenderAction.cpp:888
const SbViewportRegion & getViewportRegion(void) const
Definition SoGLRenderAction.cpp:756
void setTransparentDelayedObjectRenderType(TransparentDelayedObjectRenderType type)
Definition SoGLRenderAction.cpp:2007
void addPreRenderCallback(SoGLPreRenderCB *func, void *userdata)
Definition SoGLRenderAction.cpp:1517
void setTransparencyType(const TransparencyType type)
Definition SoGLRenderAction.cpp:852
int getSortedLayersNumPasses(void) const
Definition SoGLRenderAction.cpp:1007
SbBool isRenderingDelayedPaths(void) const
Definition SoGLRenderAction.cpp:1438
void setSortedLayersNumPasses(int num)
Definition SoGLRenderAction.cpp:997
SbBool isSmoothing(void) const
Definition SoGLRenderAction.cpp:900
uint32_t getCacheContext(void) const
Definition SoGLRenderAction.cpp:985
void removePreRenderCallback(SoGLPreRenderCB *func, void *userdata)
Definition SoGLRenderAction.cpp:1530
TransparencyType getTransparencyType(void) const
Definition SoGLRenderAction.cpp:864
int getNumPasses(void) const
Definition SoGLRenderAction.cpp:921
SbBool getRenderingIsRemote(void) const
Definition SoGLRenderAction.cpp:1409
SbBool isRenderingTranspBackfaces(void) const
Definition SoGLRenderAction.cpp:1996
TransparentDelayedObjectRenderType getTransparentDelayedObjectRenderType(void) const
Definition SoGLRenderAction.cpp:2018
SbBool isRenderingTranspPaths(void) const
Definition SoGLRenderAction.cpp:1984
void setSortedObjectOrderStrategy(const SortedObjectOrderStrategy strategy, SoGLSortedObjectOrderCB *cb=NULL, void *closure=NULL)
Definition SoGLRenderAction.cpp:1555
TransparencyType
Definition SoGLRenderAction.h:52
@ ADD
Definition SoGLRenderAction.h:54
@ SORTED_OBJECT_SORTED_TRIANGLE_ADD
Definition SoGLRenderAction.h:57
@ SCREEN_DOOR
Definition SoGLRenderAction.h:53
@ BLEND
Definition SoGLRenderAction.h:55
@ SORTED_OBJECT_BLEND
Definition SoGLRenderAction.h:55
@ SORTED_LAYERS_BLEND
Definition SoGLRenderAction.h:59
@ SORTED_OBJECT_SORTED_TRIANGLE_BLEND
Definition SoGLRenderAction.h:58
@ DELAYED_ADD
Definition SoGLRenderAction.h:54
@ SORTED_OBJECT_ADD
Definition SoGLRenderAction.h:54
@ NONE
Definition SoGLRenderAction.h:59
@ DELAYED_BLEND
Definition SoGLRenderAction.h:55
void setAbortCallback(SoGLRenderAbortCB *const func, void *const userdata)
Definition SoGLRenderAction.cpp:824
void setNumPasses(const int num)
Definition SoGLRenderAction.cpp:911
TransparentDelayedObjectRenderType
Definition SoGLRenderAction.h:62
@ NONSOLID_SEPARATE_BACKFACE_PASS
Definition SoGLRenderAction.h:64
@ ONE_PASS
Definition SoGLRenderAction.h:63
int getCurPass(void) const
Definition SoGLRenderAction.cpp:1320
SbBool handleTransparency(SbBool istransparent=FALSE)
Definition SoGLRenderAction.cpp:1187
void setRenderingIsRemote(SbBool isremote)
Definition SoGLRenderAction.cpp:1396
void setViewportRegion(const SbViewportRegion &newregion)
Definition SoGLRenderAction.cpp:744
void getUpdateArea(SbVec2f &origin, SbVec2f &size) const
Definition SoGLRenderAction.cpp:781
void setDelayedObjDepthWrite(SbBool write)
Definition SoGLRenderAction.cpp:1959
SortedObjectOrderStrategy
Definition SoGLRenderAction.h:71
@ BBOX_CENTER
Definition SoGLRenderAction.h:72
@ BBOX_FARTHEST_CORNER
Definition SoGLRenderAction.h:74
@ CUSTOM_CALLBACK
Definition SoGLRenderAction.h:75
void setCacheContext(const uint32_t context)
Definition SoGLRenderAction.cpp:973
void setUpdateArea(const SbVec2f &origin, const SbVec2f &size)
Definition SoGLRenderAction.cpp:770
void getAbortCallback(SoGLRenderAbortCB *&func_out, void *&userdata_out) const
Definition SoGLRenderAction.cpp:838
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:47
The SoPath class is a container class for traversal path descriptions.
Definition SoPath.h:43