| Home | | | Quick start | | | Cookbook | | | All symbols | | | Analytical index | | | Namespaces | | | Syntax | | | Statements | | | CX | | | Frequency | | | Functions | | | Examples | | | Examples by command |
Interactive 3D surface visualization for images and matrices.
Symbols in this namespace: 9
| Symbol | Kind | Category | Description |
|---|---|---|---|
MAT3D.CLOSE | Command | Hybrid 3D commands | Closes a Mat3D window by handle. |
MAT3D.CREATE | Function | Hybrid 3D functions | Creates an interactive Mat3D MDI window and returns a numeric handle. X/Y are pixels and Z is luminance. |
MAT3D.OPTIONS | Command | Hybrid 3D commands | Controls Z normalization, inversion, Y flip, decimation, Z scale/offset and the color legend. |
MAT3D.PALETTE | Command | Hybrid 3D commands | Applies a QwtPlot3D .map palette file, or resets to the standard palette when omitted. |
MAT3D.SET | Command | Hybrid 3D commands | Updates an existing Mat3D window with a new image or with one selected frame from a stack. |
MAT3D.SHOW | Function | Hybrid 3D functions | Creates a Mat3D window, displays the first frame of an image/stack, and returns the Mat3D handle. |
MAT3D.SNAPSHOT | Command | Hybrid 3D commands | Saves the current Mat3D view as PNG/JPG/BMP/PDF/EPS/TIF according to file extension. |
MAT3D.STYLE | Command | Hybrid 3D commands | Sets surface style. plotStyle: POINTS, WIREFRAME, HIDDENLINE, POLYGON, FILLEDMESH. floorStyle: NONE, DATA, ISO. coordStyle: NONE, FRAME, BOX. |
MAT3D.VIEW | Command | Hybrid 3D commands | Sets the 3D view rotation and optional zoom. |
MAT3D.CLOSE handle
Closes a Mat3D window by handle.
MAT3D.CLOSE m3MAT3D.CREATE([title])
Creates an interactive Mat3D MDI window and returns a numeric handle. X/Y are pixels and Z is luminance.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
title | Optional GUI/DataPlot window title. |
m3 = MAT3D.CREATE("Luminance surface")MAT3D.OPTIONS handle [, normalizeZ [, invertZ [, flipY [, sampleStep [, zScale [, zOffset [, legend]]]]]]]
Controls Z normalization, inversion, Y flip, decimation, Z scale/offset and the color legend.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
normalizeZ | Optional parameter. If omitted, the command uses its internal default. |
invertZ | Optional parameter. If omitted, the command uses its internal default. |
flipY | Optional parameter. If omitted, the command uses its internal default. |
sampleStep | Optional parameter. If omitted, the command uses its internal default. |
zScale | Optional parameter. If omitted, the command uses its internal default. |
zOffset | Optional parameter. If omitted, the command uses its internal default. |
legend | Optional parameter. If omitted, the command uses its internal default. |
MAT3D.OPTIONS m3, TRUE, FALSE, TRUE, 2, 1.0, 0.0, FALSEMAT3D.PALETTE handle [, paletteFile]
Applies a QwtPlot3D .map palette file, or resets to the standard palette when omitted.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
paletteFile | Optional parameter. If omitted, the command uses its internal default. |
MAT3D.PALETTE m3, "STANDARD"MAT3D.SET handle, imageOrStack [, frameIndex [, caption]]
Updates an existing Mat3D window with a new image or with one selected frame from a stack.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
frameIndex | Optional parameter. If omitted, the command uses its internal default. |
caption | Optional parameter. If omitted, the command uses its internal default. |
MAT3D.SET m3, filtered, 0, "Filtered luminance"MAT3D.SHOW(imageOrStack [, title [, sampleStep [, zScale]]])
Creates a Mat3D window, displays the first frame of an image/stack, and returns the Mat3D handle.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
title | Optional GUI/DataPlot window title. |
sampleStep | Optional parameter. If omitted, the command uses its internal default. |
zScale | Optional parameter. If omitted, the command uses its internal default. |
m3 = MAT3D.SHOW(gray, "3D luminance", 2, 1.0)MAT3D.SNAPSHOT handle, path
Saves the current Mat3D view as PNG/JPG/BMP/PDF/EPS/TIF according to file extension.
MAT3D.SNAPSHOT m3, "surface.png"MAT3D.STYLE handle [, plotStyle [, floorStyle [, coordStyle]]]
Sets surface style. plotStyle: POINTS, WIREFRAME, HIDDENLINE, POLYGON, FILLEDMESH. floorStyle: NONE, DATA, ISO. coordStyle: NONE, FRAME, BOX.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
plotStyle | Optional parameter. If omitted, the command uses its internal default. |
floorStyle | Optional parameter. If omitted, the command uses its internal default. |
coordStyle | Optional parameter. If omitted, the command uses its internal default. |
MAT3D.STYLE m3, "FILLEDMESH", "ISO", "FRAME"MAT3D.VIEW handle, rotX, rotY, rotZ [, zoom]
Sets the 3D view rotation and optional zoom.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
zoom | Optional parameter. If omitted, the command uses its internal default. |
MAT3D.VIEW m3, 35, 0, 25, 0.95