|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Number edu.jhu.ece.iacl.jist.structures.image.Voxel edu.jhu.ece.iacl.jist.structures.image.VoxelMipav
public class VoxelMipav
An adapter for each element of ModelImage in Mipav so that data does not have to be copied to and from the Model Image class.
Field Summary | |
---|---|
protected VoxelType |
type
The type. |
protected Voxel |
vox
The vox. |
Constructor Summary | |
---|---|
VoxelMipav(int x,
int y,
int z,
ModelStorageBase img,
VoxelType type)
Instantiates a new voxel mipav. |
Method Summary | |
---|---|
Voxel |
add(Voxel v)
Adds the. |
Voxel |
clone()
|
int |
compareTo(Voxel arg0)
|
Voxel |
div(Voxel v)
Div. |
boolean |
getBoolean()
Gets the boolean. |
int |
getChainIndex()
Gets the chain index. |
java.awt.Color |
getColor()
Gets the color. |
int |
getColumn()
Gets the column. |
double |
getDouble()
Gets the double. |
float |
getFloat()
Gets the float. |
int |
getIndex()
Get heap index. |
int |
getInt()
Gets the int. |
int |
getRow()
Gets the row. |
short |
getShort()
Gets the short. |
int |
getSlice()
Gets the slice. |
VoxelType |
getType()
Gets the type. |
short |
getUByte()
Gets the u byte. |
java.lang.Comparable |
getValue()
Gets the value. |
Voxel |
mul(Voxel v)
Mul. |
Voxel |
neg()
Neg. |
void |
set(boolean vox)
Sets the. |
void |
set(java.awt.Color vox)
Sets the. |
void |
set(double vox)
Sets the. |
void |
set(int vox)
Sets the. |
void |
set(short vox)
Sets the. |
void |
set(Voxel v)
Sets the. |
void |
setChainIndex(int chainIndex)
Sets the chain index. |
void |
setIndex(int index)
Set index into heap. |
void |
setRefPosition(int i,
int j,
int k)
Set position in volume. |
void |
setValue(java.lang.Comparable obj)
Sets the value. |
Voxel |
sub(Voxel v)
Sub. |
java.lang.String |
toString()
|
Methods inherited from class edu.jhu.ece.iacl.jist.structures.image.Voxel |
---|
byteValue, doubleValue, equals, floatValue, getRestriction, getVector, intValue, longValue, round, set, set, set, shortValue |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected VoxelType type
protected Voxel vox
Constructor Detail |
---|
public VoxelMipav(int x, int y, int z, ModelStorageBase img, VoxelType type)
x
- the xy
- the yz
- the zimg
- the imgtype
- the typeMethod Detail |
---|
public boolean getBoolean()
Voxel
getBoolean
in class Voxel
public short getShort()
Voxel
getShort
in class Voxel
public short getUByte()
Voxel
getUByte
in class Voxel
public float getFloat()
Voxel
getFloat
in class Voxel
public java.awt.Color getColor()
Voxel
getColor
in class Voxel
public double getDouble()
Voxel
getDouble
in class Voxel
public int getInt()
Voxel
getInt
in class Voxel
public Voxel clone()
clone
in class Voxel
public void set(Voxel v)
Voxel
set
in class Voxel
v
- the vpublic void set(boolean vox)
Voxel
set
in class Voxel
vox
- the voxpublic void set(short vox)
Voxel
set
in class Voxel
vox
- the voxpublic void set(int vox)
Voxel
set
in class Voxel
vox
- the voxpublic void set(java.awt.Color vox)
Voxel
set
in class Voxel
vox
- the voxpublic void set(double vox)
Voxel
set
in class Voxel
vox
- the voxpublic Voxel add(Voxel v)
Voxel
add
in class Voxel
v
- the v
public Voxel sub(Voxel v)
Voxel
sub
in class Voxel
v
- the v
public Voxel mul(Voxel v)
Voxel
mul
in class Voxel
v
- the v
public Voxel div(Voxel v)
Voxel
div
in class Voxel
v
- the v
public Voxel neg()
Voxel
neg
in class Voxel
public java.lang.String toString()
toString
in class Voxel
public int compareTo(Voxel arg0)
compareTo
in interface java.lang.Comparable<Voxel>
public void setRefPosition(int i, int j, int k)
Indexable
setRefPosition
in interface Indexable<Voxel>
i
- rowj
- columnk
- slicepublic int getRow()
Indexable
getRow
in interface Indexable<Voxel>
public int getColumn()
Indexable
getColumn
in interface Indexable<Voxel>
public int getSlice()
Indexable
getSlice
in interface Indexable<Voxel>
public void setIndex(int index)
Indexable
setIndex
in interface Indexable<Voxel>
index
- the indexpublic int getIndex()
Indexable
getIndex
in interface Indexable<Voxel>
public VoxelType getType()
Voxel
getType
in class Voxel
public int getChainIndex()
Indexable
getChainIndex
in interface Indexable<Voxel>
public void setChainIndex(int chainIndex)
Indexable
setChainIndex
in interface Indexable<Voxel>
chainIndex
- the new chain indexpublic java.lang.Comparable getValue()
Indexable
getValue
in interface Indexable<Voxel>
public void setValue(java.lang.Comparable obj)
Indexable
setValue
in interface Indexable<Voxel>
obj
- the new value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |