edu.jhu.ece.iacl.jist.structures.image
Class VoxelBoolean

java.lang.Object
  extended by java.lang.Number
      extended by edu.jhu.ece.iacl.jist.structures.image.Voxel
          extended by edu.jhu.ece.iacl.jist.structures.image.VoxelBoolean
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Voxel>

public class VoxelBoolean
extends Voxel

Boolean Voxel Type.

Author:
Blake Lucas
See Also:
Serialized Form

Constructor Summary
VoxelBoolean()
          Instantiates a new voxel boolean.
VoxelBoolean(boolean vox)
          Instantiates a new voxel boolean.
VoxelBoolean(Voxel v)
          Instantiates a new voxel boolean.
 
Method Summary
 VoxelBoolean add(Voxel v)
          Adds the.
 VoxelBoolean and(Voxel v)
          And.
 Voxel clone()
           
 int compareTo(Voxel obj)
           
 VoxelBoolean div(Voxel v)
          Div.
 boolean getBoolean()
          Gets the boolean.
 java.awt.Color getColor()
          Gets the color.
 double getDouble()
          Gets the double.
 int getInt()
          Gets the int.
 short getShort()
          Gets the short.
 VoxelType getType()
          Gets the type.
 VoxelBoolean mul(Voxel v)
          Mul.
 VoxelBoolean nand(Voxel v)
          Nand.
 VoxelBoolean neg()
          Neg.
 VoxelBoolean nor(Voxel v)
          Nor.
 VoxelBoolean or(Voxel v)
          Or.
 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.
 VoxelBoolean sub(Voxel v)
          Sub.
 java.lang.String toString()
           
 VoxelBoolean xor(Voxel v)
          Xor.
 
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

VoxelBoolean

public VoxelBoolean(boolean vox)
Instantiates a new voxel boolean.

Parameters:
vox - the vox

VoxelBoolean

public VoxelBoolean()
Instantiates a new voxel boolean.


VoxelBoolean

public VoxelBoolean(Voxel v)
Instantiates a new voxel boolean.

Parameters:
v - the v
Method Detail

getBoolean

public boolean getBoolean()
Description copied from class: Voxel
Gets the boolean.

Specified by:
getBoolean in class Voxel
Returns:
the boolean

getShort

public short getShort()
Description copied from class: Voxel
Gets the short.

Specified by:
getShort in class Voxel
Returns:
the short

getColor

public java.awt.Color getColor()
Description copied from class: Voxel
Gets the color.

Specified by:
getColor in class Voxel
Returns:
the color

getDouble

public double getDouble()
Description copied from class: Voxel
Gets the double.

Specified by:
getDouble in class Voxel
Returns:
the double

clone

public Voxel clone()
Specified by:
clone in class Voxel

set

public void set(Voxel v)
Description copied from class: Voxel
Sets the.

Specified by:
set in class Voxel
Parameters:
v - the v

add

public VoxelBoolean add(Voxel v)
Description copied from class: Voxel
Adds the.

Specified by:
add in class Voxel
Parameters:
v - the v
Returns:
the voxel

or

public VoxelBoolean or(Voxel v)
Or.

Parameters:
v - the v
Returns:
the voxel boolean

and

public VoxelBoolean and(Voxel v)
And.

Parameters:
v - the v
Returns:
the voxel boolean

xor

public VoxelBoolean xor(Voxel v)
Xor.

Parameters:
v - the v
Returns:
the voxel boolean

nor

public VoxelBoolean nor(Voxel v)
Nor.

Parameters:
v - the v
Returns:
the voxel boolean

nand

public VoxelBoolean nand(Voxel v)
Nand.

Parameters:
v - the v
Returns:
the voxel boolean

sub

public VoxelBoolean sub(Voxel v)
Description copied from class: Voxel
Sub.

Specified by:
sub in class Voxel
Parameters:
v - the v
Returns:
the voxel

mul

public VoxelBoolean mul(Voxel v)
Description copied from class: Voxel
Mul.

Specified by:
mul in class Voxel
Parameters:
v - the v
Returns:
the voxel

div

public VoxelBoolean div(Voxel v)
Description copied from class: Voxel
Div.

Specified by:
div in class Voxel
Parameters:
v - the v
Returns:
the voxel

neg

public VoxelBoolean neg()
Description copied from class: Voxel
Neg.

Specified by:
neg in class Voxel
Returns:
the voxel

set

public void set(boolean vox)
Description copied from class: Voxel
Sets the.

Specified by:
set in class Voxel
Parameters:
vox - the vox

set

public void set(short vox)
Description copied from class: Voxel
Sets the.

Specified by:
set in class Voxel
Parameters:
vox - the vox

set

public void set(java.awt.Color vox)
Description copied from class: Voxel
Sets the.

Specified by:
set in class Voxel
Parameters:
vox - the vox

set

public void set(double vox)
Description copied from class: Voxel
Sets the.

Specified by:
set in class Voxel
Parameters:
vox - the vox

compareTo

public int compareTo(Voxel obj)

getInt

public int getInt()
Description copied from class: Voxel
Gets the int.

Specified by:
getInt in class Voxel
Returns:
the int

set

public void set(int vox)
Description copied from class: Voxel
Sets the.

Specified by:
set in class Voxel
Parameters:
vox - the vox

toString

public java.lang.String toString()
Specified by:
toString in class Voxel

getType

public VoxelType getType()
Description copied from class: Voxel
Gets the type.

Specified by:
getType in class Voxel
Returns:
the type