|
|||||||||
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.VoxelIndexed<V>
public class VoxelIndexed<V extends Voxel>
Indexed Voxel Type used for Binary Heap This class provides an adapter to existing Voxel types.
Constructor Summary | |
---|---|
VoxelIndexed(V v)
Instantiates a new voxel indexed. |
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. |
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. |
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, getFloat, getRestriction, getUByte, getVector, intValue, longValue, round, set, set, set, shortValue |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VoxelIndexed(V v)
v
- the vMethod Detail |
---|
public void setRefPosition(int i, int j, int k)
Indexable
setRefPosition
in interface Indexable<Voxel>
i
- rowj
- columnk
- slicepublic void setIndex(int index)
Indexable
setIndex
in interface Indexable<Voxel>
index
- the indexpublic 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 int getIndex()
Indexable
getIndex
in interface Indexable<Voxel>
public boolean getBoolean()
Voxel
getBoolean
in class Voxel
public short getShort()
Voxel
getShort
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 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 |