public class DefaultVoxelDimensions extends Object implements VoxelDimensions
VoxelDimensions with
spacing of one for all dimensions and units of "pixel"s.| Constructor and Description |
|---|
DefaultVoxelDimensions(int numDimensions) |
| Modifier and Type | Method and Description |
|---|---|
double |
dimension(int d)
Always returns one.
|
void |
dimensions(double[] dims)
Sets all entries to one.
|
int |
numDimensions() |
String |
toString() |
String |
unit()
Get the unit in which dimensions are specified.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdimensionsAsDoubleArraypublic int numDimensions()
numDimensions in interface EuclideanSpacepublic String unit()
VoxelDimensionsunit in interface VoxelDimensionspublic void dimensions(double[] dims)
dimensions in interface VoxelDimensionspublic double dimension(int d)
dimension in interface VoxelDimensionsCopyright © 2013–2024 BigDataViewer. All rights reserved.