Examples of VectorSpace


Examples of de.sciss.gui.VectorSpace

 
  private void recalcSpace()
  {
    final Span      visibleSpan;
    final double    d1;
    final VectorSpace  space;
 
//    if( !doc.bird.attemptShared( Session.DOOR_TIME, 250 )) return;
//    try {
      visibleSpan = doc.timeline.getVisibleSpan();
      if( (getFlags() & TIMEFORMAT) == 0 ) {
View Full Code Here

Examples of de.sciss.gui.VectorSpace

    csrInfoIsInt          = displayAFD.sampleFormat == AudioFileDescr.FORMAT_INT;
  }

  protected void updateVerticalRuler()
  {
    final VectorSpace  spc;
    final float      min, max;
    Axis        chanRuler;
   
    switch( waveView.getVerticalScale() ) {
    case PrefsUtil.VSCALE_AMP_LIN:
View Full Code Here

Examples of de.sciss.gui.VectorSpace

//    ggVectorDisplay.setPreferredSize( new Dimension( width, 256 )); // XXX
    JPanel displayPane = new JPanel( new BorderLayout() );
    displayPane.add( ggVectorDisplay, BorderLayout.CENTER );
    Axis haxis      = new Axis( Axis.HORIZONTAL );
    Axis vaxis      = new Axis( Axis.VERTICAL, Axis.FIXEDBOUNDS );
final VectorSpace spc = VectorSpace.createLinSpace( 0, length - 1, f3, f2, null, null, null, null );
haxis.setSpace( spc );
vaxis.setSpace( spc );
    Box box        = Box.createHorizontalBox();
    box.add( Box.createHorizontalStrut( vaxis.getPreferredSize().width ));
    box.add( haxis );
View Full Code Here

Examples of de.sciss.gui.VectorSpace

    final Container      cp    = getContentPane();
    final JSplitPane    split  = new JSplitPane( JSplitPane.HORIZONTAL_SPLIT );
    final JSplitPane    split2  = new JSplitPane( JSplitPane.VERTICAL_SPLIT );
    final JPanel      sp    = new JPanel( new BorderLayout() );
//    final VectorSpace    space  = VectorSpace.createLinSpace( 0.0, 1.0, 0.0, 1.0, null, null, null, null );  // XXX
    final VectorSpace    space  = VectorSpace.createLinSpace( -1.0, 1.0, -1.0, 1.0, null, null, null, null )// XXX
    final SurfaceToolBar  stb    = new SurfaceToolBar( doc );
    final Application    app    = AbstractApplication.getApplication();
    final JPanel      gp    = GUIUtil.createGradientPanel();

    setTitle( app.getResourceString( "frameSurface" ));
View Full Code Here

Examples of de.sciss.gui.VectorSpace

    super( doc );
   
    final Application  app  = AbstractApplication.getApplication();
    JPopupMenu      distancePopup, rotationPopup;
    Box          box;
    VectorSpace      distanceSpace, rotationSpace;

    msgCursorDist  = new MessageFormat( app.getResourceString( "rcvEditDistMsg" ), Locale.US );   // XXX
    msgCursorRot  = new MessageFormat( app.getResourceString( "rcvEditRotMsg" ), Locale.US );   // XXX
    msgCursorSense  = new MessageFormat( app.getResourceString( "rcvEditSenseMsg" ), Locale.US );   // XXX
View Full Code Here

Examples of de.sciss.gui.VectorSpace

    rotationEditor.setVector( null, new float[0] );
  }

  private void updateSpaces()
  {
    VectorSpace spc;
    spc = getDistanceSpace( distanceEditor.getSpace() );
    distanceEditor.setSpace( this, spc );
    distHAxis.setSpace( spc );
    distVAxis.setSpace( spc );
    spc = getRotationSpace( rotationEditor.getSpace() );
View Full Code Here

Examples of de.sciss.gui.VectorSpace

//    comp.setPreferredSize( new Dimension( comp.getPreferredSize().width, height ));
//  }

  protected void updateVerticalRuler()
  {
    final VectorSpace  spc;
    final float      min, max;
    Axis        chanRuler;
   
    switch( waveView.getVerticalScale() ) {
    case PrefsUtil.VSCALE_AMP_LIN:
View Full Code Here

Examples of de.sciss.gui.VectorSpace

  {
    final SectorReceiver  srcv      = (SectorReceiver) rcv;
    final double      innerRadius    = srcv.getInnerRadius();
    final double      outerRadius    = srcv.getOuterRadius();
//    final double      dist      = (outerRadius - innerRadius) / 2;
    final VectorSpace    newSpace    = VectorSpace.createLinSpace(
      innerRadius, outerRadius, oldSpace.vmin, oldSpace.vmax,
      oldSpace.hlabel, oldSpace.hunit, oldSpace.vlabel, oldSpace.vunit );
     
    return newSpace;
  }
View Full Code Here

Examples of de.sciss.gui.VectorSpace

  protected VectorSpace getDistanceSpace( VectorSpace oldSpace )
  {
    final SigmaReceiver  srcv    = (SigmaReceiver) rcv;
    final Dimension2D  size    = srcv.getSize();
    final VectorSpace  newSpace  = VectorSpace.createLinSpace(
      0.0, size.getWidth() / 2, oldSpace.vmin, oldSpace.vmax,
      oldSpace.hlabel, oldSpace.hunit, oldSpace.vlabel, oldSpace.vunit );
     
    return newSpace;
  }
View Full Code Here

Examples of de.sciss.gui.VectorSpace

    return newSpace;
  }
 
  protected VectorSpace getRotationSpace( VectorSpace oldSpace )
  {
    final VectorSpace  newSpace  = VectorSpace.createLinSpace(
      -180.0, 180.0, oldSpace.vmin, oldSpace.vmax,
      oldSpace.hlabel, oldSpace.hunit, oldSpace.vlabel, oldSpace.vunit );
    return newSpace;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.