MeVisLabToolboxReference
|
Sampler node that uses a 2D ML subimage to define a 2D sampler. More...
#include <SoMLSampler2D.h>
Public Member Functions | |
SoMLSampler2D () | |
Constructor. | |
Static Public Member Functions | |
static void | initClass () |
Initialize class with runtime type system. | |
Public Attributes | |
SoSFEnum | wrapT |
Wrapping mode. Default is REPEAT. | |
SoSFUInt32 | startZ |
Origin of the 2d slice in Z dimension. Default is 0. | |
Protected Member Functions | |
virtual | ~SoMLSampler2D () |
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. |
Sampler node that uses a 2D ML subimage to define a 2D sampler.
Definition at line 19 of file SoMLSampler2D.h.
SoMLSampler2D::SoMLSampler2D | ( | ) |
Constructor.
virtual SoMLSampler2D::~SoMLSampler2D | ( | ) | [protected, virtual] |
Destructor.
virtual void SoMLSampler2D::getSubimageProperties | ( | XVImageSize | inputSize, |
XVImageSize & | subimageSize, | ||
XVImageSize & | subimagePosition | ||
) | [protected, virtual] |
Get position and size of used sub image.
Implements SoMLSampler.
static void SoMLSampler2D::initClass | ( | ) | [static] |
Initialize class with runtime type system.
Reimplemented from SoMLSampler.
virtual void SoMLSampler2D::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 SoMLSampler2D::updateTextureWrappingParameters | ( | ) | [protected, virtual] |
Sets parameters for texture wrapping in openGL.
Reimplemented from SoImageSampler.
SoSFUInt32 SoMLSampler2D::startZ |
Origin of the 2d slice in Z dimension. Default is 0.
Definition at line 31 of file SoMLSampler2D.h.
SoSFEnum SoMLSampler2D::wrapT |
Wrapping mode. Default is REPEAT.
Definition at line 28 of file SoMLSampler2D.h.