Package geomss.j3d

Class J3DGeomList


  • public class J3DGeomList
    extends J3DGeomGroup<AbstractGeomList>
    A Java 3D node that represents a GeometryList in a Java 3D scene graph.

    Modified by: Joseph A. Huwaldt

    Version:
    June 4, 2023
    Author:
    Joseph A. Huwaldt, Date: April 13, 2009
    • Field Summary

      • Fields inherited from class org.jogamp.java3d.BranchGroup

        ALLOW_DETACH
      • Fields inherited from class org.jogamp.java3d.Group

        ALLOW_CHILDREN_EXTEND, ALLOW_CHILDREN_READ, ALLOW_CHILDREN_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITE
      • Fields inherited from class org.jogamp.java3d.Node

        ALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_LOCALE_READ, ALLOW_PARENT_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.jogamp.java3d.Node cloneNode​(boolean forceDuplicate)
      Creates a new instance of the node.
      void setDisplayed​(boolean visible)
      Sets the display of this geometry group to either DISPLAYED (true) or NOT_DISPLAYED (false).
      void setMirrored​(boolean mirrored)
      Set the display of a copy of this geometry mirrored across the XZ plane to either DISPLAYED (true) or NOT_DISPLAYED (false).
      void setRenderType​(RenderType type)
      Set the render type used for this group.
      • Methods inherited from class org.jogamp.java3d.BranchGroup

        compile, detach, pickAll, pickAll, pickAllSorted, pickAllSorted, pickAny, pickAny, pickClosest, pickClosest
      • Methods inherited from class org.jogamp.java3d.Group

        addChild, getAllChildren, getAlternateCollisionTarget, getChild, getCollisionBounds, indexOfChild, insertChild, moveTo, numChildren, removeAllChildren, removeChild, removeChild, setAlternateCollisionTarget, setChild, setCollisionBounds
      • Methods inherited from class org.jogamp.java3d.Node

        cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
      • Methods inherited from class org.jogamp.java3d.SceneGraphObject

        clearCapability, clearCapabilityIsFrequent, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString, updateNodeReferences
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • J3DGeomList

        public J3DGeomList​(GeomSSCanvas3D canvas,
                           AbstractGeomList geometry)
        Construct a J3DGeomList using the specified GeomList as a reference.
        Parameters:
        canvas - The canvas that the geometry is rendered into.
        geometry - The GeomSS geometry to be turned into a Java3D node.
    • Method Detail

      • setDisplayed

        public void setDisplayed​(boolean visible)
        Sets the display of this geometry group to either DISPLAYED (true) or NOT_DISPLAYED (false).
        Overrides:
        setDisplayed in class J3DGeomGroup<AbstractGeomList>
        Parameters:
        visible - Flag indicating if the geometry is displayed or not.
      • cloneNode

        public org.jogamp.java3d.Node cloneNode​(boolean forceDuplicate)
        Creates a new instance of the node. This routine is called by cloneTree to duplicate the current node.
        Overrides:
        cloneNode in class org.jogamp.java3d.BranchGroup
        Parameters:
        forceDuplicate - when set to true, causes the duplicateOnCloneTree flag to be ignored. When false, the value of each node's duplicateOnCloneTree variable determines whether NodeComponent data is duplicated or copied.
        Returns:
        A new instance of this Java3D node.