| Home | | | Quick start | | | Cookbook | | | All symbols | | | Analytical index | | | Namespaces | | | Syntax | | | Statements | | | CX | | | Frequency | | | Functions | | | Examples | | | Examples by command |
OpenGL 3D scenes, volume visualization, meshes and exports.
Symbols in this namespace: 87
| Symbol | Kind | Category | Description |
|---|---|---|---|
GL.ARROW | Command | OpenGL 3D commands | Adds a 3D vector arrow starting at x,y,z and pointing by dx,dy,dz. |
GL.AUTOROTATE | Command | OpenGL 3D commands | Starts or stops the GL viewer internal autorotation timer. |
GL.AXES | Command | OpenGL 3D commands | Adds RGB XYZ axes: X red, Y green, Z blue. |
GL.BACKGROUND | Command | OpenGL 3D commands | Sets the GL viewer background color. Accepts Qt color names or #RRGGBB values. |
GL.BOUNDS | Function | OpenGL 3D functions | Returns scene bounds as minX,minY,minZ;maxX,maxY,maxZ, useful for reports and sanity checks. |
GL.CAPTION | Command | OpenGL 3D commands | Sets a scene caption shown in the GL overlay and included in GL.INFO/GL.REPORT. |
GL.CAPTURE | Command | OpenGL 3D commands | Alias of GL.CAPTURE_FRAME. |
GL.CAPTURE_FRAME | Command | OpenGL 3D commands | Saves a frame snapshot. pathPattern may contain %04d, %03d, %02d, %d or {frame}. Alias: GL.CAPTURE. |
GL.CENTER | Command | OpenGL 3D commands | Recenters the camera on current bounds without changing rotation. |
GL.CLEAR | Command | OpenGL 3D commands | Removes all geometry from a GL scene and resets its automatic bounds. |
GL.CLOSE | Command | OpenGL 3D commands | Closes a GL viewer by handle. |
GL.COLOR | Command | OpenGL 3D commands | Changes object color. For gradient surfaces this switches the object to a flat color. |
GL.COLORMAP | Command | OpenGL 3D commands | Applies a preview colormap to all gradient GL.SURFACE/GL.HEIGHTFIELD objects. Supported modes: gray, hot, blue-red, jet, viridis, thermal, custom. |
GL.CREATE | Function | OpenGL 3D functions | Creates an interactive OpenGL MDI viewer for scientific 3D geometry and returns a numeric handle. The viewer supports mouse/keyboard rotation, pan, zoom, fit, grid/axes toggle and snapshot. |
GL.DELETE | Command | OpenGL 3D commands | Deletes a GL object previously identified through GL.LAST_ID. |
GL.EXPORT_CSV | Command | OpenGL 3D commands | Exports GL geometry as a simple CSV table of VERTEX and TRI records. It is easier to inspect than OBJ/PLY and complements GL.SAVE_SCENE. |
GL.EXPORT_OBJ | Command | OpenGL 3D commands | Exports visible GL geometry to Wavefront OBJ. If objectId is supplied, only that GL object is exported. Lines are written as OBJ l records; triangle meshes/surfaces are written as faces. |
GL.EXPORT_OBJECT_CSV | Command | OpenGL 3D commands | Exports one selected GL object to a compact CSV geometry table. |
GL.EXPORT_OBJECT_OBJ | Command | OpenGL 3D commands | Exports one selected GL object to Wavefront OBJ. |
GL.EXPORT_OBJECT_PLY | Command | OpenGL 3D commands | Exports one selected GL object to ASCII PLY. |
GL.EXPORT_PLY | Command | OpenGL 3D commands | Exports visible GL vertices and triangular faces to ASCII PLY. Point clouds are exported as vertices; lines are not represented as edges in this first lightweight exporter. |
GL.EXPORT_SCENE | Command | OpenGL 3D commands | Public cvBasic command exported from the live interpreter registry. Documentation entry auto-generated from runtime metadata. |
GL.FIT | Command | OpenGL 3D commands | Recomputes scene bounds, recenters the camera and resets zoom/pan while preserving the current rotation. |
GL.FLUSH | Command | OpenGL 3D commands | Alias of GL.SYNC. |
GL.FRAME | Command | OpenGL 3D commands | Processes GUI events for one animation frame. Without maxMs it uses the delay configured by GL.SET_FPS. |
GL.GRID | Command | OpenGL 3D commands | Adds a scientific reference grid on plane XY, XZ or YZ. |
GL.HEIGHTFIELD | Command | OpenGL 3D commands | Converts an image or stack frame into a shaded 3D heightfield. X/Y are image coordinates centered around the origin; Z is normalized luminance mapped between zMin and zMax. sampleStep reduces large images. |
GL.HIDE | Command | OpenGL 3D commands | Temporarily hides a GL object without deleting it. |
GL.IMAGE_POINTS | Command | OpenGL 3D commands | Alias of GL.POINTCLOUD_FROM_IMAGE. |
GL.IMAGE_SURFACE | Command | OpenGL 3D commands | Alias of GL.HEIGHTFIELD, intended for OpenCV image-to-surface visualizations. |
GL.IMPORT_OBJ | Command | OpenGL 3D commands | Imports a simple Wavefront OBJ mesh. v and f records are supported; polygonal faces are triangulated as fans. If the OBJ has vertices but no faces, it is imported as a point cloud. |
GL.INFO | Function | OpenGL 3D functions | Returns a multi-line diagnostic summary of the GL scene: title, caption, bounds, camera, renderer, item/object counts and visible primitive totals. |
GL.ISOSURFACE | Command | OpenGL 3D commands | Extracts a lightweight triangulated isosurface from a W x H x T stack using a marching-tetrahedra pass. threshold01 is normalized over the sampled volume. |
GL.ITEM_COUNT | Function | OpenGL 3D functions | Returns the number of internal GL items currently stored in a scene, including grids, axes and labels. |
GL.LABEL | Command | OpenGL 3D commands | Alias of GL.TEXT. |
GL.LAST_ID | Function | OpenGL 3D functions | Returns the object id assigned to the last GL object added to the scene. Useful before GL.HIDE, GL.SHOW, GL.DELETE or style changes. |
GL.LINE | Command | OpenGL 3D commands | Adds one 3D line segment to the scene. |
GL.LOAD_OBJ | Command | OpenGL 3D commands | Imports a simple Wavefront OBJ mesh. v and f records are supported; polygonal faces are triangulated as fans. If the OBJ has vertices but no faces, it is imported as a point cloud. |
GL.MARCHING_CUBES | Command | OpenGL 3D commands | Alias of GL.ISOSURFACE. The current implementation uses marching tetrahedra internally to avoid large lookup tables while still producing triangular isosurfaces. |
GL.MARCHING_TETRAHEDRA | Command | OpenGL 3D commands | Extracts a lightweight triangulated isosurface from a W x H x T stack using a marching-tetrahedra pass. threshold01 is normalized over the sampled volume. |
GL.MESH | Command | OpenGL 3D commands | Adds a triangular mesh from a vertex list and a face list. Face indices may be 0-based or 1-based; polygons with more than three indices are triangulated as fans. |
GL.NEW | Function | OpenGL 3D functions | Alias of GL.CREATE. |
GL.OBJECT_COUNT | Function | OpenGL 3D functions | Returns the number of user geometry objects, excluding helper grids and axes. |
GL.POINT | Command | OpenGL 3D commands | Adds one 3D point to the scene. |
GL.POINTCLOUD_FROM_IMAGE | Command | OpenGL 3D commands | Converts bright pixels of an image frame into a sparse 3D point cloud. X/Y come from image coordinates, Z comes from normalized luminance times zScale. |
GL.POINTCLOUD_FROM_STACK | Command | OpenGL 3D commands | Alias of GL.VOXELS. |
GL.POINTS | Command | OpenGL 3D commands | Adds a batch of independent 3D points, useful for point clouds, samples and phase-space scatter plots. |
GL.POLYLINE | Command | OpenGL 3D commands | Adds a connected 3D polyline from a semicolon/newline-separated list of x,y,z points. |
GL.RAYMARCH | Command | OpenGL 3D commands | Alias of GL.VOLUME. Practical slice/ray-sampling preview before heavier GPU 3D-texture ray marching. |
GL.RENDER_MODE | Command | OpenGL 3D commands | Selects the GL renderer path. Modes: AUTO uses shader/VBO when available; MODERN requests the shader/VBO path; LEGACY forces the fixed-pipeline fallback. |
GL.RENDERER | Function | OpenGL 3D functions | Returns the requested renderer mode, active renderer and shader/VBO initialization status. |
GL.REPORT | Command | OpenGL 3D commands | Public cvBasic command exported from the live interpreter registry. Documentation entry auto-generated from runtime metadata. |
GL.RESET_VIEW | Command | OpenGL 3D commands | Alias of GL.RESETVIEW. |
GL.RESETVIEW | Command | OpenGL 3D commands | Resets the GL viewer orientation, pan and zoom. |
GL.ROTATE | Command | OpenGL 3D commands | Adds incremental camera rotation deltas to the current GL view. Useful inside animation loops. |
GL.SAVE_SCENE | Command | OpenGL 3D commands | Public cvBasic command exported from the live interpreter registry. Documentation entry auto-generated from runtime metadata. |
GL.SET_COLOR | Command | OpenGL 3D commands | Changes object color. For gradient surfaces this switches the object to a flat color. |
GL.SET_FPS | Command | OpenGL 3D commands | Sets the default frame delay used by GL.FRAME for this viewer. |
GL.SET_SIZE | Command | OpenGL 3D commands | Changes point size or text size for compatible GL objects. |
GL.SET_TITLE | Command | OpenGL 3D commands | Changes the GL MDI window title. Alias: GL.TITLE. |
GL.SET_WIDTH | Command | OpenGL 3D commands | Changes line width for line, polyline, grid, axes, arrow, wireframe and mesh-outline objects. |
GL.SHADED | Command | OpenGL 3D commands | Toggles the simple face-normal shading used by GL.SURFACE and GL.MESH. |
GL.SHOW | Command | OpenGL 3D commands | Shows a previously hidden GL object. |
GL.SIZE | Command | OpenGL 3D commands | Changes point size or text size for compatible GL objects. |
GL.SLICE | Command | OpenGL 3D commands | Displays an orthogonal X/Y/Z section of a stack as a triangulated relief surface. X/Y are image axes and Z is frame/time; scale extrudes luminance along the slice normal. |
GL.SLICE_X | Command | OpenGL 3D commands | Displays the Y/T section at a fixed image column xIndex, useful for temporal stack inspection. |
GL.SLICE_Y | Command | OpenGL 3D commands | Displays the X/T section at a fixed image row yIndex, revealing temporal trajectories and rotating/moving patterns. |
GL.SLICE_Z | Command | OpenGL 3D commands | Displays one normal image frame of the stack as a relief slice positioned at its temporal Z coordinate. |
GL.SNAPSHOT | Command | OpenGL 3D commands | Saves the current GL framebuffer to an image file such as PNG/JPG/BMP. |
GL.STACK_POINTS | Command | OpenGL 3D commands | Displays a stack/image as a thresholded voxel-like point cloud. X/Y are image coordinates, Z is frame index times zStep. |
GL.SURFACE | Command | OpenGL 3D commands | Adds a shaded triangulated surface from a row-major cols x rows grid of 3D points. The surface uses a simple z-gradient between lowColor and highColor. |
GL.SYNC | Command | OpenGL 3D commands | Processes pending GUI events briefly after heavy GL scene construction. |
GL.TEXT | Command | OpenGL 3D commands | Adds a projected 3D label anchored at x,y,z. The label follows camera rotation and zoom. |
GL.TITLE | Command | OpenGL 3D commands | Alias of GL.SET_TITLE. |
GL.UPDATE_LINE | Command | OpenGL 3D commands | Updates the endpoints of an existing line-segment object. |
GL.UPDATE_MESH | Command | OpenGL 3D commands | Replaces vertices/faces of an existing GL.MESH/GL.ISOSURFACE mesh object. |
GL.UPDATE_POINTS | Command | OpenGL 3D commands | Replaces the vertex list of an existing GL.POINT/GL.POINTS object without creating a new object. Useful for particle animation. |
GL.UPDATE_POLYLINE | Command | OpenGL 3D commands | Replaces the points of an existing GL.POLYLINE object while preserving its color/width. |
GL.UPDATE_SURFACE | Command | OpenGL 3D commands | Replaces the grid geometry of an existing GL.SURFACE/heightfield/slice object. Style and colormap are preserved. |
GL.UPDATE_TEXT | Command | OpenGL 3D commands | Moves and rewrites an existing GL.TEXT/GL.LABEL object. |
GL.VIEW | Command | OpenGL 3D commands | Sets the initial 3D camera orientation and zoom. Users can still rotate/pan/zoom interactively. |
GL.VOLUME | Command | OpenGL 3D commands | Adds a CPU-built transparent volume-render mesh from a stack. Modes: alpha, threshold, mip. It uses per-vertex color/alpha and the GL alpha-blending renderer. |
GL.VOLUME_RENDER | Command | OpenGL 3D commands | Alias of GL.VOLUME. |
GL.VOXELS | Command | OpenGL 3D commands | Displays a stack/image as a thresholded voxel-like point cloud. X/Y are image coordinates, Z is frame index times zStep. |
GL.WAIT | Command | OpenGL 3D commands | Processes pending GUI events for animation pacing with an explicit millisecond delay. |
GL.WIDTH | Command | OpenGL 3D commands | Changes line width for line, polyline, grid, axes, arrow, wireframe and mesh-outline objects. |
GL.WIREFRAME | Command | OpenGL 3D commands | Toggles global wireframe display for GL.SURFACE and GL.MESH objects. |
GL.ARROW handle, x, y, z, dx, dy, dz [, color [, width [, headScale]]]
Adds a 3D vector arrow starting at x,y,z and pointing by dx,dy,dz.
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 |
|---|---|
color | Optional plot/drawing color value. |
width | Optional parameter. If omitted, the command uses its internal default. |
headScale | Optional parameter. If omitted, the command uses its internal default. |
GL.ARROW g, 0, 0, 0, 0, 50, 0, "#50dcff", 2, 0.18GL.AUTOROTATE handle [, enabled]
Starts or stops the GL viewer internal autorotation timer.
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 |
|---|---|
enabled | Boolean switch: TRUE/1 enables the option, FALSE/0 disables it. |
GL.AUTOROTATE g, TRUEGL.AXES handle [, length [, width]]
Adds RGB XYZ axes: X red, Y green, Z blue.
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 |
|---|---|
length | Optional parameter. If omitted, the command uses its internal default. |
width | Optional parameter. If omitted, the command uses its internal default. |
GL.AXES g, 100, 2GL.BACKGROUND handle [, color]
Sets the GL viewer background color. Accepts Qt color names or #RRGGBB values.
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 |
|---|---|
color | Optional plot/drawing color value. |
GL.BACKGROUND g, "#101018"GL.BOUNDS(handle)
Returns scene bounds as minX,minY,minZ;maxX,maxY,maxZ, useful for reports and sanity checks.
PRINT GL.BOUNDS(g)GL.CAPTION handle, caption
Sets a scene caption shown in the GL overlay and included in GL.INFO/GL.REPORT.
GL.CAPTION g, "Potential field with diagnostic bounds"GL.CAPTURE handle, pathPattern [, frameIndex]
Alias of GL.CAPTURE_FRAME.
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. |
GL.CAPTUREGL.CAPTURE_FRAME handle, pathPattern [, frameIndex]
Saves a frame snapshot. pathPattern may contain %04d, %03d, %02d, %d or {frame}. Alias: GL.CAPTURE.
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. |
GL.CAPTURE_FRAME g, "frames/orbit_%04d.png", frameGL.CENTER handle
Recenters the camera on current bounds without changing rotation.
GL.CENTER gGL.CLEAR handle
Removes all geometry from a GL scene and resets its automatic bounds.
GL.CLEAR gGL.CLOSE handle
Closes a GL viewer by handle.
GL.CLOSE gGL.SET_COLOR handle, objectId, color
Changes object color. For gradient surfaces this switches the object to a flat color.
GL.COLORGL.COLORMAP handle, mode
Applies a preview colormap to all gradient GL.SURFACE/GL.HEIGHTFIELD objects. Supported modes: gray, hot, blue-red, jet, viridis, thermal, custom.
GL.COLORMAP g, "viridis"GL.CREATE([title [, width [, height [, background]]]])
Creates an interactive OpenGL MDI viewer for scientific 3D geometry and returns a numeric handle. The viewer supports mouse/keyboard rotation, pan, zoom, fit, grid/axes toggle and snapshot.
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. |
width | Optional parameter. If omitted, the command uses its internal default. |
height | Optional parameter. If omitted, the command uses its internal default. |
background | Initial canvas background value. |
g = GL.CREATE("3D scene", 900, 700, "#101018")GL.DELETE handle, objectId
Deletes a GL object previously identified through GL.LAST_ID.
GL.DELETE g, idGL.EXPORT_CSV handle, path [, objectId]
Exports GL geometry as a simple CSV table of VERTEX and TRI records. It is easier to inspect than OBJ/PLY and complements GL.SAVE_SCENE.
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 |
|---|---|
objectId | Optional parameter. If omitted, the command uses its internal default. |
GL.EXPORT_CSV g, "out/scene_geometry.csv"GL.EXPORT_OBJ handle, path [, objectId]
Exports visible GL geometry to Wavefront OBJ. If objectId is supplied, only that GL object is exported. Lines are written as OBJ l records; triangle meshes/surfaces are written as faces.
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 |
|---|---|
objectId | Optional parameter. If omitted, the command uses its internal default. |
GL.EXPORT_OBJ g, "out/scene.obj"GL.EXPORT_OBJECT_CSV handle, objectId, path
Exports one selected GL object to a compact CSV geometry table.
GL.EXPORT_OBJECT_CSV g, id, "out/object.csv"GL.EXPORT_OBJECT_OBJ handle, objectId, path
Exports one selected GL object to Wavefront OBJ.
GL.EXPORT_OBJECT_OBJ g, id, "out/object.obj"GL.EXPORT_OBJECT_PLY handle, objectId, path
Exports one selected GL object to ASCII PLY.
GL.EXPORT_OBJECT_PLY g, id, "out/object.ply"GL.EXPORT_PLY handle, path [, objectId]
Exports visible GL vertices and triangular faces to ASCII PLY. Point clouds are exported as vertices; lines are not represented as edges in this first lightweight exporter.
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 |
|---|---|
objectId | Optional parameter. If omitted, the command uses its internal default. |
GL.EXPORT_PLY g, "out/scene.ply"GL.SAVE_SCENE handle, path
Public cvBasic command exported from the live interpreter registry. Documentation entry auto-generated from runtime metadata.
GL.EXPORT_SCENEGL.FIT handle
Recomputes scene bounds, recenters the camera and resets zoom/pan while preserving the current rotation.
GL.FIT gGL.FLUSH handle [, maxMs]
Alias of GL.SYNC.
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 |
|---|---|
maxMs | Optional parameter. If omitted, the command uses its internal default. |
GL.FLUSHGL.FRAME handle [, maxMs]
Processes GUI events for one animation frame. Without maxMs it uses the delay configured by GL.SET_FPS.
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 |
|---|---|
maxMs | Optional parameter. If omitted, the command uses its internal default. |
GL.FRAME gGL.GRID handle [, plane [, extent [, step [, color [, width]]]]]
Adds a scientific reference grid on plane XY, XZ or YZ.
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 |
|---|---|
plane | Optional parameter. If omitted, the command uses its internal default. |
extent | Optional parameter. If omitted, the command uses its internal default. |
step | Optional parameter. If omitted, the command uses its internal default. |
color | Optional plot/drawing color value. |
width | Optional parameter. If omitted, the command uses its internal default. |
GL.GRID g, "XZ", 100, 10, "#454552", 1GL.HEIGHTFIELD handle, image [, zMin [, zMax [, lowColor [, highColor [, wireframe [, sampleStep [, frame]]]]]]]
Converts an image or stack frame into a shaded 3D heightfield. X/Y are image coordinates centered around the origin; Z is normalized luminance mapped between zMin and zMax. sampleStep reduces large images.
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 |
|---|---|
zMin | Optional parameter. If omitted, the command uses its internal default. |
zMax | Optional parameter. If omitted, the command uses its internal default. |
lowColor | Optional parameter. If omitted, the command uses its internal default. |
highColor | Optional parameter. If omitted, the command uses its internal default. |
wireframe | Optional parameter. If omitted, the command uses its internal default. |
sampleStep | Optional parameter. If omitted, the command uses its internal default. |
frame | Zero-based frame index; some stack commands accept -1 for all frames. |
GL.HEIGHTFIELD g, gray, 0, 80, "#2030a0", "#ffff80", FALSE, 4GL.HIDE handle, objectId
Temporarily hides a GL object without deleting it.
GL.HIDE g, idGL.IMAGE_POINTS handle, image [, threshold01 [, color [, size [, sampleStep [, frame [, zScale [, maxPoints]]]]]]]
Alias of GL.POINTCLOUD_FROM_IMAGE.
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 |
|---|---|
threshold01 | Optional parameter. If omitted, the command uses its internal default. |
color | Optional plot/drawing color value. |
size | Optional parameter. If omitted, the command uses its internal default. |
sampleStep | Optional parameter. If omitted, the command uses its internal default. |
frame | Zero-based frame index; some stack commands accept -1 for all frames. |
zScale | Optional parameter. If omitted, the command uses its internal default. |
maxPoints | Optional parameter. If omitted, the command uses its internal default. |
GL.IMAGE_POINTS g, img, 0.70, "yellow", 3GL.IMAGE_SURFACE handle, image [, zMin [, zMax [, lowColor [, highColor [, wireframe [, sampleStep [, frame]]]]]]]
Alias of GL.HEIGHTFIELD, intended for OpenCV image-to-surface visualizations.
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 |
|---|---|
zMin | Optional parameter. If omitted, the command uses its internal default. |
zMax | Optional parameter. If omitted, the command uses its internal default. |
lowColor | Optional parameter. If omitted, the command uses its internal default. |
highColor | Optional parameter. If omitted, the command uses its internal default. |
wireframe | Optional parameter. If omitted, the command uses its internal default. |
sampleStep | Optional parameter. If omitted, the command uses its internal default. |
frame | Zero-based frame index; some stack commands accept -1 for all frames. |
GL.IMAGE_SURFACE g, img, 0, 60, "#204080", "#ffe080", FALSE, 6GL.IMPORT_OBJ handle, path [, color [, wireframe]]
Imports a simple Wavefront OBJ mesh. v and f records are supported; polygonal faces are triangulated as fans. If the OBJ has vertices but no faces, it is imported as a point cloud.
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 |
|---|---|
color | Optional plot/drawing color value. |
wireframe | Optional parameter. If omitted, the command uses its internal default. |
GL.IMPORT_OBJ g, "out/scene.obj", "#b4dcff", TRUEGL.INFO(handle)
Returns a multi-line diagnostic summary of the GL scene: title, caption, bounds, camera, renderer, item/object counts and visible primitive totals.
PRINT GL.INFO(g)GL.ISOSURFACE handle, stack [, threshold01 [, color [, sampleStepXY [, sampleStepT [, zStep [, wireframe [, maxTriangles]]]]]]]
Extracts a lightweight triangulated isosurface from a W x H x T stack using a marching-tetrahedra pass. threshold01 is normalized over the sampled volume.
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 |
|---|---|
threshold01 | Optional parameter. If omitted, the command uses its internal default. |
color | Optional plot/drawing color value. |
sampleStepXY | Optional parameter. If omitted, the command uses its internal default. |
sampleStepT | Optional parameter. If omitted, the command uses its internal default. |
zStep | Optional parameter. If omitted, the command uses its internal default. |
wireframe | Optional parameter. If omitted, the command uses its internal default. |
maxTriangles | Optional parameter. If omitted, the command uses its internal default. |
GL.ISOSURFACE g, stack, 0.50, "#80d8ff", 1, 1, 4, FALSE, 200000GL.ITEM_COUNT(handle)
Returns the number of internal GL items currently stored in a scene, including grids, axes and labels.
PRINT GL.ITEM_COUNT(g)GL.LABEL handle, x, y, z, text [, color [, size]]
Alias of GL.TEXT.
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 |
|---|---|
color | Optional plot/drawing color value. |
size | Optional parameter. If omitted, the command uses its internal default. |
GL.LABELGL.LAST_ID(handle)
Returns the object id assigned to the last GL object added to the scene. Useful before GL.HIDE, GL.SHOW, GL.DELETE or style changes.
id = GL.LAST_ID(g)GL.LINE handle, x1, y1, z1, x2, y2, z2 [, color [, width]]
Adds one 3D line segment to the scene.
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 |
|---|---|
color | Optional plot/drawing color value. |
width | Optional parameter. If omitted, the command uses its internal default. |
GL.LINE g, 0, 0, 0, 100, 0, 0, "red", 2GL.IMPORT_OBJ handle, path [, color [, wireframe]]
Imports a simple Wavefront OBJ mesh. v and f records are supported; polygonal faces are triangulated as fans. If the OBJ has vertices but no faces, it is imported as a point cloud.
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 |
|---|---|
color | Optional plot/drawing color value. |
wireframe | Optional parameter. If omitted, the command uses its internal default. |
GL.LOAD_OBJGL.MARCHING_CUBES handle, stack [, threshold01 [, color [, sampleStepXY [, sampleStepT [, zStep [, wireframe [, maxTriangles]]]]]]]
Alias of GL.ISOSURFACE. The current implementation uses marching tetrahedra internally to avoid large lookup tables while still producing triangular isosurfaces.
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 |
|---|---|
threshold01 | Optional parameter. If omitted, the command uses its internal default. |
color | Optional plot/drawing color value. |
sampleStepXY | Optional parameter. If omitted, the command uses its internal default. |
sampleStepT | Optional parameter. If omitted, the command uses its internal default. |
zStep | Optional parameter. If omitted, the command uses its internal default. |
wireframe | Optional parameter. If omitted, the command uses its internal default. |
maxTriangles | Optional parameter. If omitted, the command uses its internal default. |
GL.MARCHING_CUBES g, stack, 0.62, "#ff9060", 1, 1, 4, TRUE, 160000GL.ISOSURFACE handle, stack [, threshold01 [, color [, sampleStepXY [, sampleStepT [, zStep [, wireframe [, maxTriangles]]]]]]]
Extracts a lightweight triangulated isosurface from a W x H x T stack using a marching-tetrahedra pass. threshold01 is normalized over the sampled volume.
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 |
|---|---|
threshold01 | Optional parameter. If omitted, the command uses its internal default. |
color | Optional plot/drawing color value. |
sampleStepXY | Optional parameter. If omitted, the command uses its internal default. |
sampleStepT | Optional parameter. If omitted, the command uses its internal default. |
zStep | Optional parameter. If omitted, the command uses its internal default. |
wireframe | Optional parameter. If omitted, the command uses its internal default. |
maxTriangles | Optional parameter. If omitted, the command uses its internal default. |
GL.MARCHING_TETRAHEDRAGL.MESH handle, "x,y,z;...", "i,j,k;i,j,k;..." [, color [, wireframe]]
Adds a triangular mesh from a vertex list and a face list. Face indices may be 0-based or 1-based; polygons with more than three indices are triangulated as fans.
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 |
|---|---|
color | Optional plot/drawing color value. |
wireframe | Optional parameter. If omitted, the command uses its internal default. |
GL.MESH g, vertices, faces, "#b4dcff", FALSEGL.NEW([title [, width [, height [, background]]]])
Alias of GL.CREATE.
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. |
width | Optional parameter. If omitted, the command uses its internal default. |
height | Optional parameter. If omitted, the command uses its internal default. |
background | Initial canvas background value. |
value = GL.NEW([title [, width [, height [, background]]]])GL.OBJECT_COUNT(handle)
Returns the number of user geometry objects, excluding helper grids and axes.
PRINT GL.OBJECT_COUNT(g)GL.POINT handle, x, y, z [, color [, size]]
Adds one 3D point to the scene.
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 |
|---|---|
color | Optional plot/drawing color value. |
size | Optional parameter. If omitted, the command uses its internal default. |
GL.POINT g, 0, 0, 0, "yellow", 6GL.POINTCLOUD_FROM_IMAGE handle, image [, threshold01 [, color [, size [, sampleStep [, frame [, zScale [, maxPoints]]]]]]]
Converts bright pixels of an image frame into a sparse 3D point cloud. X/Y come from image coordinates, Z comes from normalized luminance times zScale.
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 |
|---|---|
threshold01 | Optional parameter. If omitted, the command uses its internal default. |
color | Optional plot/drawing color value. |
size | Optional parameter. If omitted, the command uses its internal default. |
sampleStep | Optional parameter. If omitted, the command uses its internal default. |
frame | Zero-based frame index; some stack commands accept -1 for all frames. |
zScale | Optional parameter. If omitted, the command uses its internal default. |
maxPoints | Optional parameter. If omitted, the command uses its internal default. |
GL.POINTCLOUD_FROM_IMAGE g, img, 0.65, "#ffcc40", 3, 2, 0, 70GL.POINTCLOUD_FROM_STACK handle, stack [, threshold01 [, color [, size [, sampleStepXY [, sampleStepT [, zStep [, maxPoints]]]]]]]
Alias of GL.VOXELS.
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 |
|---|---|
threshold01 | Optional parameter. If omitted, the command uses its internal default. |
color | Optional plot/drawing color value. |
size | Optional parameter. If omitted, the command uses its internal default. |
sampleStepXY | Optional parameter. If omitted, the command uses its internal default. |
sampleStepT | Optional parameter. If omitted, the command uses its internal default. |
zStep | Optional parameter. If omitted, the command uses its internal default. |
maxPoints | Optional parameter. If omitted, the command uses its internal default. |
GL.POINTCLOUD_FROM_STACK g, stack, 0.65, "#ffcc40", 3GL.POINTS handle, "x,y,z;x,y,z;..." [, color [, size]]
Adds a batch of independent 3D points, useful for point clouds, samples and phase-space scatter plots.
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 |
|---|---|
color | Optional plot/drawing color value. |
size | Optional parameter. If omitted, the command uses its internal default. |
GL.POINTS g, "0,0,0;10,20,5;30,10,15", "yellow", 5GL.POLYLINE handle, "x,y,z;x,y,z;..." [, color [, width]]
Adds a connected 3D polyline from a semicolon/newline-separated list of x,y,z points.
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 |
|---|---|
color | Optional plot/drawing color value. |
width | Optional parameter. If omitted, the command uses its internal default. |
GL.POLYLINE g, "0,0,0;10,20,5;30,10,15", "#ffc040", 2GL.RAYMARCH handle, stack [, mode [, threshold01 [, opacity [, sampleStepXY [, sampleStepT [, zStep [, colormap [, maxQuads]]]]]]]]
Alias of GL.VOLUME. Practical slice/ray-sampling preview before heavier GPU 3D-texture ray marching.
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 |
|---|---|
mode | Mode selector; accepted values are described in the command text. |
threshold01 | Optional parameter. If omitted, the command uses its internal default. |
opacity | Optional parameter. If omitted, the command uses its internal default. |
sampleStepXY | Optional parameter. If omitted, the command uses its internal default. |
sampleStepT | Optional parameter. If omitted, the command uses its internal default. |
zStep | Optional parameter. If omitted, the command uses its internal default. |
colormap | Optional parameter. If omitted, the command uses its internal default. |
maxQuads | Optional parameter. If omitted, the command uses its internal default. |
GL.RAYMARCH g, stack, "mip", 0.22, 0.75, 2, 1, 4, "viridis", 60000GL.RENDER_MODE handle, mode
Selects the GL renderer path. Modes: AUTO uses shader/VBO when available; MODERN requests the shader/VBO path; LEGACY forces the fixed-pipeline fallback.
GL.RENDER_MODE g, "modern"GL.RENDERER(handle)
Returns the requested renderer mode, active renderer and shader/VBO initialization status.
PRINT GL.RENDERER(g)GL.REPORT handle, htmlPath [, snapshotPath]
Public cvBasic command exported from the live interpreter registry. Documentation entry auto-generated from runtime metadata.
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 |
|---|---|
snapshotPath | Optional parameter. If omitted, the command uses its internal default. |
GL.REPORTGL.RESET_VIEW handle
Alias of GL.RESETVIEW.
GL.RESET_VIEWGL.RESETVIEW handle
Resets the GL viewer orientation, pan and zoom.
GL.RESETVIEW gGL.ROTATE handle [, dRotX [, dRotY [, dRotZ]]]
Adds incremental camera rotation deltas to the current GL view. Useful inside animation loops.
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 |
|---|---|
dRotX | Optional parameter. If omitted, the command uses its internal default. |
dRotY | Optional parameter. If omitted, the command uses its internal default. |
dRotZ | Optional parameter. If omitted, the command uses its internal default. |
GL.ROTATE g, 0, 1.5, 0GL.SAVE_SCENE handle, path
Public cvBasic command exported from the live interpreter registry. Documentation entry auto-generated from runtime metadata.
GL.SAVE_SCENEGL.SET_COLOR handle, objectId, color
Changes object color. For gradient surfaces this switches the object to a flat color.
GL.SET_COLOR g, id, "#ffcc00"GL.SET_FPS handle, fps
Sets the default frame delay used by GL.FRAME for this viewer.
GL.SET_FPS g, 30GL.SET_SIZE handle, objectId, size
Changes point size or text size for compatible GL objects.
GL.SET_SIZE g, id, 8GL.SET_TITLE handle, title
Changes the GL MDI window title. Alias: GL.TITLE.
GL.SET_TITLE g, "Final scene"GL.SET_WIDTH handle, objectId, width
Changes line width for line, polyline, grid, axes, arrow, wireframe and mesh-outline objects.
GL.SET_WIDTH g, id, 3GL.SHADED handle [, enabled]
Toggles the simple face-normal shading used by GL.SURFACE and GL.MESH.
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 |
|---|---|
enabled | Boolean switch: TRUE/1 enables the option, FALSE/0 disables it. |
GL.SHADED g, TRUEGL.SHOW handle, objectId
Shows a previously hidden GL object.
GL.SHOW g, idGL.SET_SIZE handle, objectId, size
Changes point size or text size for compatible GL objects.
GL.SIZEGL.SLICE handle, stack, axis, index [, scale [, lowColor [, highColor [, sampleStep [, zStep [, wireframe]]]]]]
Displays an orthogonal X/Y/Z section of a stack as a triangulated relief surface. X/Y are image axes and Z is frame/time; scale extrudes luminance along the slice normal.
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 |
|---|---|
scale | Multiplicative scale factor; for geometric transforms it may mean image scale around the center. |
lowColor | Optional parameter. If omitted, the command uses its internal default. |
highColor | Optional parameter. If omitted, the command uses its internal default. |
sampleStep | Optional parameter. If omitted, the command uses its internal default. |
zStep | Optional parameter. If omitted, the command uses its internal default. |
wireframe | Optional parameter. If omitted, the command uses its internal default. |
GL.SLICE g, stack, "Z", 8, 24, "#2050c0", "#ffe070", 1, 4, TRUEGL.SLICE_X handle, stack, xIndex [, scale [, lowColor [, highColor [, sampleStep [, zStep [, wireframe]]]]]]
Displays the Y/T section at a fixed image column xIndex, useful for temporal stack inspection.
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 |
|---|---|
scale | Multiplicative scale factor; for geometric transforms it may mean image scale around the center. |
lowColor | Optional parameter. If omitted, the command uses its internal default. |
highColor | Optional parameter. If omitted, the command uses its internal default. |
sampleStep | Optional parameter. If omitted, the command uses its internal default. |
zStep | Optional parameter. If omitted, the command uses its internal default. |
wireframe | Optional parameter. If omitted, the command uses its internal default. |
GL.SLICE_X g, stack, 32, 20, "#203080", "#ffdf70", 1, 4, TRUEGL.SLICE_Y handle, stack, yIndex [, scale [, lowColor [, highColor [, sampleStep [, zStep [, wireframe]]]]]]
Displays the X/T section at a fixed image row yIndex, revealing temporal trajectories and rotating/moving patterns.
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 |
|---|---|
scale | Multiplicative scale factor; for geometric transforms it may mean image scale around the center. |
lowColor | Optional parameter. If omitted, the command uses its internal default. |
highColor | Optional parameter. If omitted, the command uses its internal default. |
sampleStep | Optional parameter. If omitted, the command uses its internal default. |
zStep | Optional parameter. If omitted, the command uses its internal default. |
wireframe | Optional parameter. If omitted, the command uses its internal default. |
GL.SLICE_Y g, stack, 32, 20, "#203080", "#ffdf70", 1, 4, TRUEGL.SLICE_Z handle, stack, frameIndex [, scale [, lowColor [, highColor [, sampleStep [, zStep [, wireframe]]]]]]
Displays one normal image frame of the stack as a relief slice positioned at its temporal Z coordinate.
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 |
|---|---|
scale | Multiplicative scale factor; for geometric transforms it may mean image scale around the center. |
lowColor | Optional parameter. If omitted, the command uses its internal default. |
highColor | Optional parameter. If omitted, the command uses its internal default. |
sampleStep | Optional parameter. If omitted, the command uses its internal default. |
zStep | Optional parameter. If omitted, the command uses its internal default. |
wireframe | Optional parameter. If omitted, the command uses its internal default. |
GL.SLICE_Z g, stack, 8, 22, "#2050c0", "#ffe070", 1, 4, TRUEGL.SNAPSHOT handle, path
Saves the current GL framebuffer to an image file such as PNG/JPG/BMP.
GL.SNAPSHOT g, "gl_scene.png"GL.VOXELS handle, stack [, threshold01 [, color [, size [, sampleStepXY [, sampleStepT [, zStep [, maxPoints]]]]]]]
Displays a stack/image as a thresholded voxel-like point cloud. X/Y are image coordinates, Z is frame index times zStep.
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 |
|---|---|
threshold01 | Optional parameter. If omitted, the command uses its internal default. |
color | Optional plot/drawing color value. |
size | Optional parameter. If omitted, the command uses its internal default. |
sampleStepXY | Optional parameter. If omitted, the command uses its internal default. |
sampleStepT | Optional parameter. If omitted, the command uses its internal default. |
zStep | Optional parameter. If omitted, the command uses its internal default. |
maxPoints | Optional parameter. If omitted, the command uses its internal default. |
GL.STACK_POINTSGL.SURFACE handle, "x,y,z;x,y,z;...", cols, rows [, lowColor [, highColor [, wireframe]]]
Adds a shaded triangulated surface from a row-major cols x rows grid of 3D points. The surface uses a simple z-gradient between lowColor and highColor.
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 |
|---|---|
lowColor | Optional parameter. If omitted, the command uses its internal default. |
highColor | Optional parameter. If omitted, the command uses its internal default. |
wireframe | Optional parameter. If omitted, the command uses its internal default. |
GL.SURFACE g, pts, 64, 64, "#2060ff", "#ffe060", FALSEGL.SYNC handle [, maxMs]
Processes pending GUI events briefly after heavy GL scene construction.
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 |
|---|---|
maxMs | Optional parameter. If omitted, the command uses its internal default. |
GL.SYNC g, 50GL.TEXT handle, x, y, z, text [, color [, size]]
Adds a projected 3D label anchored at x,y,z. The label follows camera rotation and 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 |
|---|---|
color | Optional plot/drawing color value. |
size | Optional parameter. If omitted, the command uses its internal default. |
GL.TEXT g, 0, 0, 0, "origin", "white", 12GL.TITLE handle, title
Alias of GL.SET_TITLE.
GL.TITLEGL.UPDATE_LINE handle, objectId, x1, y1, z1, x2, y2, z2
Updates the endpoints of an existing line-segment object.
GL.UPDATE_LINE g, lineId, 0,0,0, x,y,zGL.UPDATE_MESH handle, objectId, "x,y,z;...", "i,j,k;..."
Replaces vertices/faces of an existing GL.MESH/GL.ISOSURFACE mesh object.
GL.UPDATE_MESH g, meshId, verts, facesGL.UPDATE_POINTS handle, objectId, "x,y,z;x,y,z;..."
Replaces the vertex list of an existing GL.POINT/GL.POINTS object without creating a new object. Useful for particle animation.
GL.UPDATE_POINTS g, pid, ptsGL.UPDATE_POLYLINE handle, objectId, "x,y,z;x,y,z;..."
Replaces the points of an existing GL.POLYLINE object while preserving its color/width.
GL.UPDATE_POLYLINE g, trailId, trailPtsGL.UPDATE_SURFACE handle, objectId, "x,y,z;x,y,z;...", cols, rows
Replaces the grid geometry of an existing GL.SURFACE/heightfield/slice object. Style and colormap are preserved.
GL.UPDATE_SURFACE g, surfId, pts, cols, rowsGL.UPDATE_TEXT handle, objectId, x, y, z, text
Moves and rewrites an existing GL.TEXT/GL.LABEL object.
GL.UPDATE_TEXT g, labelId, x, y, z, "t=" + STR(t)GL.VIEW handle, rotX, rotY, rotZ [, zoom]
Sets the initial 3D camera orientation and zoom. Users can still rotate/pan/zoom interactively.
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. |
GL.VIEW g, 28, -35, 0, 1.0GL.VOLUME handle, stack [, mode [, threshold01 [, opacity [, sampleStepXY [, sampleStepT [, zStep [, colormap [, maxQuads]]]]]]]]
Adds a CPU-built transparent volume-render mesh from a stack. Modes: alpha, threshold, mip. It uses per-vertex color/alpha and the GL alpha-blending renderer.
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 |
|---|---|
mode | Mode selector; accepted values are described in the command text. |
threshold01 | Optional parameter. If omitted, the command uses its internal default. |
opacity | Optional parameter. If omitted, the command uses its internal default. |
sampleStepXY | Optional parameter. If omitted, the command uses its internal default. |
sampleStepT | Optional parameter. If omitted, the command uses its internal default. |
zStep | Optional parameter. If omitted, the command uses its internal default. |
colormap | Optional parameter. If omitted, the command uses its internal default. |
maxQuads | Optional parameter. If omitted, the command uses its internal default. |
GL.VOLUME g, stack, "alpha", 0.18, 0.08, 2, 1, 4, "thermal", 80000GL.VOLUME_RENDER handle, stack [, mode [, threshold01 [, opacity [, sampleStepXY [, sampleStepT [, zStep [, colormap [, maxQuads]]]]]]]]
Alias of GL.VOLUME.
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 |
|---|---|
mode | Mode selector; accepted values are described in the command text. |
threshold01 | Optional parameter. If omitted, the command uses its internal default. |
opacity | Optional parameter. If omitted, the command uses its internal default. |
sampleStepXY | Optional parameter. If omitted, the command uses its internal default. |
sampleStepT | Optional parameter. If omitted, the command uses its internal default. |
zStep | Optional parameter. If omitted, the command uses its internal default. |
colormap | Optional parameter. If omitted, the command uses its internal default. |
maxQuads | Optional parameter. If omitted, the command uses its internal default. |
GL.VOLUME_RENDER g, stack, "threshold", 0.45, 0.20, 2, 1, 4, "blue-red", 50000GL.VOXELS handle, stack [, threshold01 [, color [, size [, sampleStepXY [, sampleStepT [, zStep [, maxPoints]]]]]]]
Displays a stack/image as a thresholded voxel-like point cloud. X/Y are image coordinates, Z is frame index times zStep.
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 |
|---|---|
threshold01 | Optional parameter. If omitted, the command uses its internal default. |
color | Optional plot/drawing color value. |
size | Optional parameter. If omitted, the command uses its internal default. |
sampleStepXY | Optional parameter. If omitted, the command uses its internal default. |
sampleStepT | Optional parameter. If omitted, the command uses its internal default. |
zStep | Optional parameter. If omitted, the command uses its internal default. |
maxPoints | Optional parameter. If omitted, the command uses its internal default. |
GL.VOXELS g, stack, 0.60, "#ffb030", 3, 1, 1, 4, 100000GL.WAIT handle [, maxMs]
Processes pending GUI events for animation pacing with an explicit millisecond delay.
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 |
|---|---|
maxMs | Optional parameter. If omitted, the command uses its internal default. |
GL.WAIT g, 16GL.SET_WIDTH handle, objectId, width
Changes line width for line, polyline, grid, axes, arrow, wireframe and mesh-outline objects.
GL.WIDTHGL.WIREFRAME handle [, enabled]
Toggles global wireframe display for GL.SURFACE and GL.MESH objects.
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 |
|---|---|
enabled | Boolean switch: TRUE/1 enables the option, FALSE/0 disables it. |
GL.WIREFRAME g, TRUE