13 #ifndef SO_MLSAMPLER1_D_H
14 #define SO_MLSAMPLER1_D_H
19 #include "SoShaderSystem.h"
21 #include <Inventor/SbLinear.h>
53 void setGLTexImage(GLenum
target,
const XVImageSize &textureSize, GLint internalFormat, GLint format, GLenum textureDataType,
const GLvoid *textureData)
override;
Sampler node that uses a 1D ML subimage to define a 1D sampler.
void calcSubImgProps(XVImageSize &subImgPosition, XVImageSize &subImgSize) override
Calculate position and size of used sub image by evaluation of fields.
void setGLTexImage(GLenum target, const XVImageSize &textureSize, GLint internalFormat, GLint format, GLenum textureDataType, const GLvoid *textureData) override
Set the OpenGL texture.
SoSFUInt32 startY
Origin of the 1d slice in y dimension. Default is 0.
SoMLSampler1D()
Constructor.
static void initClass()
Initialize class with runtime type system.
~SoMLSampler1D() override
Destructor.
SoSFUInt32 startZ
Origin of the 1d slice in z dimension. Default is 0.
Abstract base class for sampler nodes that handle ML images.
Abstract Open Inventor base class for sampler nodes.
SoSFMLImage - field interface to ML images and related classes.
boost::graph_traits< ml_graph_ptr >::vertex_descriptor target(graph_traits< ml_graph_ptr >::edge_descriptor e, const ml_graph_ptr)
Returns the vertex descriptor for v of the edge (u,v) represented by e.