Class TestTextureInt

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 TestTextureInt
extends Rect3DInt
  • Constructor Details

    • TestTextureInt

      public TestTextureInt()
    • TestTextureInt

      public TestTextureInt​(Rect3D p, java.awt.image.BufferedImage image, int depth)
    • TestTextureInt

      public TestTextureInt​(Rect3D p, java.awt.image.BufferedImage image, int depth, boolean hasAlpha)
  • Method Details

    • init

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

      public void setImage​(java.awt.image.BufferedImage image, int depth)
    • 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