MeVisLab Toolbox Reference
|
Open Inventor node to accumulate multiple render passes in a sampler. More...
#include <SoMultiPassFramebufferSampler.h>
Public Member Functions | |
SoMultiPassFramebufferSampler () | |
Constructor. | |
unsigned int | curPass () |
Current render pass, starting with '0'. Only valid if read by child nodes! | |
SoGLTexture * | getCopyColorBuffer () const |
![]() | |
SoFramebufferSampler2D () | |
Constructor. | |
void | updatePreparation (SoState *state) override |
Render children to framebuffer object. | |
void | renderDebug (SoState *state) |
void | updateParameter (SoUniformParameterBase *, SoState *) override |
Update sampler uniform to inform shader about fbo texture. | |
![]() | |
SoFramebufferSampler () | |
Constructor. | |
void | GLRender (SoGLRenderAction *action) override |
Add node to parameter list element, and call 'updatePreparation'. | |
void | getBoundingBox (SoGetBoundingBoxAction *action) override |
Compute bounding-box of subgraph. | |
void | handleEvent (SoHandleEventAction *action) override |
void | renderInSeparateRenderAction () |
Renders in an extra render action and tries to reset the GL state as far as possible to avoid that the scene below is affected by above state. | |
void | updatePreparationInternal (SoGLRenderAction *action) |
Helper method to call updatePreparation. | |
![]() | |
void | updateParameter (SoUniformParameterBase *uniformBase, SoState *state) override |
Assigns or updates the parameter's value. | |
![]() | |
void | GLRender (SoGLRenderAction *action) override |
Add this node to element in state. | |
![]() | |
void | callback (SoCallbackAction *) override |
Shut down handling of these actions for children. | |
void | GLRender (SoGLRenderAction *) override |
void | getBoundingBox (SoGetBoundingBoxAction *) override |
void | getMatrix (SoGetMatrixAction *) override |
void | handleEvent (SoHandleEventAction *) override |
void | pick (SoPickAction *) override |
Static Public Member Functions | |
static void | initClass () |
Initialize class with runtime type system. | |
![]() | |
static void | initClass () |
Initialize class with runtime type system. | |
![]() | |
static void | resetFixedFunctionGLState () |
Resets the current GL state as far as possible (but leaves FBO intact, to allow push/pop later) | |
static void | initClass () |
Initialize class with runtime type system. | |
![]() | |
static void | initClass () |
Initialize class with runtime type system. | |
![]() | |
static void | initClass () |
Initialize class with runtime type system. | |
![]() | |
static void | initClass () |
Initialize class with runtime type system. | |
Public Attributes | |
SoSFUInt32 | numPasses |
Number of times to traverse the subgraph below. | |
SoSFFloat | epsilon |
Smallest value that keeps the node still iterating. | |
SoSFFloat | value |
Value to compare against 'epsilon'. | |
SoSFUInt32 | id |
Id that is used to identify this node if nested. | |
SoSFBool | initSamplerCopy |
Initialize the copy FBO texture with all zero. | |
![]() | |
SoSFVec2s | size |
Texture size. Default is 64 x 64. | |
SoSFEnum | multiSamplingMode |
SoSFInt32 | multiSampling |
![]() | |
SoSFEnum | colorBufferFormat |
Internal format of color buffer. Default is RGBA. | |
SoSFEnum | depthBufferTarget |
Enable/Disable depth buffer. Default is TRUE. | |
SoSFBool | stencilBuffer |
Enable/Disable stencil buffer. Default is FALSE. | |
SoSFColor | clearColor |
Color used to clear the color buffer. | |
SoSFFloat | clearAlpha |
Alpha value used to clear the color buffer. | |
SoSFEnum | wrapT |
Wrapping mode. | |
SoSFBool | useSizeStateHints |
Read state for size hints. | |
SoSFBool | useFormatStateHints |
Read state for format hints. | |
SoSFFloat | sizeMultiplier |
Size provided by size state hints is multiplied with this value. | |
SoSFFloat | pixelScale |
Scale factor for pixel size. | |
SoSFBool | automaticTraversal |
Automatically traverse child scene. | |
SoSFTrigger | takeSnapshot |
Take a snapshot of the scene. | |
SoSFBool | useSeparateRenderAction |
If enabled, a separate offscreen renderaction is used instead of the render action of the scene above the node itself. | |
![]() | |
SoSFEnum | wrapS |
Wrapping mode. Default is REPEAT. | |
SoSFBool | enableBorder |
Enable border to be part of the texture. Default is FALSE. | |
SoSFVec4f | borderColor |
Border color used to for border texture filtering. Only used if 'enableBorder' is FALSE. Default is (0, 0, 0, 0). | |
SoSFEnum | minFilter |
Minification filter mode. Default is LINEAR. | |
SoSFEnum | magFilter |
Magnification filter mode. Default is LINEAR. | |
SoSFBool | use16BitFloat |
Use 16 Bit floating point for the texture format. | |
SoSFBool | needsTextureCoordinates |
Enable this if the sampler needs the standard inventor texture coordinates. | |
![]() | |
std::set< SbString > | auxUniformParameters |
Auxiliary uniform shader parameters which are maintained by this node. | |
![]() | |
SoSFString | name |
Name given to parameter in high level languages. | |
Protected Member Functions | |
~SoMultiPassFramebufferSampler () override | |
Destructor. | |
void | applyRenderAction (SoState *) override |
Function applies render action to children multiple times. | |
![]() | |
~SoFramebufferSampler2D () override | |
Destructor. | |
![]() | |
~SoFramebufferSampler () override | |
Destructor. | |
void | nameChanged (SoField *field) override |
Called when sampler name has changed. | |
![]() | |
~SoSampler () override | |
SoSampler () | |
Constructor. | |
GLint | getInternalFormat (GLenum glDataType) |
Return specialized texture format for GL data type. | |
const char * | getTextureFormatName (GLenum internalFormat) |
Return texture format name. | |
SbSamplerInfo::TextureType | getTextureTypeFromGLFormat (GLenum internalFormat) |
void | postTextureFormatInfo (GLenum target, GLint format) |
Prints channel depths for given target and format. | |
void | postTextureSizeInfo (GLenum target) |
Prints the size of the bound texture. | |
virtual void | texConfigChanged (SoField *) |
Called when texture configuration (e.g. filter mode) has changed. | |
![]() | |
SoUniformShaderParameter () | |
Constructor. | |
![]() | |
SoShaderParameter () | |
Constructor. | |
Additional Inherited Members | |
![]() | |
enum | MultiSamplingMode { MULTISAMPLING_OFF , MULTISAMPLING_ON , MULTISAMPLING_TEXTURE } |
![]() | |
enum | ColorBufferFormat { RGB = GL_RGB , RGB8 = GL_RGB8 , RGB16 = GL_RGB16 , RGB16F = GL_RGB16F_ARB , RGB32F = GL_RGB32F_ARB , RGBA = GL_RGBA , RGBA8 = GL_RGBA8 , RGBA16 = GL_RGBA16 , RGBA16F = GL_RGBA16F_ARB , RGBA32F = GL_RGBA32F_ARB } |
Internal texture format for color buffer. More... | |
enum | DepthBufferTarget { NONE = 0 , RENDERBUFFER = 1 , TEXTURE = 2 } |
Depth buffer mode. More... | |
![]() | |
enum | TexGenMode { NORMAL_MAP = GL_NORMAL_MAP_EXT , REFLECTION_MAP = GL_REFLECTION_MAP_EXT } |
Texture gen mode. More... | |
enum | Wrap { REPEAT = GL_REPEAT , CLAMP = GL_CLAMP , CLAMP_TO_EDGE = GL_CLAMP_TO_EDGE , CLAMP_TO_BORDER = GL_CLAMP_TO_BORDER , MIRRORED_REPEAT = GL_MIRRORED_REPEAT } |
Texture wrap type. More... | |
enum | Filter { NEAREST = GL_NEAREST , LINEAR = GL_LINEAR , NEAREST_MIPMAP_NEAREST = GL_NEAREST_MIPMAP_NEAREST , NEAREST_MIPMAP_LINEAR = GL_NEAREST_MIPMAP_LINEAR , LINEAR_MIPMAP_NEAREST = GL_LINEAR_MIPMAP_NEAREST , LINEAR_MIPMAP_LINEAR = GL_LINEAR_MIPMAP_LINEAR } |
Filter methods for minification and magnification. More... | |
Open Inventor node to accumulate multiple render passes in a sampler.
Definition at line 30 of file SoMultiPassFramebufferSampler.h.
SoMultiPassFramebufferSampler::SoMultiPassFramebufferSampler | ( | ) |
Constructor.
|
overrideprotected |
Destructor.
Function applies render action to children multiple times.
Reimplemented from SoFramebufferSampler.
Current render pass, starting with '0'. Only valid if read by child nodes!
Definition at line 62 of file SoMultiPassFramebufferSampler.h.
|
inline |
Definition at line 68 of file SoMultiPassFramebufferSampler.h.
Initialize class with runtime type system.
Definition at line 74 of file SoMultiPassFramebufferSampler.h.
|
protected |
Definition at line 76 of file SoMultiPassFramebufferSampler.h.
|
protected |
Definition at line 75 of file SoMultiPassFramebufferSampler.h.
SoSFFloat SoMultiPassFramebufferSampler::epsilon |
Smallest value that keeps the node still iterating.
Definition at line 42 of file SoMultiPassFramebufferSampler.h.
SoSFUInt32 SoMultiPassFramebufferSampler::id |
Id that is used to identify this node if nested.
Definition at line 48 of file SoMultiPassFramebufferSampler.h.
SoSFBool SoMultiPassFramebufferSampler::initSamplerCopy |
Initialize the copy FBO texture with all zero.
Definition at line 51 of file SoMultiPassFramebufferSampler.h.
SoSFUInt32 SoMultiPassFramebufferSampler::numPasses |
Number of times to traverse the subgraph below.
Definition at line 39 of file SoMultiPassFramebufferSampler.h.
SoSFFloat SoMultiPassFramebufferSampler::value |
Value to compare against 'epsilon'.
Definition at line 45 of file SoMultiPassFramebufferSampler.h.