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 Details

    • m_kListArrayPointKey

      protected 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 ArrayList<WildMagic.LibFoundation.Mathematics.Vector3f[]> 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.