|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
edu.washington.biostr.sig.brainj3d.data.Data
edu.washington.biostr.sig.brainj3d.volume.VolumeData
public class VolumeData
Default view parameters:
Structural:
nThreashold = 0
pThreashold = 0
pWindow = top .5%
nWindow = bottom .5%
pColor = "White"
nColor = "cyan"
alpha = .5
Function:
nThreashold = 0
pThreashold = 0
pWindow = max
nWindow = min
pColor = "warm"
nColor = "cold"
alpha = .5
| Field Summary | |
|---|---|
static String |
ATLAS_COLOR
|
static String |
PROP_ALPHA
|
static String |
PROP_N_SCHEME
|
static String |
PROP_N_THRESHOLD
|
static String |
PROP_N_WINDOW
|
static String |
PROP_P_SCHEME
|
static String |
PROP_P_THRESHOLD
|
static String |
PROP_P_WINDOW
|
| Fields inherited from class edu.washington.biostr.sig.brainj3d.data.Data |
|---|
file, SAVE_STATE_CHANGED, saved |
| Constructor Summary | |
|---|---|
VolumeData(VolumeArray data)
Create a volume 3d. |
|
| Method Summary | |
|---|---|
boolean |
canDiskCache()
Return true if we can cache this Data or part of it to disk. |
VolumeArray |
getArray()
|
double |
getCutoff(double percent,
boolean top)
Get the cutoff between the top percent% and the bottom. |
Map<String,Object> |
getDefaultParameters(Set<Tag> metadata)
Get the default parameters for this Data. |
javax.vecmath.Vector3f |
getDown(int slice)
|
javax.vecmath.Matrix4d |
getIndex2Space()
|
int |
getInterval()
|
javax.vecmath.Point3f |
getLocation(float xPercent,
float yPercent,
float zPercent)
Get a location from a percent. |
Object |
getLock()
Get the lock that this data uses to synchronize itself. |
int |
getMaxTime()
|
double |
getMaxValue()
|
float |
getMaxX()
|
float |
getMaxY()
|
float |
getMaxZ()
|
int |
getMinTime()
|
double |
getMinValue()
|
float |
getMinX()
|
float |
getMinY()
|
float |
getMinZ()
|
void |
getPercent(javax.vecmath.Point3f p)
Get the percent equivilant for the given point. |
javax.vecmath.Vector3f |
getRight(int slice)
|
javax.vecmath.Matrix4d |
getSpace2Index()
|
FileType |
getType()
Every piece of data has a type. |
javax.vecmath.Point3f |
getUL(int slice,
javax.vecmath.Point3f percent)
|
boolean |
hasTime()
return true if this data varies with time |
protected void |
initialize()
Set up some of the variables that we need from the transform. |
boolean |
invertX()
|
boolean |
invertY()
|
boolean |
invertZ()
|
boolean |
isImmutable()
Find out if this data is immutable. |
void |
setInvertX(boolean invert)
|
void |
setInvertY(boolean invert)
|
void |
setInvertZ(boolean invert)
|
boolean |
shareable()
|
| Methods inherited from class edu.washington.biostr.sig.brainj3d.data.Data |
|---|
cacheTo, finalize, getFile, isSaved, isSerialized, readFrom, setFile, setSaved, sharable, toString |
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String PROP_ALPHA
public static final String PROP_P_SCHEME
public static final String PROP_N_SCHEME
public static final String PROP_P_WINDOW
public static final String PROP_N_WINDOW
public static final String PROP_P_THRESHOLD
public static final String PROP_N_THRESHOLD
public static final String ATLAS_COLOR
| Constructor Detail |
|---|
public VolumeData(VolumeArray data)
x - The maximum x index.y - The maximum y index.z - The maximum z index.trans - The transform from indices to physical units (most likely
mm).| Method Detail |
|---|
public boolean invertX()
public boolean invertY()
public boolean invertZ()
public void setInvertX(boolean invert)
public void setInvertY(boolean invert)
public void setInvertZ(boolean invert)
public FileType getType()
Data
getType in class Datapublic Object getLock()
Data
getLock in class Datapublic boolean isImmutable()
Data
isImmutable in class Datapublic double getMaxValue()
public double getMinValue()
public VolumeArray getArray()
public float getMinX()
public float getMaxX()
public float getMinY()
public float getMaxY()
public float getMinZ()
public float getMaxZ()
public int getMaxTime()
public int getMinTime()
public int getInterval()
public javax.vecmath.Matrix4d getIndex2Space()
public javax.vecmath.Matrix4d getSpace2Index()
protected final void initialize()
public javax.vecmath.Point3f getLocation(float xPercent,
float yPercent,
float zPercent)
xPercent - yPercent - zPercent -
public void getPercent(javax.vecmath.Point3f p)
point - public javax.vecmath.Vector3f getDown(int slice)
public javax.vecmath.Vector3f getRight(int slice)
public javax.vecmath.Point3f getUL(int slice,
javax.vecmath.Point3f percent)
public boolean shareable()
public boolean canDiskCache()
Data
canDiskCache in class Data
public double getCutoff(double percent,
boolean top)
percent - whether - to get the top or bottom percent.
public Map<String,Object> getDefaultParameters(Set<Tag> metadata)
Data
getDefaultParameters in class Datapublic boolean hasTime()
Data
hasTime in class Data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||