Microscopy Image Browser 2.91
MIB
Loading...
Searching...
No Matches
mibSetImarisSurface.m File Reference

Send a surface from MIB to Imaris. More...

Functions

function connImaris = mibSetImarisSurface (surface, connImaris, options)
 Send a surface from MIB to Imaris.
 

Detailed Description

Send a surface from MIB to Imaris.

Function Documentation

◆ mibSetImarisSurface()

function connImaris = mibSetImarisSurface ( surface,
connImaris,
options )

Send a surface from MIB to Imaris.

Parameters
surfacea structure with fields: .vertices - coordinates of vertices [Nx3] .faces - indeces of vertices for each face/triangle .normals - matrix with normals [Nx3]
connImaris[optional] a handle to Imaris connection
optionsan optional structure with additional settings
  • .color [optional] a vector with color for spots: (1x4), (0..1) vector of [R G B A] values
  • .name -> a char with the name of the object
Return values
connImarisa handle to Imaris connection
Required fields of surface:
Required fields of options:
Required fields of connImaris:

Examples:

surface.vertices = [28 40 0; 29 40 0; 27 40 1; 28 40 1];
surface.faces = [1 3 4; 1 4 2];
options.color = [1 0 0];
obj.connImaris = mibSetImarisSurface(surface, obj.connImaris, options); // call from mibController; send surface from Matlab to Imaris
function connImaris = mibSetImarisSurface(surface, connImaris, options)
Send a surface from MIB to Imaris.
Definition mibSetImarisSurface.m:17

References A(), B(), C(), mibConnectToImaris(), min, N, and n.

Referenced by mibRenderModel().

Here is the call graph for this function:
Here is the caller graph for this function: