public class Volumes extends Object
An instance of Volumes is used to keep track of the volume values accumulated by the Volume_Calculator plugin. There is one set of volume values for each edge "color". There can be an arbitrary number of "colors"; only one color is active at one time. When the user selects an edge the display color of the edge is changed to the current color and the number of voxels is calculated for this edge.
MVC: An instance of Volumes (the Model) is shared by CustomValueBehavior (the Controller) and VolumePanel (the View).
Constructor and Description |
---|
Volumes(ij.measure.Calibration calibration) |
Modifier and Type | Method and Description |
---|---|
boolean |
addVolumeColor(Color chosenColor)
The user has created another Volume Color.
|
String |
getCalibrationUnits() |
Copyright © 2015–2021 Fiji. All rights reserved.