JavaScript is disabled on your browser.
Method parameters in mgui.geometry.neuro.mesh with type arguments of type SampleRay
Modifier and Type
Method
Description
static VectorSet3DInt
NeuroMeshFunctions. generateRayShapes (java.util.ArrayList<SampleRay > rays,
java.lang.String name)
Generates a vector 3D set from a list of sample rays; adds sample data to shapes.
protected static java.util.ArrayList<java.lang.Integer>
NeuroMeshFunctions. getBottomPointingRays (java.util.ArrayList<SampleRay > rays,
float bottom_z)
Returns a list of indices corresponding to rays which project to a point with a z coordinate below
bottom_z
.
static Mesh3D []
NeuroMeshFunctions. getControlPointMeshes (int[][] A,
java.util.ArrayList<SampleRay > rays,
ScalpAndSkullModelOptions options)
Generates four meshes corresponding to the average control points.
static int[][]
NeuroMeshFunctions. getRayControlPoints (java.util.ArrayList<SampleRay > rays)
Determines a set of control points which can be used to constrain the search for skull and
scalp surfaces.
static void
NeuroMeshFunctions. getRays (ScalpAndSkullModelOptions options,
java.util.ArrayList<SampleRay > rays_1,
java.util.ArrayList<SampleRay > rays_2,
ProgressUpdater progress)
Generates a set of sample rays from an instance of
ScalpAndSkullModelOptions
, including a brain hull
surface and a T1-weighted brain image.
static void
NeuroMeshFunctions. getRaysBlocking (ScalpAndSkullModelOptions options,
java.util.ArrayList<SampleRay > rays_1,
java.util.ArrayList<SampleRay > rays_2,
ProgressUpdater progress)
Generates and fills three sets of sample rays based upon the parameters in options
.
static Mesh3D []
NeuroMeshFunctions. getSkullAndScalpMeshes (int[][] A,
java.util.ArrayList<SampleRay > scalp_rays,
java.util.ArrayList<SampleRay > full_rays,
ScalpAndSkullModelOptions options)
Generates meshes, given the control points; array is ordered as:
inner skull
outer skull
scalp
static Mesh3D []
NeuroMeshFunctions. getSkullAndScalpMeshes (int[][] A,
java.util.ArrayList<SampleRay > scalp_rays,
java.util.ArrayList<SampleRay > full_rays,
ScalpAndSkullModelOptions options,
ProgressUpdater updater)
Generates meshes, given the control points; array is ordered as:
inner skull
outer skull
scalp
control_point_A1
control_point_A2
control_point_A3
control_point_A4
static Mesh3D []
NeuroMeshFunctions. getSkullAndScalpMeshesBlocking (int[][] A,
java.util.ArrayList<SampleRay > scalp_rays,
java.util.ArrayList<SampleRay > full_rays,
ScalpAndSkullModelOptions options,
ProgressUpdater updater)
Generates meshes, given the control points; array is ordered as:
inner skull
outer skull
scalp
control_point_A1
control_point_A2
control_point_A3
control_point_A4
..and 4 additional meshes for subject control points
static boolean
NeuroMeshFunctions. writeRaysToFile (java.util.ArrayList<SampleRay > rays,
java.lang.String file_prefix,
int precision)
Writes rays
to two tab-delimited text files, one with its vectors: