MeVisLabToolboxReference
SoMLSampler1D Class Reference

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

#include <SoMLSampler1D.h>

Inheritance diagram for SoMLSampler1D:
SoMLSampler SoImageSampler SoSampler SoUniformShaderParameter SoShaderParameter

List of all members.

Public Member Functions

 SoMLSampler1D ()
 Constructor.

Static Public Member Functions

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

Public Attributes

SoSFUInt32 startY
 Origin of the 1d slice in y dimension. Default is 0.
SoSFUInt32 startZ
 Origin of the 1d slice in z dimension. Default is 0.

Protected Member Functions

virtual ~SoMLSampler1D ()
 Destructor.
virtual void getSubimageProperties (XVImageSize inputSize, XVImageSize &subimageSize, XVImageSize &subimagePosition)
 Get position and size of used sub image.

Detailed Description

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

Definition at line 19 of file SoMLSampler1D.h.


Constructor & Destructor Documentation

SoMLSampler1D::SoMLSampler1D ( )

Constructor.

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

Destructor.


Member Function Documentation

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

Get position and size of used sub image.

Implements SoMLSampler.

static void SoMLSampler1D::initClass ( ) [static]

Initialize class with runtime type system.

Reimplemented from SoMLSampler.


Member Data Documentation

Origin of the 1d slice in y dimension. Default is 0.

Definition at line 28 of file SoMLSampler1D.h.

Origin of the 1d slice in z dimension. Default is 0.

Definition at line 31 of file SoMLSampler1D.h.


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