Class ModelImage3DLayout.GradientNeighbors
- java.lang.Object
-
- gov.nih.mipav.view.renderer.flythroughview.ModelImage3DLayout.GradientNeighbors
-
- Enclosing class:
- ModelImage3DLayout
public static class ModelImage3DLayout.GradientNeighbors extends java.lang.Object
Stores the indexes into a linear array for the samples to use in computing finite difference based gradients as follows:grad.x = (array[m_iX1] - array[m_iX0]) / m_fDeltaX; grad.y = (array[m_iY1] - array[m_iY0]) / m_fDeltaY; grad.z = (array[m_iZ1] - array[m_iZ0]) / m_fDeltaZ;
-
-
Field Summary
Fields Modifier and Type Field Description float
m_fDeltaX
Scale factors to use for normalizing the finite differences by axis.float
m_fDeltaY
DOCUMENT ME!float
m_fDeltaZ
DOCUMENT ME!int
m_iX0
Indexes into linear array for X-axis finite difference computed by array[m_iX1] - array[m_iX0];.int
m_iX1
DOCUMENT ME!int
m_iY0
Indexes into linear array for Y-axis finite difference computed by array[m_iY1] - array[m_iY0];.int
m_iY1
DOCUMENT ME!int
m_iZ0
Indexes into linear array for Z-axis finite difference computed by array[m_iZ1] - array[m_iZ0];.int
m_iZ1
DOCUMENT ME!
-
Constructor Summary
Constructors Constructor Description GradientNeighbors()
-
-
-
Field Detail
-
m_fDeltaX
public float m_fDeltaX
Scale factors to use for normalizing the finite differences by axis.
-
m_fDeltaY
public float m_fDeltaY
DOCUMENT ME!
-
m_fDeltaZ
public float m_fDeltaZ
DOCUMENT ME!
-
m_iX0
public int m_iX0
Indexes into linear array for X-axis finite difference computed by array[m_iX1] - array[m_iX0];.
-
m_iX1
public int m_iX1
DOCUMENT ME!
-
m_iY0
public int m_iY0
Indexes into linear array for Y-axis finite difference computed by array[m_iY1] - array[m_iY0];.
-
m_iY1
public int m_iY1
DOCUMENT ME!
-
m_iZ0
public int m_iZ0
Indexes into linear array for Z-axis finite difference computed by array[m_iZ1] - array[m_iZ0];.
-
m_iZ1
public int m_iZ1
DOCUMENT ME!
-
-