1 #ifndef COIN_SOSHADOWGROUP_H
2 #define COIN_SOSHADOWGROUP_H
27 #include <Inventor/nodes/SoSubNode.h>
28 #include <Inventor/nodes/SoSeparator.h>
29 #include <Inventor/fields/SoSFBool.h>
30 #include <Inventor/fields/SoSFFloat.h>
31 #include <Inventor/fields/SoSFEnum.h>
32 #include <Inventor/fields/SoSFInt32.h>
42 static void initClass(
void);
43 static void init(
void);
49 LONGEST_BBOX_EDGE_FACTOR,
50 PROJECTED_BBOX_DEPTH_FACTOR
75 SoShadowGroupP * pimpl;
79 #endif // COIN_SOSHADOWGROUP_H
int getLength(void) const
Definition: SbPList.h:94
The SbRotation class represents a rotation in 3D space.
Definition: SbRotation.h:33
SoSFVec3f location
Definition: SoSpotLight.h:41
SoSFBool isActive
Definition: SoShadowGroup.h:53
The SoState class manages the Coin scenegraph traversal state data.
Definition: SoState.h:35
The SbName class stores strings by reference.
Definition: SbName.h:31
The SbVec2f class is a 2 dimensional vector with floating point coordinates.
Definition: SbVec2f.h:36
SoSFVec3f direction
Definition: SoSpotLight.h:42
SoSFFloat nearDistance
Definition: SoCamera.h:74
SoSFInt32 unit
Definition: SoTextureUnit.h:45
virtual void GLRenderBelowPath(SoGLRenderAction *action)
Definition: SoShadowGroup.cpp:643
void pop(void)
Definition: SoState.cpp:284
The SbMatrix class is a 4x4 dimensional representation of a matrix.
Definition: SbMatrix.h:37
SoSFFloat smoothBorder
Definition: SoShadowGroup.h:57
SoNotRec * getLastRec(void) const
Definition: SoNotification.cpp:149
void getMatrices(SbMatrix &affine, SbMatrix &proj) const
Definition: SbViewVolume.cpp:185
virtual void GLRenderInPath(SoGLRenderAction *action)
Definition: SoSeparator.cpp:692
@ COUNTERCLOCKWISE
Definition: SoShapeHints.h:44
The SoSFBool class is a container for an SbBool value.
Definition: SoSFBool.h:30
@ NONE
Definition: SoSceneTexture2.h:61
void multVecMatrix(const SbVec3f &src, SbVec3f &dst) const
Definition: SbMatrix.cpp:1357
void push(void)
Definition: SoState.cpp:265
@ GLSL_PROGRAM
Definition: SoShaderObject.h:49
The SoTextureUnit class is a node for setting the active texture unit.
Definition: SoTextureUnit.h:31
SoBase * getBase(void) const
Definition: SoNotRec.cpp:71
The SoSceneTexture2 class is used to create a 2D texture from a Coin scene graph.
Definition: SoSceneTexture2.h:38
static void setLightModelOverride(SoState *const state, SoNode *const node, const SbBool override)
Definition: SoOverrideElement.cpp:618
const SbVec3f & getMin(void) const
Definition: SbBox3f.cpp:122
SoSFFloat epsilon
Definition: SoShadowGroup.h:63
SoSFEnum sourceType
Definition: SoShaderObject.h:54
The SoOrthographicCamera class defines a camera node with orthographic rendering.
Definition: SoOrthographicCamera.h:30
SbMatrix inverse(void) const
Definition: SbMatrix.cpp:418
The SoSearchAction class provides methods for searching through scene graphs.
Definition: SoSearchAction.h:32
The SbBox3f class is an abstraction for an axis aligned 3 dimensional box.
Definition: SbBox3f.h:37
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
SbBox3f project(void) const
Definition: SbXfBox3f.cpp:649
The SoCallback class is a node type which provides a means of setting callback hooks in the scene gra...
Definition: SoCallback.h:31
The SoFullPath class allows examination of hidden children in paths.
Definition: SoFullPath.h:29
SoMFVec3f point
Definition: SoCoordinate3.h:39
SoSFEnum visibilityFlag
Definition: SoShadowGroup.h:61
virtual void notify(SoNotList *nl)
Definition: SoSeparator.cpp:878
static void setNormalVectorOverride(SoState *const state, SoNode *const node, const SbBool override)
Definition: SoOverrideElement.cpp:769
The SbXfBox3f class is a 3 dimensional box with floating point coordinates and an attached transforma...
Definition: SbXfBox3f.h:31
virtual void addChild(SoNode *node)
Definition: SoGroup.cpp:393
SoSFString sourceProgram
Definition: SoShaderObject.h:55
The SoNotRec class specifies records for notification lists.
Definition: SoNotRec.h:33
The SoPathList class is a container for pointers to SoPath objects.
Definition: SoPathList.h:31
SoSFBool shadowCachingEnabled
Definition: SoShadowGroup.h:58
The SbString class is a string class with convenience functions for string operations.
Definition: SbString.h:42
SoNode * getTail(void) const
Definition: SoFullPath.cpp:74
virtual void GLRenderBelowPath(SoGLRenderAction *action)
Definition: SoSeparator.cpp:605
void setCallback(SoCallbackCB *function, void *userdata=NULL)
Definition: SoCallback.cpp:144
virtual SbViewVolume getViewVolume(float useaspectratio=0.0f) const
Definition: SoPerspectiveCamera.cpp:107
@ SOLID
Definition: SoShapeHints.h:49
virtual ~SoShadowGroup()
Definition: SoShadowGroup.cpp:620
SoSFFloat dropOffRate
Definition: SoSpotLight.h:43
The SoShaderProgram class is used to specify a set of vertex/geometry/fragment objects.
Definition: SoShaderProgram.h:41
void transform(const SbMatrix &m)
Definition: SbXfBox3f.cpp:116
The SoShadowGroup node is a group node used for shadow rendering.
Definition: SoShadowGroup.h:36
static void setMaterialBindingOverride(SoState *const state, SoNode *const node, const SbBool override)
FIXME: write doc.
Definition: SoOverrideElement.cpp:652
void unref(void) const
Definition: SoBase.cpp:627
The SbVec2s class is a 2 dimensional vector with short integer coordinates.
Definition: SbVec2s.h:37
The SoPath class is a container class for traversal path descriptions.
Definition: SoPath.h:43
The SoGetMatrixAction class is an action for accumulating the transformation matrix of a subgraph.
Definition: SoGetMatrixAction.h:35
SbRotation inverse(void) const
Definition: SbRotation.cpp:316
const char * getString(void) const
Definition: SbName.cpp:278
const SbVec3f & getMax(void) const
Definition: SbBox3f.cpp:134
SoSFEnum value
Definition: SoTransparencyType.h:55
SoSFFloat height
Definition: SoOrthographicCamera.h:39
SoSFFloat quality
Definition: SoShadowGroup.h:56
SoSFEnum vertexOrdering
Definition: SoShapeHints.h:57
SoSFFloat heightAngle
Definition: SoPerspectiveCamera.h:39
The SoSFEnum class is a container for an enum value.
Definition: SoSFEnum.h:31
virtual void notify(SoNotList *nl)
Definition: SoShadowGroup.cpp:655
The SbColor class contains the red, green and blue components which make up a color value.
Definition: SbColor.h:30
The SoBase class is the top-level superclass for a number of class-hierarchies.
Definition: SoBase.h:41
SoState * getState(void) const
Definition: SoAction.cpp:1028
SoSFFloat farDistance
Definition: SoCamera.h:75
SoSFFloat precision
Definition: SoShadowGroup.h:55
void multDirMatrix(const SbVec3f &src, SbVec3f &dst) const
Definition: SbMatrix.cpp:1411
SoSFFloat visibilityNearRadius
Definition: SoShadowGroup.h:59
void ref(void) const
Definition: SoBase.cpp:574
SoSFEnum shapeType
Definition: SoShapeHints.h:58
SoSFEnum faceType
Definition: SoShapeHints.h:59
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:37
SoMFNode parameter
Definition: SoShaderObject.h:58
The SoGetBoundingBoxAction class calculates bounding boxes for nodes and subgraphs.
Definition: SoGetBoundingBoxAction.h:34
void getSize(float &dx, float &dy, float &dz) const
Definition: SbBox3f.cpp:405
SoPath * copy(const int startfromnodeindex=0, int numnodes=0) const
Definition: SoPath.cpp:673
SoShadowGroup(void)
Definition: SoShadowGroup.cpp:591
SbString & sprintf(const char *formatstr,...)
Definition: SbString.h:105
The SoPerspectiveCamera class defines a camera node with perspective rendering.
Definition: SoPerspectiveCamera.h:30
The SoVertexShader class is used for setting up vertex shader programs.
Definition: SoVertexShader.h:29
The SbViewportRegion class is a viewport within a full window.
Definition: SbViewportRegion.h:31
SoSFFloat cutOffAngle
Definition: SoSpotLight.h:44
The SoFragmentShader class is used for setting up fragment shader programs.
Definition: SoFragmentShader.h:31
SoSFFloat visibilityRadius
Definition: SoShadowGroup.h:60
SoMFInt32 numVertices
Definition: SoFaceSet.h:42
@ CONVEX
Definition: SoShapeHints.h:54
SoSFFloat intensity
Definition: SoShadowGroup.h:54
The SoSeparator class is a state-preserving group node.
Definition: SoSeparator.h:34
float normalize(void)
Definition: SbVec3f.cpp:436
The SbViewVolume class is a viewing volume in 3D space.
Definition: SbViewVolume.h:41
The SoLight class is the base class for light emitting nodes.
Definition: SoLight.h:32
The SoNodeList class is a container for pointers to SoNode objects.
Definition: SoNodeList.h:31
The SoFaceSet class is used to render and organize non-indexed polygonal face data.
Definition: SoFaceSet.h:33
virtual SoType getTypeId(void) const
Definition: SoLight.cpp:92
virtual SoNode * getChild(int index) const
Definition: SoGroup.cpp:257
The SoSFFloat class is a container for a floating point value.
Definition: SoSFFloat.h:30
SbBool isOfType(SoType type) const
Definition: SoBase.cpp:710
SoSFVec3f position
Definition: SoCamera.h:71
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:47
virtual int getNumChildren(void) const
Definition: SoGroup.cpp:271
SoSFFloat aspectRatio
Definition: SoCamera.h:73
SbName getName(void) const
Definition: SoType.cpp:628
SoSFEnum viewportMapping
Definition: SoCamera.h:70
SoSFRotation orientation
Definition: SoCamera.h:72
static SbMatrix identity(void)
Definition: SbMatrix.cpp:748
SoSFFloat threshold
Definition: SoShadowGroup.h:64
The SoShapeHints class is a node containing hints about how to render geometry.
Definition: SoShapeHints.h:32
void setTranslate(const SbVec3f &t)
Definition: SbMatrix.cpp:790
virtual void GLRenderInPath(SoGLRenderAction *action)
Definition: SoShadowGroup.cpp:649
The SoNotList class is a list of SoNotRec notification records.
Definition: SoNotification.h:34
The SoSpotLight class is a node type for light sources with a cone shaped lightvolume.
Definition: SoSpotLight.h:32
SoMFNode shaderObject
Definition: SoShaderProgram.h:46
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
The SoCoordinate3 class is a node for providing coordinates to shape nodes.
Definition: SoCoordinate3.h:30
SoSFBool on
Definition: SoLight.h:40
The SbVec4f class is a 4 dimensional vector with floating point coordinates.
Definition: SbVec4f.h:34
SoNotRec * getFirstRecAtNode(void) const
Definition: SoNotification.cpp:158
virtual SbBool isOfType(SoType type) const
Definition: SoAction.cpp:462
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Wed Jul 24 2019 for Coin by Doxygen. 1.8.17