()
| 2245 | } |
| 2246 | |
| 2247 | public String getPositionAsString() { |
| 2248 | String position = "" + getPosition(); |
| 2249 | if (hasHyperStackPosition()) |
| 2250 | position = getCPosition() +","+getZPosition()+","+ getTPosition(); |
| 2251 | if (position.equals("0")) |
| 2252 | position = "none"; |
| 2253 | else if (position.equals(""+PointRoi.POINTWISE_POSITION)) |
| 2254 | position = "point-specific"; |
| 2255 | return position; |
| 2256 | } |
| 2257 | |
| 2258 | /** Sets the hyperstack position of this ROI. In an overlay, this |
| 2259 | * ROI is only displayed when the hyperstack is at the specified position. |
no test coverage detected