MeVisLabToolboxReference
SoMLSampler3D Class Reference

Sampler node that uses a 3D ML subimage to define a 3D sampler. More...

#include <SoMLSampler3D.h>

Inheritance diagram for SoMLSampler3D:
SoMLSampler SoImageSampler SoSampler SoUniformShaderParameter SoShaderParameter

List of all members.

Public Member Functions

 SoMLSampler3D ()
 Constructor.

Static Public Member Functions

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

Public Attributes

SoSFEnum wrapT
 Wrapping mode. Default is REPEAT.
SoSFEnum wrapR
 Wrapping mode. Default is REPEAT.

Protected Member Functions

virtual ~SoMLSampler3D ()
 Destructor.
virtual void updateTextureWrappingParameters ()
 Sets parameters for texture wrapping in openGL.
virtual void setGlTexImage (GLenum target, XVImageSize textureSize, GLint internalFormat, GLint format, GLenum textureDataType, const GLvoid *textureData)
 Set the openGL texture.
virtual void getSubimageProperties (XVImageSize inputSize, XVImageSize &subimageSize, XVImageSize &subimagePosition)
 Get position and size of used sub image.

Detailed Description

Sampler node that uses a 3D ML subimage to define a 3D sampler.

Definition at line 19 of file SoMLSampler3D.h.


Constructor & Destructor Documentation

SoMLSampler3D::SoMLSampler3D ( )

Constructor.

virtual SoMLSampler3D::~SoMLSampler3D ( ) [protected, virtual]

Destructor.


Member Function Documentation

virtual void SoMLSampler3D::getSubimageProperties ( XVImageSize  inputSize,
XVImageSize subimageSize,
XVImageSize subimagePosition 
) [protected, virtual]

Get position and size of used sub image.

Implements SoMLSampler.

static void SoMLSampler3D::initClass ( ) [static]

Initialize class with runtime type system.

Reimplemented from SoMLSampler.

virtual void SoMLSampler3D::setGlTexImage ( GLenum  target,
XVImageSize  textureSize,
GLint  internalFormat,
GLint  format,
GLenum  textureDataType,
const GLvoid *  textureData 
) [protected, virtual]

Set the openGL texture.

Reimplemented from SoImageSampler.

virtual void SoMLSampler3D::updateTextureWrappingParameters ( ) [protected, virtual]

Sets parameters for texture wrapping in openGL.

Reimplemented from SoImageSampler.


Member Data Documentation

Wrapping mode. Default is REPEAT.

Definition at line 31 of file SoMLSampler3D.h.

Wrapping mode. Default is REPEAT.

Definition at line 28 of file SoMLSampler3D.h.


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