Documentation of 'visad.java2d.DirectManipulationRendererJ2D' Java class
DirectManipulationRendererJ2D
visad.java2d

Class DirectManipulationRendererJ2D

  • All Implemented Interfaces:
    java.lang.Cloneable
    Direct Known Subclasses:
    BarbManipulationRendererJ2D, CurveManipulationRendererJ2D, PickManipulationRendererJ2D


    public class DirectManipulationRendererJ2D
    extends RendererJ2D
    DirectManipulationRendererJ2D is the VisAD class for direct manipulation rendering under Java2D.

    This DataRenderer supports direct manipulation for Real, RealTuple and Field Data objects (Field data objects must have RealType or RealTupleType ranges and Gridded1DSet domain Sets); no RealType may be mapped to multiple spatial DisplayRealTypes; the RealType of a Real object must be mapped to XAxis, YAxis or YAxis; at least one of the RealType components of a RealTuple object must be mapped to XAxis, YAxis or YAxis; the domain RealType and at least one RealType range component of a Field object must be mapped to XAxis or YAxis

    • Constructor Detail

      • DirectManipulationRendererJ2D

        public DirectManipulationRendererJ2D()
        this DataRenderer supports direct manipulation for Real, RealTuple and Field Data objects (Field data objects must have RealType or RealTupleType ranges and Gridded1DSet domain Sets); no RealType may be mapped to multiple spatial DisplayRealTypes; the RealType of a Real object must be mapped to XAxis, YAxis or YAxis; at least one of the RealType components of a RealTuple object must be mapped to XAxis, YAxis or YAxis; the domain RealType and at least one RealType range component of a Field object must be mapped to XAxis, YAxis or YAxis
    • Method Detail

      • checkDirect

        public void checkDirect()
                         throws VisADException,
                                java.rmi.RemoteException
        Description copied from class: DataRenderer
        set isDirectManipulation = true if this DataRenderer supports direct manipulation for the MathType of its linked Data, and for its ScalarMaps; intended to be over-ridden by extensions of DataRenderer
        Overrides:
        checkDirect in class DataRenderer
        Throws:
        VisADException - a VisAD error occurred
        java.rmi.RemoteException - an RMI error occurred
      • addPoint

        public void addPoint(float[] x)
                      throws VisADException
        Description copied from class: DataRenderer
        add point for temporary rendering; intended to be over-ridden by graphics-API-specific extensions of DataRenderer
        Overrides:
        addPoint in class DataRenderer
        Parameters:
        x - 3-D graphics coordinates of point to render
        Throws:
        VisADException - a VisAD error occurred
      • getExtraBranch

        public VisADGroup getExtraBranch()
      • isLegalTextureMap

        public boolean isLegalTextureMap()
        Overrides:
        isLegalTextureMap in class DataRenderer
        Returns:
        flag indicating whether texture mapping is legal for this DataRenderer
      • clone

        public java.lang.Object clone()
        Specified by:
        clone in class DataRenderer
        Returns:
        a copy of this DataRenderer

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.