Interface ProjectionDecorator3D<T extends Projection>

  • All Known Implementing Classes:
    Continuous3DProjectionDecorator, Grid3DProjectionDecorator

    public interface ProjectionDecorator3D<T extends Projection>
    Interface for classes that will decorate projection visualizations. Decorating a projection refers to such things as adding grid lines for a grid projection, bounding boxes, etc.
    Version:
    $Revision$ $Date$
    Author:
    Nick Collier
    • Method Detail

      • init

        void init​(Display3D display,
                  org.jogamp.java3d.Group parent)
        Initializes the decorator. Implementors should add the decorating shapes to the parent branch group.
        Parameters:
        display -
        parent - the parent to which the decoration should be added
      • update

        void update()
        Updates the decorator. The intention is that this would only do something if the decoration has changed from that created in init.
      • setProjection

        void setProjection​(T projection)
        Sets the that this decorator decorates.
        Parameters:
        projection -
      • getProjection

        T getProjection()
        Gets the projection that this decorator decorates.
        Returns:
        the projection that this decorator decorates.