MeVisLabToolboxReference
SoFramebufferSampler3D Class Reference

Open Inventor sampler node that gets it's 3D image from a framebuffer object. More...

#include <SoFramebufferSampler3D.h>

Inheritance diagram for SoFramebufferSampler3D:
SoFramebufferSampler SoSampler SoUniformShaderParameter SoShaderParameter

List of all members.

Public Member Functions

 SoFramebufferSampler3D ()
 Constructor.
virtual void updatePreparation (SoState *state)
 Render children to framebuffer object.
virtual void updateParameter (SoUniformParameterBase *, SoState *)
 Update sampler uniform to inform shader about fbo texture.

Static Public Member Functions

static void initClass ()
 Initialize class with runtime type system.

Public Attributes

SoSFVec3s size
 Texture size. Default is 64 x 64 x 64.
SoSFEnum wrapR
 Wrapping mode.

Protected Member Functions

 ~SoFramebufferSampler3D ()
 Destructor.

Protected Attributes

SbVec3s _fldValSize
SbVec3s _size

Detailed Description

Open Inventor sampler node that gets it's 3D image from a framebuffer object.

Definition at line 16 of file SoFramebufferSampler3D.h.


Constructor & Destructor Documentation

SoFramebufferSampler3D::SoFramebufferSampler3D ( )

Constructor.

SoFramebufferSampler3D::~SoFramebufferSampler3D ( ) [protected]

Destructor.


Member Function Documentation

static void SoFramebufferSampler3D::initClass ( ) [static]

Initialize class with runtime type system.

Reimplemented from SoFramebufferSampler.

virtual void SoFramebufferSampler3D::updateParameter ( SoUniformParameterBase ,
SoState *   
) [virtual]

Update sampler uniform to inform shader about fbo texture.

Reimplemented from SoSampler.

virtual void SoFramebufferSampler3D::updatePreparation ( SoState *  state) [virtual]

Render children to framebuffer object.

Reimplemented from SoUniformShaderParameter.


Member Data Documentation

Definition at line 35 of file SoFramebufferSampler3D.h.

SbVec3s SoFramebufferSampler3D::_size [protected]

Definition at line 36 of file SoFramebufferSampler3D.h.

Texture size. Default is 64 x 64 x 64.

Definition at line 25 of file SoFramebufferSampler3D.h.

Wrapping mode.

Definition at line 28 of file SoFramebufferSampler3D.h.


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