SoMLSampler1D

InventorModule
genre Shader
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoShader
definition SoShader.def
keywords vertex, fragment, geometry, shader

Purpose

Reads a 1D subimage for a ML image dataset and provides it as a OpenGL shading language sampler (sampler1D). Also writes the SoMLImageElement Open Inventor traversal state element.

Input Fields

image

name: image, type: Image

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

Border Color: Vector4 Start Y: Integer
Enable Border: Bool Start Z: Integer
Mag Filter: Enum Use 16Bit Floats: Bool
Min Filter: Enum Wrap S: Enum
Name: String  
needsTextureCoordinates: Bool  
Start T: Integer  
Start U: Integer  

Visible Fields

Name

name: name, type: String

Enable Border

name: enableBorder, type: Bool, default: FALSE

Border Color

name: borderColor, type: Vector4, default: 0 0 0 0

Min Filter

name: minFilter, type: Enum, default: LINEAR

Values:

Title Name
Nearest NEAREST
Linear LINEAR
Nearest Mipmap Nearest NEAREST_MIPMAP_NEAREST
Nearest Mipmap Linear NEAREST_MIPMAP_LINEAR
Linear Mipmap Nearest LINEAR_MIPMAP_NEAREST
Linear Mipmap Linear LINEAR_MIPMAP_LINEAR

Mag Filter

name: magFilter, type: Enum, default: LINEAR

Values:

Title Name
Nearest NEAREST
Linear LINEAR
Nearest Mipmap Nearest NEAREST_MIPMAP_NEAREST
Nearest Mipmap Linear NEAREST_MIPMAP_LINEAR
Linear Mipmap Nearest LINEAR_MIPMAP_NEAREST
Linear Mipmap Linear LINEAR_MIPMAP_LINEAR

Wrap S

name: wrapS, type: Enum, default: REPEAT

Values:

Title Name
Repeat REPEAT
Clamp CLAMP
Clamp To Edge CLAMP_TO_EDGE
Clamp To Border CLAMP_TO_BORDER
Mirrored Repeat MIRRORED_REPEAT

Use 16Bit Floats

name: use16BitFloat, type: Bool, default: TRUE

Start T

name: startT, type: Integer, default: 0

Start U

name: startU, type: Integer, default: 0

Start Y

name: startY, type: Integer, default: 0

Start Z

name: startZ, type: Integer, default: 0

Hidden Fields

needsTextureCoordinates

name: needsTextureCoordinates, type: Bool, default: TRUE