Class VisualItem3D<T>

java.lang.Object
repast.simphony.visualization.visualization3D.VisualItem3D<T>
Direct Known Subclasses:
EdgeVisualItem, NodeVisualItem

public class VisualItem3D<T> extends Object
Author:
Nick Collier
  • Field Details

    • branchGroup

      protected org.jogamp.java3d.BranchGroup branchGroup
    • oldUserBranch

      protected org.jogamp.java3d.BranchGroup oldUserBranch
    • newUserBranch

      protected org.jogamp.java3d.BranchGroup newUserBranch
    • taggedBranchGroup

      protected TaggedBranchGroup taggedBranchGroup
    • color

      protected org.jogamp.vecmath.Color3f color
    • location

      protected org.jogamp.vecmath.Point3f location
    • scale

      protected float[] scale
    • translateGroup

      protected org.jogamp.java3d.TransformGroup translateGroup
    • rotationGroup

      protected org.jogamp.java3d.TransformGroup rotationGroup
    • scaleGroup

      protected org.jogamp.java3d.TransformGroup scaleGroup
    • transformer

      protected Transformer transformer
    • visualizedObject

      protected T visualizedObject
    • moved

      protected boolean moved
    • shapes

      protected Map<org.jogamp.java3d.Shape3D,TaggedAppearance> shapes
    • changedMap

      protected Map<org.jogamp.java3d.Shape3D,TaggedAppearance> changedMap
    • label

      protected Label label
  • Constructor Details

  • Method Details

    • shapes

      public Iterator<org.jogamp.java3d.Shape3D> shapes()
    • getShapeAppearance

      public TaggedAppearance getShapeAppearance(org.jogamp.java3d.Shape3D shape)
    • setShapeAppearance

      public void setShapeAppearance(org.jogamp.java3d.Shape3D shape, TaggedAppearance appearance)
    • getTaggedBranchGroup

      public TaggedBranchGroup getTaggedBranchGroup()
    • setTaggedBranchGroup

      public void setTaggedBranchGroup(TaggedBranchGroup tGroup)
    • getLocation

      public org.jogamp.vecmath.Point3f getLocation()
    • setLocation

      public void setLocation(org.jogamp.vecmath.Point3f location)
    • setLocation

      public void setLocation(float[] location)
    • hasMoved

      public boolean hasMoved()
    • setLocation

      public void setLocation()
    • setScale

      public void setScale(float x, float y, float z)
    • getScale

      public float[] getScale()
    • addTo

      public void addTo(org.jogamp.java3d.BranchGroup group)
    • applyTransform

      public void applyTransform()
    • removeFrom

      public void removeFrom(org.jogamp.java3d.BranchGroup parent)
    • getVisualizedObject

      public T getVisualizedObject()
    • setRotation

      public void setRotation(org.jogamp.vecmath.AxisAngle4f rotation)
    • setLabel

      public void setLabel(String label, Style3D.LabelPosition position)
    • getLabel

      public String getLabel()
    • getLabelPosition

      public Style3D.LabelPosition getLabelPosition()
    • setLabelColor

      public void setLabelColor(Color color)
    • getLabelColor

      public Color getLabelColor()
    • setLabelFont

      public void setLabelFont(Font font)
    • getLabelFont

      public Font getLabelFont()
    • setLabelOffset

      public void setLabelOffset(float offset)
    • updateTaggedBranchGroup

      public void updateTaggedBranchGroup(Style3D style)
    • updateAppearance

      public void updateAppearance(Style3D style)
    • updateLabel

      public void updateLabel(Style3D style)
    • updateScale

      public void updateScale(Style3D style)
    • updateRotation

      public void updateRotation(Style3D style)
    • updateLocation

      public void updateLocation(Layout layout)
    • updateLocation

      public void updateLocation(org.jogamp.vecmath.Point3f source, float sourceRadius, org.jogamp.vecmath.Point3f target, float targetRadius)