public interface ROIMaskBuffer
| Modifier and Type | Method and Description |
|---|---|
long |
get(int offset,
int index)
Returns the ROI mask value at the specified offset and series index.
|
long |
getCurrent(int offset)
Returns the ROI mask value at the specified offset for the current series index.
|
int |
getMaximumColors()
Returns the maximum number of ROI colors that this buffer supports.
|
ImageBounds |
getROIBounds(long mask,
int index)
Returns the ImageBounds of the specified mask and series index.
|
ImageBounds |
getROIBoundsCurrent(long mask)
Returns the ImageBounds of the specified mask for the current series index.
|
int |
getSeriesIndex()
Returns the current ROI series index.
|
int |
getSeriesLength()
Returns the length of the ROI series.
|
boolean |
isEmptyOf(int roiNum)
Returns true if the ROI color index is not found.
|
void |
put(int offset,
int index,
long val)
Sets a mask value at a specified offset and series index.
|
void |
putCurrent(int offset,
long val)
Sets a mask value at a specified offset for the current series index.
|
long get(int offset,
int index)
offset - volume offsetindex - series indexlong getCurrent(int offset)
offset - volume offsetint getMaximumColors()
ImageBounds getROIBounds(long mask, int index)
mask - a bit maskindex - series indexImageBounds getROIBoundsCurrent(long mask)
mask - a bit maskint getSeriesIndex()
int getSeriesLength()
boolean isEmptyOf(int roiNum)
roiNum - color indexvoid put(int offset,
int index,
long val)
offset - volume offsetindex - series indexval - the mask valuevoid putCurrent(int offset,
long val)
offset - volume offsetval - the mask value