Class Grid2DProjectionDecorator

    • Constructor Detail

      • Grid2DProjectionDecorator

        public Grid2DProjectionDecorator()
    • Method Detail

      • init

        public void init​(DisplayOGL2D display,
                         saf.v3d.scene.VComposite parent)
        Initializes the decorator by adding a grid shape of the appropriate size to the parent.
        Specified by:
        init in interface ProjectionDecorator2D<Grid<?>>
        display -
        parent - the parent to which the decoration should be added
      • update

        public void update()
        Updates the decorator. The intention is that this would only do something if the decoration has changed from that created in init.
        Specified by:
        update in interface ProjectionDecorator2D<Grid<?>>