Class RigidShapeBuilder


  • public class RigidShapeBuilder
    extends ApplicationTemplate
    RigidShapeBuilder is a tool for creating and editing 3D shapes and placing them on the globe. Possible shapes include the Rigid Shapes (Ellipsoid, Box, Cylinder, Cone, Pyramid and Wedge) as well as ExtrudedPolygon. The RigidShapeBuilder user interface allows the user to select the desired shape from a dropdown menu, create an instance of it with the click of a button, and specify an "edit mode" for modifying the shape: move, scale, rotate, skew, or texture. Numerous shapes may be created and placed on the globe together, but only one may be selected and edited at any given time.

    Keyboard shortcuts allow the user to toggle easily between the various edit modes. The shortcuts are as follows:

    Ctrl-Z: move Ctrl-X: scale Ctrl-C: rotate Ctrl-V: skew Ctrl-B: texture

    Edited shapes are Restorable and may be saved to or loaded from a file using options in the File menu.

    • Constructor Detail

      • RigidShapeBuilder

        public RigidShapeBuilder()
    • Method Detail

      • getDefaultAttributes

        public static ShapeAttributes getDefaultAttributes()
      • getSelectionAttributes

        public static ShapeAttributes getSelectionAttributes()
      • getNextName

        public static java.lang.String getNextName​(java.lang.String base)
      • main

        public static void main​(java.lang.String[] args)