Class KeyframesView

public class KeyframesView extends BaseView
  • Constructor Details

    • KeyframesView

      public KeyframesView(Scene scene)
  • Method Details

    • entityCheck

      protected void entityCheck(com.badlogic.ashley.core.Entity entity)
      Description copied from class: AbstractView
      Checks whether the given entity is suitable for this view. This method should throw a RuntimeException if the entity is not suitable.
      entityCheck in class BaseView
      entity - The entity.
    • entityChanged

      protected void entityChanged()
      Description copied from class: AbstractView
      Contains actions to take after a new entity has been set. This method is typically used to initialize the view components.
      entityChanged in class BaseView
    • entityCleared

      protected void entityCleared()
      Description copied from class: AbstractView
      This method is called when the entity of this view is cleared. It should set all component references to null.
      entityCleared in class BaseView
    • refreshData

      public void refreshData()
      Refreshes the positions and orientations from the keyframes
    • refreshOrientations

      public void refreshOrientations()
      Refreshes the orientations from the keyframes
    • refreshSingleVector

      public void refreshSingleVector(com.badlogic.ashley.core.Entity vo, Vector3d pos, Vector3d vec)
    • resamplePath

      public void resamplePath()
    • setPathKnots

      public void setPathKnots(double[] kts, double[] dirs, double[] ups, boolean[] seams)
    • addKnot

      public void addKnot(Vector3d knot, Vector3d dir, Vector3d up, boolean seam)
    • select

      public FocusView select(int screenX, int screenY, int minPixDist, NaturalCamera camera)
    • checkClickDistance

      protected boolean checkClickDistance(int screenX, int screenY, com.badlogic.gdx.math.Vector3 pos, NaturalCamera camera, pcamera, double pixelSize)
    • highlight

      public void highlight(Keyframe keyframe)
    • unhighlight

      public void unhighlight(Keyframe keyframe)
    • unhighlight

      public void unhighlight()
    • select

      public void select(Keyframe keyframe)
    • unselect

      public void unselect()
    • isSelected

      public boolean isSelected()
    • moveSelection

      public boolean moveSelection(int screenX, int screenY, NaturalCamera camera)
    • rotateAroundDir

      public boolean rotateAroundDir(double dx, double dy, NaturalCamera camera)
    • rotateAroundUp

      public boolean rotateAroundUp(double dx, double dy, NaturalCamera camera)
    • rotateAroundCrs

      public boolean rotateAroundCrs(double dx, double dy, NaturalCamera camera)
    • clearOrientations

      public void clearOrientations()
    • clear

      public void clear()