Uses of Interface
mgui.numbers.MguiNumber
Package | Description |
---|---|
mgui.geometry.mesh |
Provides classes representing and operating on 3D mesh shapes.
|
mgui.geometry.neuro.connectivity | |
mgui.geometry.neuro.mesh | |
mgui.geometry.volume |
Provides classes for representing and operating on 3D volume shapes.
|
mgui.interfaces.graphics.util |
Utility classes operating on 2D and 3D graphics objects.
|
mgui.interfaces.graphs |
Provides an interface for user interaction with graph objects.
|
mgui.interfaces.io |
This package contains all classes which perform input/output functions.
|
mgui.interfaces.maps |
Provides a set a maps for use by ModelGUI objects.
|
mgui.interfaces.neuro | |
mgui.interfaces.plots |
Provides 2D and 3D plotting functionality.
|
mgui.interfaces.shapes |
This package provides interfaces for user interaction with shapes and shape models.
|
mgui.interfaces.shapes.neuro | |
mgui.interfaces.shapes.util | |
mgui.interfaces.shapes.volume | |
mgui.interfaces.variables | |
mgui.io.domestic.shapes | |
mgui.io.foreign.caret | |
mgui.io.foreign.freesurfer | |
mgui.io.foreign.fsl | |
mgui.io.foreign.minc | |
mgui.io.foreign.wunil | |
mgui.io.standard.gifti | |
mgui.io.standard.nifti | |
mgui.models.dynamic |
Provides a framework for dynamic modelling (4D) functionality in ModelGUI.
|
mgui.models.environments | |
mgui.numbers | |
mgui.stats |
-
Uses of MguiNumber in mgui.geometry.mesh
Methods in mgui.geometry.mesh that return types with arguments of type MguiNumber Modifier and Type Method Description static java.util.ArrayList<MguiNumber>
MeshFunctions. getLargestContiguousRois(Mesh3D mesh, java.util.ArrayList<MguiNumber> rois, int out_value)
Retains only the largest contiguous ROIs in the given set of values; all others are set toout_value
.static java.util.ArrayList<MguiNumber>
MeshFunctions. getVertexWiseCurvature(Mesh3D mesh, ProgressUpdater progress)
Computes the mean curvature at each node in the mesh.static java.util.ArrayList<MguiNumber>
MeshFunctions. getVertexWiseCurvature_bak(Mesh3D mesh, ProgressUpdater progress)
Computes the mean curvature at each node in the mesh.java.util.ArrayList<MguiNumber>
MeshEngine. mapVolumeToMesh(Mesh3D mesh, Volume3DInt volume, java.lang.String method)
java.util.ArrayList<MguiNumber>
MeshEngine. mapVolumeToMesh(Mesh3D mesh, Volume3DInt volume, java.lang.String method, InterfaceProgressBar progress_bar)
static java.util.ArrayList<MguiNumber>
MeshFunctions. mapVolumeToMeshEV(Mesh3D mesh, Volume3DInt volume, java.lang.String column, double no_value, float radius, int stat, ProgressUpdater progress)
Maps the values inchannel
ofgrid
, an instance ofGrid3D
, to the vertices ofmesh
, using a containing-voxel(s) approach.static java.util.ArrayList<MguiNumber>
MeshFunctions. mapVolumeToMeshEV(Mesh3D mesh, Volume3DInt volume, java.lang.String column, double no_value, ProgressUpdater progress)
Maps the values inchannel
ofgrid
, an instance ofGrid3D
, to the vertices ofmesh
, using a containing-voxel approach.protected static java.util.ArrayList<MguiNumber>
MeshFunctions. mapVolumeToMeshEVBlocking(Mesh3D mesh, Volume3DInt volume, java.lang.String column, double no_value, float radius, int stat, ProgressUpdater progress)
Maps the values inchannel
ofgrid
, an instance ofGrid3D
, to the vertices ofmesh
, using a containing-voxel(s) approach.static java.util.ArrayList<MguiNumber>
MeshFunctions. mapVolumeToMeshGaussian(Mesh3D mesh, Volume3DInt volume, java.lang.String channel, double sigma_normal, double sigma_tangent, double sigma_max_normal, double sigma_max_tangent, java.lang.String setSigmaT, boolean normalize)
static java.util.ArrayList<MguiNumber>
MeshFunctions. mapVolumeToMeshGaussian(Mesh3D mesh, Volume3DInt volume, java.lang.String channel, double sigma_normal, double sigma_tangent, double sigma_max_normal, double sigma_max_tangent, java.lang.String setSigmaT, boolean normalize, ProgressUpdater progress, boolean output_matrix, double normal_set_max_sigma, double tangent_set_max_sigma, java.lang.String matrix_file)
Maps values from aGrid3D
object to a mesh object by applying a Gaussian kernal to voxels in the vicinity of each mesh vertex.static java.util.ArrayList<MguiNumber>
MeshFunctions. maskMeshWithPlane(Mesh3D mesh, Plane3D plane, double above_val, double below_val)
static java.util.ArrayList<MguiNumber>
MeshFunctions. maskMeshWithPlane(Mesh3D mesh, Plane3D plane, double above_val, double below_val, double contained_val)
static java.util.ArrayList<MguiNumber>
MeshFunctions. maskMeshWithPlane(Mesh3D mesh, Plane3D plane, double above_val, double below_val, double contained_val, VertexSelection selection)
Masks a mesh with a plane.static java.util.ArrayList<MguiNumber>
MeshFunctions. smoothVertexValuesIsotropicGaussian(Mesh3D mesh, java.util.ArrayList<MguiNumber> values, double sigma, double sigma_max, ProgressUpdater progress)
Smoothsvalues
with an isotropic Gaussian kernel, along the surface ofmesh
.static java.util.ArrayList<MguiNumber>
MeshFunctions. splitRoiWithPlane(Mesh3D mesh, Plane3D plane, java.util.ArrayList<MguiNumber> rois, int roi, int new_roi, ProgressUpdater progress)
Splits the ROI defined byroi
into two parts, on either side ofplane
.static java.util.ArrayList<MguiNumber>
MeshFunctions. subdivideRois(Mesh3D mesh, java.util.ArrayList<MguiNumber> old_rois, int min_size, int target_rois, int min_roi, int max_roi, ProgressUpdater progress)
Subdivides a mesh into (roughly) equally sized ROIs, with the final number equal or close totarget_rois
.static java.util.ArrayList<MguiNumber>
MeshFunctions. subdivideRois(Mesh3D mesh, java.util.ArrayList<MguiNumber> old_rois, int min_size, int target_rois, ProgressUpdater progress)
Subdivides a mesh into (roughly) equally sized ROIs, with the final number equal or close totarget_rois
.static java.util.ArrayList<MguiNumber>
MeshFunctions. subdivideRoisBlocking(Mesh3D mesh, java.util.ArrayList<MguiNumber> old_rois, int min_size, int target_rois, int min_roi, int max_roi, ProgressUpdater progress)
Subdivides a mesh into (roughly) equally sized ROIs, with the final number equal or close totarget_rois
.Method parameters in mgui.geometry.mesh with type arguments of type MguiNumber Modifier and Type Method Description static java.util.HashMap<java.lang.Integer,java.lang.Integer>
MeshFunctions. getJaggedEdgeNodes(Mesh3D mesh, java.util.ArrayList<MguiNumber> values, int min_nbrs, int max_nbrs, boolean islands)
Detects nodes corresponding to "jagged" edges; a jagged edge node is defined as one which has onlymax_nbrs
neighbours with the same value as itself, and at leastmin_nbrs
neighbours which are the same value.static java.util.ArrayList<MguiNumber>
MeshFunctions. getLargestContiguousRois(Mesh3D mesh, java.util.ArrayList<MguiNumber> rois, int out_value)
Retains only the largest contiguous ROIs in the given set of values; all others are set toout_value
.static java.util.ArrayList<Mesh3D>
MeshFunctions. getMeshParts(Mesh3D mesh, java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>> old_data, java.util.ArrayList<java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>>> parts_data)
static java.util.ArrayList<Mesh3D>
MeshFunctions. getMeshParts(Mesh3D mesh, java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>> old_data, java.util.ArrayList<java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>>> parts_data)
static java.util.ArrayList<Mesh3D>
MeshFunctions. getMeshParts(Mesh3D mesh, java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>> old_data, java.util.ArrayList<java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>>> parts_data, ProgressUpdater updater)
Returns a set of non-contiguous meshes frommesh
.static java.util.ArrayList<Mesh3D>
MeshFunctions. getMeshParts(Mesh3D mesh, java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>> old_data, java.util.ArrayList<java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>>> parts_data, ProgressUpdater updater)
Returns a set of non-contiguous meshes frommesh
.static java.util.ArrayList<java.lang.Integer>
MeshFunctions. getRegionBoundaryNodeIndices(Mesh3D mesh, java.util.ArrayList<MguiNumber> values, int value)
Returns a list of nodes which form the boundary of all regions defined byvalue
, specified by the vertex-wise listvalues
.static java.util.ArrayList<java.lang.Integer>
MeshFunctions. getRoiIndices(Mesh3D mesh, java.util.ArrayList<MguiNumber> rois, int roi)
Returns a list of indices corresponding torois == roi
.static VertexSelection
MeshFunctions. getRoiSelection(Mesh3D mesh, java.util.ArrayList<MguiNumber> rois, int roi)
Returns a vertex selection corresponding torois == roi
.static Mesh3D
MeshFunctions. getRoiSubmesh(Mesh3D mesh, java.util.ArrayList<MguiNumber> rois, int roi)
Returns a submesh ofmesh
including all vertices corresponding torois == roi
.void
MeshEngine. getSubMesh(Mesh3DInt mesh, Mesh3DInt newmesh, java.util.ArrayList<MguiNumber> mask, int value, boolean retain, boolean copydata)
static Mesh3D
MeshFunctions. getSubMesh(Mesh3D mesh_old, java.util.ArrayList<MguiNumber> mask, int value, boolean retain)
Returns a submesh comprised of all unmasked (mask != 0) vertices and all faces whose vertices are retained.static Mesh3D
MeshFunctions. getSubMesh(Mesh3D mesh_old, java.util.ArrayList<MguiNumber> mask, int value, boolean retain, boolean any_in_face, java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>> data_old, java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>> data_new)
Returns a submesh based upon a mask.static Mesh3D
MeshFunctions. getSubMesh(Mesh3D mesh_old, java.util.ArrayList<MguiNumber> mask, int value, boolean retain, boolean any_in_face, java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>> data_old, java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>> data_new)
Returns a submesh based upon a mask.static Mesh3D
MeshFunctions. getSubMesh(Mesh3D mesh_old, java.util.ArrayList<MguiNumber> mask, int value, boolean retain, java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>> data_old, java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>> data_new)
static Mesh3D
MeshFunctions. getSubMesh(Mesh3D mesh_old, java.util.ArrayList<MguiNumber> mask, int value, boolean retain, java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>> data_old, java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>> data_new)
static Mesh3D
MeshFunctions. getSubMesh(Mesh3D mesh_old, java.util.ArrayList<MguiNumber> mask, int value_from, int value_to, boolean retain, boolean any_in_face, java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>> data_old, java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>> data_new)
Returns a submesh comprised of all unmasked (mask != 0) vertices and all faces whose vertices are retained.static Mesh3D
MeshFunctions. getSubMesh(Mesh3D mesh_old, java.util.ArrayList<MguiNumber> mask, int value_from, int value_to, boolean retain, boolean any_in_face, java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>> data_old, java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>> data_new)
Returns a submesh comprised of all unmasked (mask != 0) vertices and all faces whose vertices are retained.static Mesh3D
MeshFunctions. getSubMesh(Mesh3D mesh_old, VertexSelection selection, boolean retain, boolean any_in_face, java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>> data_old, java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>> data_new)
Returns a sub-mesh ofmesh_old
containing all vertices and associated faces inselection
.static double[]
MeshFunctions. getVolumeAndArea(Mesh3D mesh, java.util.ArrayList<MguiNumber> thickness, java.util.ArrayList<MguiNumber> filter, double cutoff)
Given a mesh and a set of thickness values, returns an area and a volume calculation (in that order).static java.util.ArrayList<MguiNumber>
MeshFunctions. smoothVertexValuesIsotropicGaussian(Mesh3D mesh, java.util.ArrayList<MguiNumber> values, double sigma, double sigma_max, ProgressUpdater progress)
Smoothsvalues
with an isotropic Gaussian kernel, along the surface ofmesh
.static java.util.ArrayList<MguiNumber>
MeshFunctions. splitRoiWithPlane(Mesh3D mesh, Plane3D plane, java.util.ArrayList<MguiNumber> rois, int roi, int new_roi, ProgressUpdater progress)
Splits the ROI defined byroi
into two parts, on either side ofplane
.static java.util.ArrayList<MguiNumber>
MeshFunctions. subdivideRois(Mesh3D mesh, java.util.ArrayList<MguiNumber> old_rois, int min_size, int target_rois, int min_roi, int max_roi, ProgressUpdater progress)
Subdivides a mesh into (roughly) equally sized ROIs, with the final number equal or close totarget_rois
.static java.util.ArrayList<MguiNumber>
MeshFunctions. subdivideRois(Mesh3D mesh, java.util.ArrayList<MguiNumber> old_rois, int min_size, int target_rois, ProgressUpdater progress)
Subdivides a mesh into (roughly) equally sized ROIs, with the final number equal or close totarget_rois
.static java.util.ArrayList<MguiNumber>
MeshFunctions. subdivideRoisBlocking(Mesh3D mesh, java.util.ArrayList<MguiNumber> old_rois, int min_size, int target_rois, int min_roi, int max_roi, ProgressUpdater progress)
Subdivides a mesh into (roughly) equally sized ROIs, with the final number equal or close totarget_rois
. -
Uses of MguiNumber in mgui.geometry.neuro.connectivity
Method parameters in mgui.geometry.neuro.connectivity with type arguments of type MguiNumber Modifier and Type Method Description static Jama.Matrix
NeuroConnectivityFunctions. computeCorticalPatchCorrelations(Mesh3D mesh, java.util.ArrayList<MguiNumber> v_data, java.util.HashMap<java.lang.String,java.lang.Object> parameters)
Computes correlations between "patches" of cortex, defined by a set of vertices and a patch function. -
Uses of MguiNumber in mgui.geometry.neuro.mesh
Methods in mgui.geometry.neuro.mesh that return types with arguments of type MguiNumber Modifier and Type Method Description static java.util.ArrayList<MguiNumber>
NeuroMeshFunctions. mapGrid3DToCortexGaussian(Mesh3D mesh, Volume3DInt volume, java.lang.String channel, double sigma_normal, double sigma_tangent, double sigma_max_normal, double sigma_max_tangent, double thickness, boolean normalize)
java.util.ArrayList<MguiNumber>
NeuroMeshEngine. mapVolumeToCortex(Mesh3D mesh, Volume3DInt volume, java.lang.Object thickness, ProgressUpdater progress)
Maps a volume to a cortical surfacestatic java.util.ArrayList<MguiNumber>
NeuroMeshFunctions. mapVolumeToCortexGaussian(Mesh3D mesh, Volume3DInt volume, java.lang.String channel, double sigma_normal, double sigma_tangent, double sigma_max_normal, double sigma_max_tangent, java.lang.Object _thickness, boolean normalize, ProgressUpdater progress, boolean output_matrix, java.lang.String matrix_file)
Maps values from aGrid3D
object to a mesh object representing a middle cortical surface, by applying a Gaussian kernal to voxels in the vicinity of each mesh vertex. -
Uses of MguiNumber in mgui.geometry.volume
Methods in mgui.geometry.volume that return types with arguments of type MguiNumber Modifier and Type Method Description static java.util.ArrayList<MguiNumber>
VolumeFunctions. getBlobsFromVolumeBlocking(Volume3DInt volume, java.lang.String column, ProgressUpdater progress, int min_blob, double threshold)
Finds connected blobs in a thresholded volume. -
Uses of MguiNumber in mgui.interfaces.graphics.util
Method parameters in mgui.interfaces.graphics.util with type arguments of type MguiNumber Modifier and Type Method Description void
DrawingEngine. drawSegmentData2D(java.awt.Graphics2D g, LineSegment2D segment, java.util.ArrayList<MguiNumber> plotted_data, float min_value, float max_value, float offset, float height)
Draws data as a line plot besidesegment
. -
Uses of MguiNumber in mgui.interfaces.graphs
Fields in mgui.interfaces.graphs declared as MguiNumber Modifier and Type Field Description protected MguiNumber
AbstractGraphNode. current_value
Methods in mgui.interfaces.graphs that return MguiNumber Modifier and Type Method Description MguiNumber
AbstractGraphNode. getCurrentValue()
-
Uses of MguiNumber in mgui.interfaces.io
Classes in mgui.interfaces.io with type parameters of type MguiNumber Modifier and Type Class Description class
DataBridge<T extends MguiNumber>
Represents a data bridge, combining an input stream and an output stream.class
DataBridgeNamedXY<T extends MguiNumber>
class
DataBridgeXY<T extends MguiNumber>
Acts as a data bridge for XY data, where X holds a single value and each Y channel has an array of values corresponding to that X.interface
DataBuffer<T extends MguiNumber>
Represents a data buffer of number typeT
.interface
DataInputStream<T extends MguiNumber>
Represents an input stream of a specific number type.interface
DataInputStreamListener<T extends MguiNumber>
Interface for objects which listen to events from an input stream.interface
DataInputStreamNamedXY<T extends MguiNumber>
interface
DataInputStreamXY<T extends MguiNumber>
Represents an XY input stream with one X and multiple Y channels.interface
DataOutputStream<T extends MguiNumber>
Represents an general output stream in modelGUI, of a specific data type.interface
DataOutputStreamNamedXY<T extends MguiNumber>
Represents an XY output stream whose Y channels are named.interface
DataOutputStreamXY<T extends MguiNumber>
Represents an XY output stream with one X and multiple Y channels.interface
InterfaceDataSensor<T extends MguiNumber>
Represents an entity which senses changes to an input stream.interface
InterfaceDataSource<T extends MguiNumber>
Represents a source of data; i.e., an entity which emits discretized (presampled) signals.interface
InterfaceDataSourceTimeSeries<T extends MguiNumber>
Represents an XY signal source with multiple Y channels.interface
InterfaceDataSourceXY<T extends MguiNumber>
XY data source with unique X-Y pairs. -
Uses of MguiNumber in mgui.interfaces.maps
Fields in mgui.interfaces.maps declared as MguiNumber Modifier and Type Field Description MguiNumber
ContinuousColourMap.Anchor. value
Methods in mgui.interfaces.maps that return MguiNumber Modifier and Type Method Description protected MguiNumber
ContinuousColourMap. normalize(MguiNumber n, double mn, double mx)
Methods in mgui.interfaces.maps with parameters of type MguiNumber Modifier and Type Method Description int
ContinuousColourMap. addAnchor(MguiNumber value, Colour colour)
protected Colour
ContinuousColourMap. getColourAtValue(MguiNumber n)
protected Colour
ContinuousColourMap. getColourAtValue(MguiNumber n, double min, double max)
protected double
ContinuousColourMap. getInterpolation(MguiNumber n1, MguiNumber n2, MguiNumber a3)
protected MguiNumber
ContinuousColourMap. normalize(MguiNumber n, double mn, double mx)
void
ContinuousColourMap. removeAnchors(MguiNumber min, MguiNumber max)
Remove all anchor points between min and maxMethod parameters in mgui.interfaces.maps with type arguments of type MguiNumber Modifier and Type Method Description org.jogamp.vecmath.Color3f[]
ColourMap. getColor3fArray(java.util.ArrayList<MguiNumber> list)
Returns an array of Color3f colours mapped from the values in listorg.jogamp.vecmath.Color3f[]
ColourMap. getColor3fArray(java.util.ArrayList<MguiNumber> list, double min, double max)
Get an array of colours for the given list of values, given the specified limits.org.jogamp.vecmath.Color4f[]
ColourMap. getColor4fArray(java.util.ArrayList<MguiNumber> list)
Returns an array of Color4f colours mapped from the values in listorg.jogamp.vecmath.Color4f[]
ColourMap. getColor4fArray(java.util.ArrayList<MguiNumber> list, double min, double max)
Get an array of colours for the given list of values, given the specified limits.org.jogamp.vecmath.Color4f[]
ContinuousColourMap. getColor4fArray(java.util.ArrayList<MguiNumber> list, double min, double max)
Constructors in mgui.interfaces.maps with parameters of type MguiNumber Constructor Description Anchor(MguiNumber v, Colour c)
-
Uses of MguiNumber in mgui.interfaces.neuro
Method parameters in mgui.interfaces.neuro with type arguments of type MguiNumber Modifier and Type Method Description void
InterfaceNeuroAtlas. setMappings(java.util.ArrayList<MguiNumber> mappings)
Constructor parameters in mgui.interfaces.neuro with type arguments of type MguiNumber Constructor Description InterfaceNeuroAtlas(java.lang.String name, java.util.ArrayList<MguiNumber> mappings)
InterfaceNeuroAtlas(java.lang.String name, java.util.ArrayList<MguiNumber> mappings, NameMap name_map)
-
Uses of MguiNumber in mgui.interfaces.plots
Classes in mgui.interfaces.plots with type parameters of type MguiNumber Modifier and Type Class Description class
InterfacePlot<T extends MguiNumber>
Represents an abstract plot object.class
PlotTimeSeriesDataSource<T extends MguiNumber>
A plot data source for XY data, with multiple named Y channels.class
PlotXYDataSource<T extends MguiNumber>
Plot data source for X-Y data sets.interface
TimeSeriesPlot<T extends MguiNumber>
Interface for an X-Y plot with multiple Y variables.class
VariablePlotTimeSeriesDataSource<T extends MguiNumber>
An XY data source with aVariableInt
as its source.class
VariablePlotXYDataSource<T extends MguiNumber>
XY data source which uses twoVariableInt
object as its X and Y sources.class
XYData<T extends MguiNumber>
An X-Y data pair.interface
XYPlot<T extends MguiNumber>
Interface for an XY plotFields in mgui.interfaces.plots declared as MguiNumber Modifier and Type Field Description protected T
XYData. X
protected T
XYData. Y
-
Uses of MguiNumber in mgui.interfaces.shapes
Fields in mgui.interfaces.shapes with type parameters of type MguiNumber Modifier and Type Field Description protected java.util.ArrayList<MguiNumber>
VertexDataColumn. data
Methods in mgui.interfaces.shapes that return MguiNumber Modifier and Type Method Description MguiNumber
Volume3DInt. getDatumAtPoint(java.lang.String column, org.jogamp.vecmath.Point3f point)
Returns the datum from thecolumn
for the voxel enclosingpoint
.MguiNumber
Volume3DInt. getDatumAtPoint(org.jogamp.vecmath.Point3f point)
Returns the datum from the current column for the voxel enclosingpoint
.MguiNumber
InterfaceShape. getDatumAtVertex(int index)
Returns the datum from the current column atindex
.MguiNumber
InterfaceShape. getDatumAtVertex(java.lang.String column, int index)
Returns the datum fromcolumn
atindex
.MguiNumber
Shape2DInt. getDatumAtVertex(java.lang.String column, int index)
MguiNumber
Volume3DInt. getDatumAtVoxel(int[] voxel)
Returns the datum from the current column atindex
.MguiNumber
Volume3DInt. getDatumAtVoxel(int i, int j, int k)
Returns the datum from the current column atindex
.MguiNumber
Volume3DInt. getDatumAtVoxel(java.lang.String column, int[] voxel)
Returns the datum fromcolumn
atindex
.MguiNumber
Volume3DInt. getDatumAtVoxel(java.lang.String column, int i, int j, int k)
Returns the datum fromcolumn
atindex
.MguiNumber
InterfaceShape. getLinkedVertexDatum(java.lang.String linked_column, int index)
Returns the value at the given vertex, for the given linked column.MguiNumber
Shape2DInt. getLinkedVertexDatum(java.lang.String linked_column, int index)
MguiNumber
VertexDataColumn. getValueAtVertex(int index)
Returns the value in this column for the vertex atindex
, as an {link MguiDouble}Methods in mgui.interfaces.shapes that return types with arguments of type MguiNumber Modifier and Type Method Description java.util.ArrayList<java.util.ArrayList<MguiNumber>>
InterfaceShape. getAllVertexData()
Returns all vertex-wide data associated with this shape.java.util.ArrayList<java.util.ArrayList<MguiNumber>>
Shape2DInt. getAllVertexData()
java.util.ArrayList<java.util.ArrayList<MguiNumber>>
Vector3DInt. getAllVertexData()
protected java.util.ArrayList<MguiNumber>
Vector3DInt. getCurrentDataFromSet()
java.util.ArrayList<MguiNumber>
InterfaceShape. getCurrentVertexData()
Retrieves the currently selected vertex-wise data column.java.util.ArrayList<MguiNumber>
Shape2DInt. getCurrentVertexData()
java.util.ArrayList<MguiNumber>
Vector2DInt. getCurrentVertexData()
java.util.ArrayList<MguiNumber>
Vector3DInt. getCurrentVertexData()
java.util.ArrayList<MguiNumber>
VertexDataColumn. getData()
Returns the data array underlying this column.java.util.ArrayList<java.util.ArrayList<MguiNumber>>
VectorSet3DInt. getDataForVector(int index)
java.util.ArrayList<MguiNumber>
VectorSet3DInt. getDataForVector(java.lang.String key, int index)
protected java.util.ArrayList<java.util.ArrayList<MguiNumber>>
Vector3DInt. getDataFromSet()
protected java.util.ArrayList<MguiNumber>
Vector3DInt. getDataFromSet(java.lang.String key)
java.util.ArrayList<MguiNumber>
InterfaceShape. getLinkedVertexData(java.lang.String linked_column)
Retrieves the vertex-wise data associated with a data-linked column.java.util.ArrayList<MguiNumber>
Shape2DInt. getLinkedVertexData(java.lang.String linked_column)
java.util.ArrayList<MguiNumber>
InterfaceShape. getVertexData()
Returns a live version of the data in the current column.java.util.ArrayList<MguiNumber>
InterfaceShape. getVertexData(java.lang.String column)
Returns a live version of the data incolumn
.java.util.ArrayList<MguiNumber>
Shape2DInt. getVertexData(java.lang.String column)
java.util.ArrayList<MguiNumber>
Vector3DInt. getVertexData(java.lang.String key)
java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>>
InterfaceShape. getVertexDataMap()
Retrieves a hash map containing the vertex-wise data associated with this shape.java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>>
Shape2DInt. getVertexDataMap()
java.util.ArrayList<MguiNumber>
InterfaceShape. newVertexData(DataType type)
Returns a new array of the same size as this shape, with the specified data typeMethods in mgui.interfaces.shapes with parameters of type MguiNumber Modifier and Type Method Description boolean
InterfaceShape. setDatumAtVertex(int index, MguiNumber datum)
Sets the datum from the current column atindex
.boolean
InterfaceShape. setDatumAtVertex(java.lang.String column, int index, MguiNumber datum)
Sets the datum fromcolumn
atindex
.boolean
Volume3DInt. setDatumAtVoxel(int[] voxel, MguiNumber datum)
Sets the datum from the current column atindex
.boolean
Volume3DInt. setDatumAtVoxel(int i, int j, int k, MguiNumber datum)
Sets the datum from the current column atindex
.boolean
Volume3DInt. setDatumAtVoxel(java.lang.String column, int[] voxel, MguiNumber datum)
Sets the datum fromcolumn
atindex
.boolean
Volume3DInt. setDatumAtVoxel(java.lang.String column, int i, int j, int k, MguiNumber datum)
Sets the datum fromcolumn
atindex
.void
VertexDataColumn. setValueAtVertex(int index, MguiNumber value)
Sets the value in this column for the vertex atindex
Method parameters in mgui.interfaces.shapes with type arguments of type MguiNumber Modifier and Type Method Description boolean
InterfaceShape. addVertexData(java.lang.String key, java.util.ArrayList<MguiNumber> data)
Adds a new vertex data column and populates it withdata
.boolean
InterfaceShape. addVertexData(java.lang.String key, java.util.ArrayList<MguiNumber> data, ColourMap cmap)
Adds vertex-wise data to this shape.boolean
InterfaceShape. addVertexData(java.lang.String key, java.util.ArrayList<MguiNumber> data, NameMap nmap)
Adds vertex-wise data to this shape.boolean
InterfaceShape. addVertexData(java.lang.String key, java.util.ArrayList<MguiNumber> data, NameMap nmap, ColourMap cmap)
Adds vertex-wise data to this shape.boolean
Shape2DInt. addVertexData(java.lang.String key, java.util.ArrayList<MguiNumber> data)
boolean
Shape2DInt. addVertexData(java.lang.String key, java.util.ArrayList<MguiNumber> data, NameMap map)
boolean
VectorSet3DInt. addVertexData(java.lang.String key, java.util.ArrayList<MguiNumber> data, NameMap map)
boolean
Volume3DInt. addVertexData(java.lang.String column, java.util.ArrayList<MguiNumber> data, NameMap nmap, ColourMap cmap)
boolean
VertexDataColumn. setValues(java.util.ArrayList<MguiNumber> values)
Sets the values for this data column.boolean
VertexDataColumn. setValues(java.util.ArrayList<MguiNumber> values, boolean update)
Sets the values for this data column.boolean
VertexDataColumn. setValues(java.util.ArrayList<MguiNumber> values, boolean update, boolean check_size)
Sets the values for this data column.boolean
InterfaceShape. setVertexData(java.lang.String column, java.util.ArrayList<MguiNumber> data)
Sets the data incolumn
.boolean
InterfaceShape. setVertexData(java.lang.String column, java.util.ArrayList<MguiNumber> data, boolean update)
Sets the data incolumn
.boolean
InterfaceShape. setVertexData(java.util.ArrayList<MguiNumber> data)
Sets the data in the current column.void
InterfaceShape. setVertexDataMap(java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>> data)
Sets the hash map specified the vertex-wise data associated with this shape.void
Shape2DInt. setVertexDataMap(java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>> data)
Constructor parameters in mgui.interfaces.shapes with type arguments of type MguiNumber Constructor Description VertexDataColumn(java.lang.String name, java.util.ArrayList<MguiNumber> data)
-
Uses of MguiNumber in mgui.interfaces.shapes.neuro
Method parameters in mgui.interfaces.shapes.neuro with type arguments of type MguiNumber Modifier and Type Method Description boolean
CorticalHemisphereSet3DInt. addVertexData(java.lang.String key, java.util.ArrayList<MguiNumber> data)
boolean
CorticalSurfaceSet3DInt. addVertexData(java.lang.String key, java.util.ArrayList<MguiNumber> data)
Add node data to both hemispheresvoid
CorticalSurfaceSet3DInt. addVertexData(java.lang.String key, java.util.ArrayList<MguiNumber> data, int hemi)
Add node data to the specified hemisphere (specified by constants HEM_LEFT and HEM_RIGHT. -
Uses of MguiNumber in mgui.interfaces.shapes.util
Methods in mgui.interfaces.shapes.util that return types with arguments of type MguiNumber Modifier and Type Method Description static java.util.ArrayList<MguiNumber>
ShapeFunctions. getDataMaskedDoubleValues(java.util.ArrayList<MguiNumber> input, MeshDataMaskOptions options)
static java.util.ArrayList<MguiNumber>
ShapeFunctions. getDataMaskedDoubleValues(java.util.ArrayList<MguiNumber> input, MeshDataMaskOptions options, VertexSelection selection)
static java.util.ArrayList<MguiNumber>
ShapeFunctions. getDataMaskedIntegerValues(java.util.ArrayList<MguiNumber> input, MeshDataMaskOptions options)
static java.util.ArrayList<MguiNumber>
ShapeFunctions. getDataMaskedIntegerValues(java.util.ArrayList<MguiNumber> input, MeshDataMaskOptions options, VertexSelection selection)
static java.util.ArrayList<MguiNumber>
ShapeFunctions. getMaskNormalizedValues(InterfaceShape shape, java.lang.String source_column, java.lang.String normalize_column, java.lang.String mask_column)
Normalize values insource_column
by the mean of values innormalize_column
which lie in the maskmask_column
.static java.util.ArrayList<MguiNumber>
ShapeFunctions. getMaskNormalizedValues(InterfaceShape shape, java.lang.String source_column, java.lang.String normalize_column, java.lang.String mask_column, java.lang.String statistic)
Normalize values insource_column
by thestatistic
of values innormalize_column
which lie in the maskmask_column
.static java.util.ArrayList<MguiNumber>
ShapeFunctions. getNormalizedValues(InterfaceShape shape, java.lang.String source_column, double source_min, double source_max, double target_min, double target_max)
Normalize values insource_column
to from the range[source_min, source_max]
to the range[target_min, target_max]
Method parameters in mgui.interfaces.shapes.util with type arguments of type MguiNumber Modifier and Type Method Description static java.util.ArrayList<MguiNumber>
ShapeFunctions. getDataMaskedDoubleValues(java.util.ArrayList<MguiNumber> input, MeshDataMaskOptions options)
static java.util.ArrayList<MguiNumber>
ShapeFunctions. getDataMaskedDoubleValues(java.util.ArrayList<MguiNumber> input, MeshDataMaskOptions options, VertexSelection selection)
static java.util.ArrayList<MguiNumber>
ShapeFunctions. getDataMaskedIntegerValues(java.util.ArrayList<MguiNumber> input, MeshDataMaskOptions options)
static java.util.ArrayList<MguiNumber>
ShapeFunctions. getDataMaskedIntegerValues(java.util.ArrayList<MguiNumber> input, MeshDataMaskOptions options, VertexSelection selection)
static Mesh2DInt
ShapeFunctions. getIntersectionMesh(Mesh3D mesh, Plane3D plane, java.util.ArrayList<MguiNumber> data, ColourMap cmap)
Returns a Mesh2DInt object representing the intersection of the given 3D mesh with plane p.static PointSet2DInt
ShapeFunctions. getIntersectionPointSet(PointSet3D point_set, Plane3D plane, float above_dist, float below_dist, java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>> data, ColourMap cmap)
Returns a PointSet2DInt object representing the points withinspacing
of the planeplane
. -
Uses of MguiNumber in mgui.interfaces.shapes.volume
Methods in mgui.interfaces.shapes.volume that return MguiNumber Modifier and Type Method Description MguiNumber
GridVertexDataColumn. getValueAtVoxel(int i, int j, int k)
Returns the value in this column at voxel index [i, j, k]Methods in mgui.interfaces.shapes.volume that return types with arguments of type MguiNumber Modifier and Type Method Description java.util.ArrayList<MguiNumber>
VolumeMetadata. readVolume(int t, DataType data_type, ProgressUpdater progress)
Reads the 3D volume at voxel dimensiont
.Methods in mgui.interfaces.shapes.volume with parameters of type MguiNumber Modifier and Type Method Description void
GridVertexDataColumn. setValueAtVoxel(int i, int j, int k, MguiNumber value)
Sets the value at voxel index [i, j, k]Constructor parameters in mgui.interfaces.shapes.volume with type arguments of type MguiNumber Constructor Description GridVertexDataColumn(java.lang.String name, Volume3DInt volume, java.util.ArrayList<MguiNumber> data)
-
Uses of MguiNumber in mgui.interfaces.variables
Classes in mgui.interfaces.variables with type parameters of type MguiNumber Modifier and Type Class Description class
VectorInt<T extends MguiNumber>
Represents an array of numeric values.Constructor parameters in mgui.interfaces.variables with type arguments of type MguiNumber Constructor Description MatrixInt(java.util.ArrayList<java.util.ArrayList<MguiNumber>> values)
-
Uses of MguiNumber in mgui.io.domestic.shapes
Methods in mgui.io.domestic.shapes that return MguiNumber Modifier and Type Method Description protected MguiNumber
ShapeDataLoader. getValue(java.lang.String s, ShapeDataInputOptions.Format format)
Methods in mgui.io.domestic.shapes that return types with arguments of type MguiNumber Modifier and Type Method Description java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>>
ShapeDataLoader. loadData(ProgressUpdater progress_bar)
java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>>
ShapeDataLoader. loadData(ShapeDataInputOptions options, ProgressUpdater progress_bar)
java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>>
ShapeDataLoader. loadDataBlocking(ShapeDataInputOptions options, ProgressUpdater progress_bar)
java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>>
VectorDataLoader. loadDataBlocking(ShapeDataInputOptions options, ProgressUpdater progress_bar)
java.util.ArrayList<java.util.ArrayList<MguiNumber>>
PointSet3DDataLoader. loadValues(ProgressUpdater progress_bar)
java.util.ArrayList<MguiNumber>
SurfaceDataFileLoader. loadValues()
abstract java.util.ArrayList<MguiNumber>
SurfaceDataFileLoader. loadValues(ProgressUpdater progress_bar)
protected java.util.ArrayList<java.util.ArrayList<MguiNumber>>
PointSet3DDataLoader. loadValuesBlocking(ProgressUpdater progress_bar)
Method parameters in mgui.io.domestic.shapes with type arguments of type MguiNumber Modifier and Type Method Description boolean
SurfaceDataFileWriter. writeValues(java.util.ArrayList<MguiNumber> values)
Writes the set of values to the data file.abstract boolean
SurfaceDataFileWriter. writeValues(java.util.ArrayList<MguiNumber> values, ProgressUpdater progress_bar)
-
Uses of MguiNumber in mgui.io.foreign.caret
Methods in mgui.io.foreign.caret that return types with arguments of type MguiNumber Modifier and Type Method Description java.util.ArrayList<java.util.ArrayList<MguiNumber>>
CaretMetricLoader. loadAllValues()
java.util.ArrayList<java.util.ArrayList<MguiNumber>>
CaretMetricLoader. loadAllValues(ProgressUpdater progress_bar)
java.util.ArrayList<java.util.ArrayList<MguiNumber>>
CaretPaintLoader. loadAllValues()
java.util.ArrayList<MguiNumber>
CaretMetricLoader. loadValues(ProgressUpdater progress_bar)
java.util.ArrayList<MguiNumber>
CaretPaintLoader. loadValues(ProgressUpdater progress_bar)
Method parameters in mgui.io.foreign.caret with type arguments of type MguiNumber Modifier and Type Method Description boolean
CaretPaintWriter. writeValues(java.util.ArrayList<MguiNumber> values, ProgressUpdater progressBar)
Overridden fromSurfaceDataFileWriter
. -
Uses of MguiNumber in mgui.io.foreign.freesurfer
Methods in mgui.io.foreign.freesurfer that return types with arguments of type MguiNumber Modifier and Type Method Description java.util.ArrayList<MguiNumber>
FreesurferVertexDataLoader. loadValues(ProgressUpdater progress_bar)
protected java.util.ArrayList<MguiNumber>
FreesurferVertexDataLoader. loadValuesAnnotation(ProgressUpdater progress_bar)
protected java.util.ArrayList<MguiNumber>
FreesurferVertexDataLoader. loadValuesAscii(ProgressUpdater progress_bar)
protected java.util.ArrayList<MguiNumber>
FreesurferVertexDataLoader. loadValuesDense1(ProgressUpdater progress_bar)
protected java.util.ArrayList<MguiNumber>
FreesurferVertexDataLoader. loadValuesDense2(ProgressUpdater progress_bar)
protected java.util.ArrayList<MguiNumber>
FreesurferVertexDataLoader. loadValuesLabel(ProgressUpdater progress_bar)
protected java.util.ArrayList<MguiNumber>
FreesurferVertexDataLoader. loadValuesSparse(ProgressUpdater progress_bar)
-
Uses of MguiNumber in mgui.io.foreign.fsl
Methods in mgui.io.foreign.fsl that return types with arguments of type MguiNumber Modifier and Type Method Description java.util.ArrayList<MguiNumber>
FSLVolumeMetadata. readVolume(int t, DataType data_type, ProgressUpdater progress)
java.util.ArrayList<MguiNumber>
FSLVolumeMetadata. readVolume(java.io.File data_file, int t, DataType data_type, ProgressUpdater progress)
Reads the 3D volume at the specified volumet
, fromdata_file
. -
Uses of MguiNumber in mgui.io.foreign.minc
Methods in mgui.io.foreign.minc that return types with arguments of type MguiNumber Modifier and Type Method Description java.util.ArrayList<MguiNumber>
MincSurfaceDataLoader. loadValues(ProgressUpdater progress_bar)
Method parameters in mgui.io.foreign.minc with type arguments of type MguiNumber Modifier and Type Method Description boolean
MincSurfaceDataWriter. writeValues(java.util.ArrayList<MguiNumber> values, ProgressUpdater progress_bar)
-
Uses of MguiNumber in mgui.io.foreign.wunil
Methods in mgui.io.foreign.wunil that return types with arguments of type MguiNumber Modifier and Type Method Description java.util.ArrayList<MguiNumber>
WunilDataset. readVolume(int t, DataType data_type, ProgressUpdater progress)
-
Uses of MguiNumber in mgui.io.standard.gifti
Method parameters in mgui.io.standard.gifti with type arguments of type MguiNumber Modifier and Type Method Description protected void
GiftiSurfaceWriter. writeAsciiArray(java.io.BufferedWriter writer, java.util.ArrayList<MguiNumber> data, int decimals)
Write vertex data as ASCII data to an XML writer; formats todecimals
decimal places.protected void
GiftiSurfaceWriter. writeBinaryArray(java.io.BufferedWriter writer, java.util.ArrayList<MguiNumber> array, boolean compress, java.nio.ByteOrder b_order)
-
Uses of MguiNumber in mgui.io.standard.nifti
Methods in mgui.io.standard.nifti that return types with arguments of type MguiNumber Modifier and Type Method Description java.util.ArrayList<MguiNumber>
NiftiMetadata. readVolume(int t, DataType data_type, ProgressUpdater progress)
-
Uses of MguiNumber in mgui.models.dynamic
Classes in mgui.models.dynamic with type parameters of type MguiNumber Modifier and Type Interface Description interface
DynamicModelEnvironment<T extends MguiNumber>
Interface for a dynamic model's environment. -
Uses of MguiNumber in mgui.models.environments
Classes in mgui.models.environments with type parameters of type MguiNumber Modifier and Type Class Description class
AbstractEnvironmentDataSource<T extends MguiNumber>
Serves as a data source updated by aDynamicModelEnvironment
.class
SimpleEnvironment<T extends MguiNumber>
Represents a simple environment, with a set of named observable scalar state variables.class
SimpleEnvironmentInputDataSource<T extends MguiNumber>
Represents a simple input source for dynamic model environment.class
SimpleEnvironmentObservableDataSource<T extends MguiNumber>
Simple data source which updates in response to changes in an environment's state variables.Fields in mgui.models.environments declared as MguiNumber Modifier and Type Field Description protected T
AbstractEnvironmentDataSource. clock
-
Uses of MguiNumber in mgui.numbers
Classes in mgui.numbers that implement MguiNumber Modifier and Type Class Description class
MguiBoolean
Implementation ofMguiNumber
for values of typeboolean
.class
MguiDouble
Implementation ofMguiNumber
for values of typedouble
.class
MguiFloat
Implementation ofMguiNumber
for values of typefloat
.class
MguiInteger
Implementation ofMguiNumber
for values of typeint
.class
MguiLong
Implementation ofMguiNumber
for values of typelong
.class
MguiShort
Implementation ofMguiNumber
for values of typeshort
.Methods in mgui.numbers that return MguiNumber Modifier and Type Method Description MguiNumber
MguiBoolean. add(double n)
MguiNumber
MguiBoolean. add(MguiNumber number)
MguiNumber
MguiDouble. add(double n)
MguiNumber
MguiDouble. add(MguiNumber number)
MguiNumber
MguiFloat. add(double n)
MguiNumber
MguiFloat. add(MguiNumber number)
MguiNumber
MguiInteger. add(double n)
MguiNumber
MguiInteger. add(MguiNumber number)
MguiNumber
MguiLong. add(double n)
MguiNumber
MguiLong. add(MguiNumber number)
MguiNumber
MguiNumber. add(double n)
Update the value of this number by addingn
.MguiNumber
MguiNumber. add(MguiNumber n)
Update the value of this number by addingn
.MguiNumber
MguiShort. add(double n)
MguiNumber
MguiShort. add(MguiNumber number)
MguiNumber
MguiBoolean. divide(double n)
MguiNumber
MguiBoolean. divide(MguiNumber number)
MguiNumber
MguiDouble. divide(double n)
MguiNumber
MguiDouble. divide(MguiNumber number)
MguiNumber
MguiFloat. divide(double n)
MguiNumber
MguiFloat. divide(MguiNumber number)
MguiNumber
MguiInteger. divide(double n)
Divides this number byn
.MguiNumber
MguiInteger. divide(MguiNumber number)
MguiNumber
MguiLong. divide(double n)
Divides this number byn
.MguiNumber
MguiLong. divide(MguiNumber number)
MguiNumber
MguiNumber. divide(double n)
Update the value of this number by dividing byn
.MguiNumber
MguiNumber. divide(MguiNumber n)
Update the value of this number by dividing byn
.MguiNumber
MguiShort. divide(double n)
Divides this number byn
.MguiNumber
MguiShort. divide(MguiNumber number)
static MguiNumber
NumberFunctions. getInstance(java.lang.Class<?> clazz, double value)
Returns an instance of an MguiNumber of the specified class and value.static MguiNumber
NumberFunctions. getInstance(java.lang.String type, double value)
Returns an instance of an MguiNumber of the specified type and valuestatic MguiNumber
NumberFunctions. getInstance(DataType type, double value)
Returns an instance of an MguiNumber of the specified type and valueMguiNumber
MguiBoolean. multiply(double n)
MguiNumber
MguiBoolean. multiply(MguiNumber number)
MguiNumber
MguiDouble. multiply(double n)
MguiNumber
MguiDouble. multiply(MguiNumber number)
MguiNumber
MguiFloat. multiply(double n)
MguiNumber
MguiFloat. multiply(MguiNumber number)
MguiNumber
MguiInteger. multiply(double n)
Multiplies this number byn
.MguiNumber
MguiInteger. multiply(MguiNumber number)
MguiNumber
MguiLong. multiply(double n)
Multiplies this number byn
.MguiNumber
MguiLong. multiply(MguiNumber number)
MguiNumber
MguiNumber. multiply(double n)
Update the value of this number by multiplying byn
.MguiNumber
MguiNumber. multiply(MguiNumber n)
Update the value of this number by multiplying byn
.MguiNumber
MguiShort. multiply(double n)
Multiplies this number byn
.MguiNumber
MguiShort. multiply(MguiNumber number)
MguiNumber
MguiBoolean. subtract(double n)
MguiNumber
MguiBoolean. subtract(MguiNumber number)
MguiNumber
MguiDouble. subtract(double n)
MguiNumber
MguiDouble. subtract(MguiNumber number)
MguiNumber
MguiFloat. subtract(double n)
MguiNumber
MguiFloat. subtract(MguiNumber number)
MguiNumber
MguiInteger. subtract(double n)
MguiNumber
MguiInteger. subtract(MguiNumber number)
MguiNumber
MguiLong. subtract(double n)
MguiNumber
MguiLong. subtract(MguiNumber number)
MguiNumber
MguiNumber. subtract(double n)
Update the value of this number by subtractingn
.MguiNumber
MguiNumber. subtract(MguiNumber n)
Update the value of this number by subtractingn
.MguiNumber
MguiShort. subtract(double n)
MguiNumber
MguiShort. subtract(MguiNumber number)
Methods in mgui.numbers that return types with arguments of type MguiNumber Modifier and Type Method Description static java.util.ArrayList<MguiNumber>
MguiDouble. getZeros(int size)
Methods in mgui.numbers with parameters of type MguiNumber Modifier and Type Method Description MguiNumber
MguiBoolean. add(MguiNumber number)
MguiNumber
MguiDouble. add(MguiNumber number)
MguiNumber
MguiFloat. add(MguiNumber number)
MguiNumber
MguiInteger. add(MguiNumber number)
MguiNumber
MguiLong. add(MguiNumber number)
MguiNumber
MguiNumber. add(MguiNumber n)
Update the value of this number by addingn
.MguiNumber
MguiShort. add(MguiNumber number)
int
MguiBoolean. compareTo(MguiNumber n)
int
MguiDouble. compareTo(MguiNumber n)
int
MguiFloat. compareTo(MguiNumber n)
int
MguiInteger. compareTo(MguiNumber n)
int
MguiLong. compareTo(MguiNumber n)
int
MguiShort. compareTo(MguiNumber n)
MguiNumber
MguiBoolean. divide(MguiNumber number)
MguiNumber
MguiDouble. divide(MguiNumber number)
MguiNumber
MguiFloat. divide(MguiNumber number)
MguiNumber
MguiInteger. divide(MguiNumber number)
MguiNumber
MguiLong. divide(MguiNumber number)
MguiNumber
MguiNumber. divide(MguiNumber n)
Update the value of this number by dividing byn
.MguiNumber
MguiShort. divide(MguiNumber number)
static MguiDouble
NumberFunctions. getDifference(MguiNumber n1, MguiNumber n2)
static MguiDouble
NumberFunctions. getProduct(MguiNumber n1, MguiNumber n2)
static MguiDouble
NumberFunctions. getQuotient(MguiNumber n1, MguiNumber n2)
static MguiDouble
NumberFunctions. getSum(MguiNumber n1, MguiNumber n2)
MguiNumber
MguiBoolean. multiply(MguiNumber number)
MguiNumber
MguiDouble. multiply(MguiNumber number)
MguiNumber
MguiFloat. multiply(MguiNumber number)
MguiNumber
MguiInteger. multiply(MguiNumber number)
MguiNumber
MguiLong. multiply(MguiNumber number)
MguiNumber
MguiNumber. multiply(MguiNumber n)
Update the value of this number by multiplying byn
.MguiNumber
MguiShort. multiply(MguiNumber number)
void
MguiBoolean. setValue(MguiNumber val)
void
MguiDouble. setValue(MguiNumber val)
void
MguiFloat. setValue(MguiNumber val)
void
MguiInteger. setValue(MguiNumber val)
void
MguiLong. setValue(MguiNumber val)
void
MguiNumber. setValue(MguiNumber val)
void
MguiShort. setValue(MguiNumber val)
MguiNumber
MguiBoolean. subtract(MguiNumber number)
MguiNumber
MguiDouble. subtract(MguiNumber number)
MguiNumber
MguiFloat. subtract(MguiNumber number)
MguiNumber
MguiInteger. subtract(MguiNumber number)
MguiNumber
MguiLong. subtract(MguiNumber number)
MguiNumber
MguiNumber. subtract(MguiNumber n)
Update the value of this number by subtractingn
.MguiNumber
MguiShort. subtract(MguiNumber number)
Constructors in mgui.numbers with parameters of type MguiNumber Constructor Description MguiDouble(MguiNumber thisValue)
MguiFloat(MguiNumber thisValue)
-
Uses of MguiNumber in mgui.stats
Method parameters in mgui.stats with type arguments of type MguiNumber Modifier and Type Method Description static double[]
StatFunctions. getBasicNormalStats(java.util.ArrayList<MguiNumber> data)
Return statistics describing a set of normally distributed values ordered as follows: mean sum standard deviation sum of squares minimum maximumstatic Histogram
StatFunctions. getHistogram(java.util.ArrayList<MguiNumber> d, int bins)
Constructs a histogram from the listd
, comprised ofbins
bins.static Histogram
StatFunctions. getHistogram(java.util.ArrayList<MguiNumber> d, int bins, double min, double max)
Constructs a histogram from the listd
, comprised ofbins
bins.static Histogram
StatFunctions. getHistogram(java.util.ArrayList<MguiNumber> values, int bins, double min, double max, boolean sorted)
Constructs a histogram from the listd
, comprised ofbins
bins.static double[]
StatFunctions. getHolmBonferroniCorrected(java.util.ArrayList<MguiNumber> p_values)
Returns p-values corrected for family-wise error, using the Holm-Bonferroni method.static java.util.HashMap<java.lang.Integer,java.lang.Integer>
StatFunctions. getIntegerFrequencies(java.util.ArrayList<MguiNumber> values)
Computes the frequency of each unique integer in the list.static double
StatFunctions. getMedian(java.util.ArrayList<MguiNumber> values)
Returns the median of a list of values.static double
StatFunctions. getMode(java.util.ArrayList<MguiNumber> values)
Returns the mode of a list of values, where equality is determined asabs(values[i] - values[j]) < default_precision
.static double
StatFunctions. getRootMeanSquaredError(java.util.ArrayList<MguiNumber> list1, java.util.ArrayList<MguiNumber> list2)
Returns the root mean squared error (RMSE) for two lists of values.static double[]
StatFunctions. getWeightedBasicNormalStats(java.util.ArrayList<MguiNumber> data, java.util.ArrayList<MguiNumber> weights)
Return statistics describing a set of weighted normally distributed values ordered as follows (see http://en.wikipedia.org/wiki/Weighted_mean): mean sum standard deviation sum of squaresvoid
Histogram. set(java.util.ArrayList<MguiNumber> d, int bins, double min, double max)
boolean
Histogram. setValues(java.util.ArrayList<MguiNumber> x, java.util.ArrayList<MguiNumber> y)
Constructor parameters in mgui.stats with type arguments of type MguiNumber Constructor Description Histogram(java.util.ArrayList<MguiNumber> d, int bins, double min, double max)
Histogram(java.util.ArrayList<MguiNumber> x, java.util.ArrayList<MguiNumber> y, double dataMax, double dataMin)