Class CollectionDisplay

All Implemented Interfaces:
ResolutionSensitive, Transformation, Pickable, Renderable, Manageable, PersistenceCapable, Shareable, UserFields, XObject, Map, Serializable
Direct Known Subclasses:
CollectionMesh, CollectionPoint

public abstract class CollectionDisplay extends ColoredNull implements Renderable, Pickable, ResolutionSensitive
Intermediate node in a collection cloud that "hide" the display of the point in the graph bellow. In the case of pointcloud as graph, this node should have one parent (the collection cloud) and one child: a pointcloudBase. It visit the graph bellow and gather the display information from these nodes. As long as the collection is not updated, the nodes bellow are never re visited for display.
See Also:
  • Field Details

    • update

      protected boolean update
    • boxSize

      protected float boxSize
    • lineSize

      protected float lineSize
    • $TYPE

      public static final Node.NType $TYPE
    • update$FIELD

      public static final Node.NType.Field update$FIELD
    • boxSize$FIELD

      public static final Node.NType.Field boxSize$FIELD
    • lineSize$FIELD

      public static final Node.NType.Field lineSize$FIELD
  • Constructor Details

    • CollectionDisplay

      public CollectionDisplay()
  • Method Details

    • getState

      public ResolutionSensitive.State getState()
      Specified by:
      getState in interface ResolutionSensitive
    • setState

      public void setState(ResolutionSensitive.State s)
      Specified by:
      setState in interface ResolutionSensitive
    • draw

      public void draw(Object object, boolean asNode, RenderState rs)
      Specified by:
      draw in interface Renderable
    • drawImpl

      protected abstract void drawImpl(Object object, boolean asNode, RenderState rs)
    • pick

      public void pick(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list)
      Description copied from interface: Pickable
      Computes intersections of a given ray with this shape.
      Specified by:
      pick in interface Pickable
      Parameters:
      object - the object of which this shape is an attribute
      asNode - true iff object is a node
      origin - the origin of the ray, in local coordinates
      direction - the direction of the ray, in local coordinates
      transformation - the transformation from local coordinates to world coordinates
      list - the list to which intersections have to be added
    • pickImpl

      protected abstract void pickImpl(Object object, boolean asNode, Point3d origin, Vector3d direction, Matrix4d transformation, PickList list)
    • isUpdate

      public boolean isUpdate()
    • setUpdate

      public void setUpdate(boolean value)
    • getBoxSize

      public float getBoxSize()
    • setBoxSize

      public void setBoxSize(float value)
    • getLineSize

      public float getLineSize()
    • setLineSize

      public void setLineSize(float value)