Class SpiralFixture

All Implemented Interfaces:
LXComponent.Renamable, LXPath, LXSerializable, LXParameterListener, LXFixtureContainer

@LXCategory("Core") public class SpiralFixture extends LXBasicFixture
  • Field Details

  • Constructor Details

    • SpiralFixture

      public SpiralFixture(LX lx)
  • Method Details

    • computePointGeometry

      protected void computePointGeometry(LXMatrix transform, List<LXPoint> points)
      Description copied from class: LXFixture
      This method should be implemented by subclasses to generate the geometry of the fixture any time its geometry parameters have changed. The correct number of points will have already been computed, and merely need to have their positions set.
      Specified by:
      computePointGeometry in class LXFixture
      Parameters:
      transform - A transform matrix representing the fixture's position
      points - The list of points that need to have their positions set
    • size

      protected int size()
      Description copied from class: LXFixture
      Subclasses must implement to specify the number of points in the fixture. This does not include the number of points that are in children.
      Specified by:
      size in class LXFixture
      Returns:
      number of points immediately in the fixture
    • getDefaultTags

      protected String[] getDefaultTags()
      Description copied from class: LXFixture
      Subclasses may override to return an array of default tag types for this fixture in the model hierarchy
      Overrides:
      getDefaultTags in class LXFixture
      Returns:
      List of model tag types for this fixture
    • addModelMetaData

      public void addModelMetaData(Map<String,String> metaData)
      Description copied from class: LXFixture
      Subclasses may override to add additiona metadata fields for inclusion in the model
      Overrides:
      addModelMetaData in class LXFixture
      Parameters:
      metaData - Map to add meta-data fields to