Class TLspArcBandEditor

java.lang.Object
com.luciad.view.lightspeed.editor.ALspEditor
com.luciad.view.lightspeed.editor.TLspArcBandEditor
All Implemented Interfaces:
ILspEditor

public class TLspArcBandEditor extends ALspEditor
Enables visual editing of ILcd2DEditableArcBand objects in an ILspView.

Handles

The arc band editor defines the following edit handles for an arc band object: The following image clarifies the handle locations: the corner point handles and center handle are represented by red points, the green fill color indicates the area that can be used to activate the object handle (note that the outline is also included in this area).

The edit handles of an arc band

Editing

Based on the TLspEditOperation, generated by an edit handle (see description of handles above), this editor performs different edit operations on the associated arc band object. The images below illustrate the effect of the different handles. In each image the gray color represents the previous state of the object and the red color represents the edited object:
  • Corner point handle: the editor adjusts the corresponding point of the arc band. The figure below illustrates this behaviour if the max point of the starting axis is moved (the movement is depicted by the the black arrow).

    Editing a corner of an arcband object.

  • Min/max radius handle: the editor adjusts the corresponding radius of the arc band. The figure below illustrates the behaviour if the max radius is modified.

    Editing the radius of an arcband object

  • Center point handle: the editor translates the entire arc band. The figure below illustrates this behaviour.

    Moving the center point handle.

  • Object translation handle: the editor translates the entire arc band. Note that the behaviour for this handle is identical to the behaviour of the center point handle, with the exception of how the handle is activated (see the Handles section above).

Creation

The initialization process of an arc band consists of three distinct steps:
  1. The first step sets the center of the arc band
  2. The second step initializes the minimum radius and the start angle of the arc band
  3. The third step initializes the maximum radius and the arc angle
The figures below illustrate the creation process. Relevant changes that are new in each step are marked in red:

Setting the center point
Initializing minimum radius and start angle
Initializing maximum radius and arc angle
Setting the center point Initializing minimum radius and start angle Initializing maximum radius and arc angle
Since:
2012.0