Documentation of 'org.jzy3d.plot3d.primitives.AbstractDrawable' Java class
AbstractDrawable
org.jzy3d.plot3d.primitives

Class AbstractDrawable

    • Constructor Detail

      • AbstractDrawable

        public AbstractDrawable()
    • Method Detail

      • dispose

        public void dispose()
        Performs all required operation to cleanup the Drawable.
      • draw

        public abstract void draw(com.jogamp.opengl.GL gl,
                                  com.jogamp.opengl.glu.GLU glu,
                                  Camera cam)
        Call OpenGL2 routines for rendering the object.
        Specified by:
        draw in interface IGLRenderer
        Parameters:
        gl - GL2 context
        glu - GLU context
        cam - a reference to a shooting Camera.
      • applyGeometryTransform

        public abstract void applyGeometryTransform(Transform transform)
      • updateBounds

        public abstract void updateBounds()
      • doTransform

        public void doTransform(com.jogamp.opengl.GL gl,
                                com.jogamp.opengl.glu.GLU glu,
                                Camera cam)
      • setTransform

        public void setTransform(Transform transform)
        Set object's transformation that is applied at the beginning of a call to draw(GL,GLU,Camera).
        Parameters:
        transform -
      • getTransform

        public Transform getTransform()
        Get object's transformation that is applied at the beginning of a call to draw(GL,GLU,Camera).
        Returns:
        transform
      • getTransformBefore

        public Transform getTransformBefore()
      • setTransformBefore

        public void setTransformBefore(Transform transformBefore)
      • getBounds

        public BoundingBox3d getBounds()
        Return the BoundingBox of this object.
        Returns:
        a bounding box
      • getBarycentre

        public Coord3d getBarycentre()
        Return the barycentre of this object, which is computed as the center of its bounding box. If the bounding box is not available, the returned value is Coord3d.INVALID
        Returns:
        the center of the bounding box, or Coord3d.INVALID.
      • setDisplayed

        public void setDisplayed(boolean status)
        Set to true or false the displayed status of this object.
        Parameters:
        status -
      • isDisplayed

        public boolean isDisplayed()
        Return the display status of this object.
      • setLegend

        public void setLegend(ILegend face)
      • getLegend

        public ILegend getLegend()
      • hasLegend

        public boolean hasLegend()
      • setLegendDisplayed

        public void setLegendDisplayed(boolean status)
      • isLegendDisplayed

        public boolean isLegendDisplayed()
      • isBoundingBoxDisplayed

        public boolean isBoundingBoxDisplayed()
      • setBoundingBoxDisplayed

        public void setBoundingBoxDisplayed(boolean boundingBoxDisplayed)
      • getBoundingBoxColor

        public Color getBoundingBoxColor()
      • setBoundingBoxColor

        public void setBoundingBoxColor(Color boundingBoxColor)
      • setSpaceTransformer

        public void setSpaceTransformer(SpaceTransformer spaceTransformer)
      • removeDrawableListener

        public void removeDrawableListener(IDrawableListener listener)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toString

        public java.lang.String toString(int depth)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.