Class FlyPathGraphSamples
- java.lang.Object
-
- gov.nih.mipav.view.renderer.flythroughview.FlyPathGraph
-
- gov.nih.mipav.view.renderer.flythroughview.FlyPathGraphSamples
-
public class FlyPathGraphSamples extends FlyPathGraph
Extension of the FlyPathGraph class which allows for the storage of the samples used to generate the individual curves where curves are the nodes of the graph.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.ArrayList<int[]>
m_kListArrayPointKey
Storage for the arrays of keys and , positions for each curve.protected java.util.ArrayList<WildMagic.LibFoundation.Mathematics.Vector3f[]>
m_kListArrayPointPosition
DOCUMENT ME!-
Fields inherited from class gov.nih.mipav.view.renderer.flythroughview.FlyPathGraph
m_kListBranchChildList, m_kListBranchParentIndex, m_kListBranchParentNormalizedDist
-
-
Constructor Summary
Constructors Constructor Description FlyPathGraphSamples()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int[] aiPointKey, WildMagic.LibFoundation.Mathematics.Vector3f[] akPointPosition)
Add the following information for a "branch" path of the graph: an array of key values for each point along the path, an array of 3D coordinates assoicated with each point, and an array of distances each point is from its nearest boundary.WildMagic.LibFoundation.Mathematics.Vector3f[]
getArrayPointPosition(int iBranch)
Access the array of 3D coordinates for the points which define the specified branch.-
Methods inherited from class gov.nih.mipav.view.renderer.flythroughview.FlyPathGraph
add, getBranchParentIndex, getBranchParentNormalizedDist, getBranchPointBranches, getBranchPointEntryArray, getBranchPoints, getNumBranches
-
-
-
-
Field Detail
-
m_kListArrayPointKey
protected java.util.ArrayList<int[]> m_kListArrayPointKey
Storage for the arrays of keys and , positions for each curve. The size of these arrays must match and the entries must correspond for the same index. The size of these arrays must also match the size of the arrays in the base class, and must correspond for the same index.
-
m_kListArrayPointPosition
protected java.util.ArrayList<WildMagic.LibFoundation.Mathematics.Vector3f[]> m_kListArrayPointPosition
DOCUMENT ME!
-
-
Method Detail
-
add
public void add(int[] aiPointKey, WildMagic.LibFoundation.Mathematics.Vector3f[] akPointPosition)
Add the following information for a "branch" path of the graph: an array of key values for each point along the path, an array of 3D coordinates assoicated with each point, and an array of distances each point is from its nearest boundary.- Parameters:
aiPointKey
- int[] Array of unique integer key values associated with each point along the path.akPointPosition
- Point3f[] Array of 3D positions associated with each point along the path.- Throws:
java.lang.IllegalArgumentException
- DOCUMENT ME!
-
getArrayPointPosition
public WildMagic.LibFoundation.Mathematics.Vector3f[] getArrayPointPosition(int iBranch)
Access the array of 3D coordinates for the points which define the specified branch.- Parameters:
iBranch
- int Index which identifies the branch.- Returns:
- Point3f[] Array of 3D coordinates for the points.
-
-