Class Image3DInt

All Implemented Interfaces:
java.awt.datatransfer.Transferable, java.lang.Comparable<InterfaceShape>, AttributeListener, AttributeObject, InterfaceObject, PersistentObject, VariableObject, PopupMenuObject, NamedObject, InterfaceQueryObject, InterfaceShapeQueryObject, VertexDataColumnListener, InterfaceTransferable, TreeObject, CleanableObject, XMLObject, IconObject, org.jogamp.java3d.GeometryUpdater

public class Image3DInt
extends Rect3DInt
Draws a rectangular planar image in R3.
Version:
1.0
Author:
Andrew Reid
  • Constructor Details

    • Image3DInt

      public Image3DInt()
    • Image3DInt

      public Image3DInt​(Rect3D thisRect, java.awt.image.BufferedImage image)
    • Image3DInt

      public Image3DInt​(Rect3D thisRect, java.awt.image.BufferedImage image, boolean hasAlpha)
  • Method Details

    • setImage

      public void setImage​(java.awt.image.BufferedImage image)
    • setImage

      public void setImage​(java.awt.image.BufferedImage image, boolean hasAlpha)
    • init

      protected void init()
      Overrides:
      init in class Rect3DInt
    • setScene3DObject

      public void setScene3DObject()
      Description copied from class: Shape3DInt
      Sets this ShapeInt's Java3D scene node from its current geometry and rendering attributes. This node should be retrieved using the Shape3DInt.getShapeSceneNode() method. A scene node will only created if one of these conditions is met:
      • The shape is auxiliary (i.e., not a model shape, but a helper shape such as a section polygon)
      • The shape is associated with a ShapeModel3D, and this model is live (is associated with at least one Java3D scene graph).
      Subclasses which call this super method should always check that a scene node has indeed been created.
      Overrides:
      setScene3DObject in class Rect3DInt
    • toString

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