MeVisLabToolboxReference
|
Sampler node that uses a 3D ML subimage to define a 3D sampler. More...
#include <SoMLSampler3D.h>
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. |
Sampler node that uses a 3D ML subimage to define a 3D sampler.
Definition at line 19 of file SoMLSampler3D.h.
SoMLSampler3D::SoMLSampler3D | ( | ) |
Constructor.
virtual SoMLSampler3D::~SoMLSampler3D | ( | ) | [protected, virtual] |
Destructor.
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.
SoSFEnum SoMLSampler3D::wrapR |
Wrapping mode. Default is REPEAT.
Definition at line 31 of file SoMLSampler3D.h.
SoSFEnum SoMLSampler3D::wrapT |
Wrapping mode. Default is REPEAT.
Definition at line 28 of file SoMLSampler3D.h.