Class LPolygon3DInt

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

public class LPolygon3DInt
extends Polygon3DInt
implements LightweightShape
  • Constructor Details

    • LPolygon3DInt

      public LPolygon3DInt()
    • LPolygon3DInt

      public LPolygon3DInt​(Polygon3D poly)
  • Method Details

    • init

      protected void init()
      init in class Polygon3DInt
    • setAttributes

      public void setAttributes​(AttributeList a)
      Description copied from interface: AttributeObject
      Sets the list of attributes for this object.
      Specified by:
      setAttributes in interface AttributeObject
      Specified by:
      setAttributes in interface LightweightShape
      setAttributes in class InterfaceShape
    • attributeUpdated

      public void attributeUpdated​(AttributeEvent e)
      Description copied from class: Shape3DInt
      Responds to an update in one of this shape's attributes.

      Subclasses should override and call this super method AFTER handling the attribute change appropriately. Subclasses should also override needsRedraw() to indicate whether the scene node should be regenerated.

      Specified by:
      attributeUpdated in interface AttributeListener
      attributeUpdated in class Polygon3DInt
      e - an AttributeEvent specifying which attribute has been changed
    • releaseAttributes

      public void releaseAttributes()
    • 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.
      setScene3DObject in class Polygon3DInt
    • setDefaultAttributes

      protected void setDefaultAttributes()