MeVisLab Toolbox Reference
SoInheritedFramebufferSampler Class Reference

Open Inventor node used to access a previous OpenGL framebuffer sampler. More...

#include <SoInheritedFramebufferSampler.h>

Inheritance diagram for SoInheritedFramebufferSampler:
SoSampler2D SoSampler SoUniformShaderParameter SoShaderParameter

Public Member Functions

 SoInheritedFramebufferSampler ()
 Constructor. More...
 
void GLRender (SoGLRenderAction *) override
 Read state to find out about preceding framebuffer samplers. More...
 
void updateParameter (SoUniformParameterBase *, SoState *) override
 Assigns or updates the parameter's value. More...
 
- Public Member Functions inherited from SoSampler
void updateParameter (SoUniformParameterBase *uniformBase, SoState *state) override
 Assigns or updates the parameter's value. More...
 
- Public Member Functions inherited from SoUniformShaderParameter
void GLRender (SoGLRenderAction *action) override
 Add this node to element in state. More...
 
virtual void updatePreparation (SoState *)
 Hook for internal preparation steps. More...
 
- Public Member Functions inherited from SoShaderParameter
void callback (SoCallbackAction *) override
 Shut down handling of these actions for children. More...
 
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. More...
 
- Static Public Member Functions inherited from SoSampler2D
static void initClass ()
 Initialize class with runtime type system. More...
 
- Static Public Member Functions inherited from SoSampler
static void initClass ()
 Initialize class with runtime type system. More...
 
- Static Public Member Functions inherited from SoUniformShaderParameter
static void initClass ()
 Initialize class with runtime type system. More...
 
- Static Public Member Functions inherited from SoShaderParameter
static void initClass ()
 Initialize class with runtime type system. More...
 

Public Attributes

SoSFUInt32 id
 Id that establishes a link to the parent framebuffer node. More...
 
- Public Attributes inherited from SoSampler2D
SoSFEnum wrapT
 Wrapping mode. Default is REPEAT. More...
 
- Public Attributes inherited from SoSampler
SoSFEnum wrapS
 Wrapping mode. Default is REPEAT. More...
 
SoSFBool enableBorder
 Enable border to be part of the texture. Default is FALSE. More...
 
SoSFVec4f borderColor
 Border color used to for border texture filtering. Only used if 'enableBorder' is FALSE. Default is (0, 0, 0, 0). More...
 
SoSFEnum minFilter
 Minification filter mode. Default is LINEAR. More...
 
SoSFEnum magFilter
 Magnification filter mode. Default is LINEAR. More...
 
SoSFBool use16BitFloat
 Use 16 Bit floating point for the texture format. More...
 
SoSFBool needsTextureCoordinates
 Enable this if the sampler needs the standard inventor texture coordinates. More...
 
- Public Attributes inherited from SoUniformShaderParameter
std::set< SbString > auxUniformParameters
 Auxiliary uniform shader parameters which are maintained by this node. More...
 
- Public Attributes inherited from SoShaderParameter
SoSFString name
 Name given to parameter in high level languages. More...
 

Protected Attributes

unsigned int _curPass
 
SoMultiPassFramebufferSampler_rfb
 
GLuint _texHandle
 
- Protected Attributes inherited from SoSampler
SbBool _hasTextureFloat
 TRUE if GL_xxx_texture_float extension is present. More...
 
SbString _sizeUniformName
 name of the uniform ?_size parameter More...
 
unsigned int _textureComponents
 
GLenum _textureDataType
 

Additional Inherited Members

- Public Types inherited from SoSampler
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...
 
- Protected Member Functions inherited from SoSampler2D
 SoSampler2D ()
 Constructor. More...
 
- Protected Member Functions inherited from SoSampler
 ~SoSampler () override
 
 SoSampler ()
 Constructor. More...
 
GLint getInternalFormat (GLenum glDataType)
 Return specialized texture format for GL data type. More...
 
const char * getTextureFormatName (GLenum internalFormat)
 Return texture format name. More...
 
SbSamplerInfo::TextureType getTextureTypeFromGLFormat (GLenum internalFormat)
 
void postTextureFormatInfo (GLenum target, GLint format)
 Prints channel depths for given target and format. More...
 
void postTextureSizeInfo (GLenum target)
 Prints the size of the bound texture. More...
 
virtual void nameChanged (SoField *field)
 Called when sampler name has changed. More...
 
virtual void texConfigChanged (SoField *)
 Called when texture configuration (e.g. filter mode) has changed. More...
 
- Protected Member Functions inherited from SoUniformShaderParameter
 SoUniformShaderParameter ()
 Constructor. More...
 
- Protected Member Functions inherited from SoShaderParameter
 SoShaderParameter ()
 Constructor. More...
 

Detailed Description

Open Inventor node used to access a previous OpenGL framebuffer sampler.

Definition at line 27 of file SoInheritedFramebufferSampler.h.

Constructor & Destructor Documentation

◆ SoInheritedFramebufferSampler()

SoInheritedFramebufferSampler::SoInheritedFramebufferSampler ( )

Constructor.

Member Function Documentation

◆ GLRender()

void SoInheritedFramebufferSampler::GLRender ( SoGLRenderAction *  )
override

Read state to find out about preceding framebuffer samplers.

◆ initClass()

static void SoInheritedFramebufferSampler::initClass ( )
static

Initialize class with runtime type system.

◆ updateParameter()

void SoInheritedFramebufferSampler::updateParameter ( SoUniformParameterBase ,
SoState *   
)
overridevirtual

Assigns or updates the parameter's value.

Implements SoUniformShaderParameter.

Member Data Documentation

◆ _curPass

unsigned int SoInheritedFramebufferSampler::_curPass
protected

Definition at line 56 of file SoInheritedFramebufferSampler.h.

◆ _rfb

SoMultiPassFramebufferSampler* SoInheritedFramebufferSampler::_rfb
protected

Definition at line 57 of file SoInheritedFramebufferSampler.h.

◆ _texHandle

GLuint SoInheritedFramebufferSampler::_texHandle
protected

Definition at line 58 of file SoInheritedFramebufferSampler.h.

◆ id

SoSFUInt32 SoInheritedFramebufferSampler::id

Id that establishes a link to the parent framebuffer node.

Definition at line 36 of file SoInheritedFramebufferSampler.h.


The documentation for this class was generated from the following file: