VolumeJ
Class VJThresholdedVolume
java.lang.Object
|
+--volume.Volume
|
+--VolumeJ.VJThresholdedVolume
- All Implemented Interfaces:
- java.io.Serializable
- public class VJThresholdedVolume
- extends Volume
This class creates thresholded (binary) volumes of any type of Volume.
It is used in iso-surface rendering.
Copyright (c) 2001-2003, Michael Abramoff. All rights reserved.
Patent pending.
- See Also:
- Serialized Form
Field Summary |
boolean[] |
v
|
Method Summary |
java.lang.Object |
get(int x,
int y,
int z)
Get the threshold value as a boolean. |
void |
set(java.lang.Object value,
int x,
int y,
int z)
Set the threshold value to a boolean value. |
Methods inherited from class volume.Volume |
discreteSupport, getAspectx, getAspecty, getAspectz, getDepth, getEdge, getHeight, getWidth, in, setAspects, setEdge, toString, valid, valid |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
v
public boolean[] v
VJThresholdedVolume
public VJThresholdedVolume()
- creates the null volume.
VJThresholdedVolume
public VJThresholdedVolume(Volume v,
VJClassifier classifier)
- Create a new thresholded volume.
- Parameters:
v
- the volume to be thresholdedclassifier
- a VJClassifier that can threshold a voxel.
get
public java.lang.Object get(int x,
int y,
int z)
- Get the threshold value as a boolean.
- Overrides:
get
in class Volume
- Parameters:
x
- the x position of the voxely
- the y position of the voxelz
- the z position of the voxel
set
public void set(java.lang.Object value,
int x,
int y,
int z)
- Set the threshold value to a boolean value.
- Overrides:
set
in class Volume
- Parameters:
value
- a booleanx
- the x position of the voxely
- the y position of the voxelz
- the z position of the voxel
Submit a bug or feature
Copyright (c) 1997-2003 Michael Abramoff
Licensing available. All Rights Reserved.