Class FlyPathGraphSamples
java.lang.Object
gov.nih.mipav.view.renderer.flythroughview.FlyPathGraph
gov.nih.mipav.view.renderer.flythroughview.FlyPathGraphSamples
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
FieldsModifier and TypeFieldDescriptionprotected ArrayList<int[]> Storage for the arrays of keys and , positions for each curve.protected ArrayList<WildMagic.LibFoundation.Mathematics.Vector3f[]> DOCUMENT ME!Fields inherited from class gov.nih.mipav.view.renderer.flythroughview.FlyPathGraph
m_kListBranchChildList, m_kListBranchParentIndex, m_kListBranchParentNormalizedDist -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(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 Details
-
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
DOCUMENT ME!
-
-
Constructor Details
-
FlyPathGraphSamples
public FlyPathGraphSamples()Constructor. Initially empty path with no branches.
-
-
Method Details
-
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:
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.
-