|
|||||||||
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
public abstract class Voxel
Generic Voxel Type.
Constructor Summary | |
---|---|
Voxel()
Instantiates a new voxel. |
|
Voxel(Voxel v)
Instantiates a new voxel. |
Method Summary | |
---|---|
abstract Voxel |
add(Voxel v)
Adds the. |
byte |
byteValue()
|
abstract Voxel |
clone()
|
abstract Voxel |
div(Voxel v)
Div. |
double |
doubleValue()
|
boolean |
equals(java.lang.Object o)
|
float |
floatValue()
|
abstract boolean |
getBoolean()
Gets the boolean. |
abstract java.awt.Color |
getColor()
Gets the color. |
abstract double |
getDouble()
Gets the double. |
float |
getFloat()
Gets the float. |
abstract int |
getInt()
Gets the int. |
static int |
getRestriction(VoxelType type)
Determine restriction level for a particular Voxel Data Type The higher the value, the more restrictive. |
abstract short |
getShort()
Gets the short. |
abstract VoxelType |
getType()
Gets the type. |
short |
getUByte()
Gets the u byte. |
VectorX |
getVector()
Gets the vector. |
int |
intValue()
|
long |
longValue()
|
abstract Voxel |
mul(Voxel v)
Mul. |
abstract Voxel |
neg()
Neg. |
static Voxel |
round(Voxel v,
int prec)
Round. |
abstract void |
set(boolean vox)
Sets the. |
void |
set(byte vox)
Sets the. |
abstract void |
set(java.awt.Color vox)
Sets the. |
abstract void |
set(double vox)
Sets the. |
void |
set(float a)
Sets the. |
abstract void |
set(int vox)
Sets the. |
abstract void |
set(short vox)
Sets the. |
void |
set(VectorX v)
Sets the. |
abstract void |
set(Voxel v)
Sets the. |
short |
shortValue()
|
abstract Voxel |
sub(Voxel v)
Sub. |
abstract java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Constructor Detail |
---|
public Voxel()
public Voxel(Voxel v)
v
- the vMethod Detail |
---|
public static Voxel round(Voxel v, int prec)
v
- the vprec
- the prec
public static int getRestriction(VoxelType type)
type
- the type
public abstract VoxelType getType()
public abstract boolean getBoolean()
public abstract short getShort()
public abstract java.awt.Color getColor()
public abstract double getDouble()
public VectorX getVector()
public void set(VectorX v)
v
- the vpublic float getFloat()
public short getUByte()
public abstract int getInt()
public abstract Voxel clone()
clone
in class java.lang.Object
public abstract void set(Voxel v)
v
- the vpublic abstract void set(boolean vox)
vox
- the voxpublic abstract void set(short vox)
vox
- the voxpublic void set(byte vox)
vox
- the voxpublic void set(float a)
a
- the apublic abstract void set(int vox)
vox
- the voxpublic abstract void set(java.awt.Color vox)
vox
- the voxpublic abstract void set(double vox)
vox
- the voxpublic abstract Voxel add(Voxel v)
v
- the v
public abstract Voxel sub(Voxel v)
v
- the v
public abstract Voxel mul(Voxel v)
v
- the v
public abstract Voxel div(Voxel v)
v
- the v
public abstract Voxel neg()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int intValue()
intValue
in class java.lang.Number
public long longValue()
longValue
in class java.lang.Number
public float floatValue()
floatValue
in class java.lang.Number
public byte byteValue()
byteValue
in class java.lang.Number
public short shortValue()
shortValue
in class java.lang.Number
public double doubleValue()
doubleValue
in class java.lang.Number
public abstract java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |