Class VisualItem3D<T>
java.lang.Object
repast.simphony.visualization.visualization3D.VisualItem3D<T>
- Direct Known Subclasses:
EdgeVisualItem
,NodeVisualItem
- Author:
- Nick Collier
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.jogamp.java3d.BranchGroup
protected Map<org.jogamp.java3d.Shape3D,
TaggedAppearance> protected org.jogamp.vecmath.Color3f
protected Label
protected org.jogamp.vecmath.Point3f
protected boolean
protected org.jogamp.java3d.BranchGroup
protected org.jogamp.java3d.BranchGroup
protected org.jogamp.java3d.TransformGroup
protected float[]
protected org.jogamp.java3d.TransformGroup
protected Map<org.jogamp.java3d.Shape3D,
TaggedAppearance> protected TaggedBranchGroup
protected Transformer
protected org.jogamp.java3d.TransformGroup
protected T
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTo
(org.jogamp.java3d.BranchGroup group) void
getLabel()
org.jogamp.vecmath.Point3f
float[]
getScale()
getShapeAppearance
(org.jogamp.java3d.Shape3D shape) boolean
hasMoved()
void
removeFrom
(org.jogamp.java3d.BranchGroup parent) void
setLabel
(String label, Style3D.LabelPosition position) void
setLabelColor
(Color color) void
setLabelFont
(Font font) void
setLabelOffset
(float offset) void
void
setLocation
(float[] location) void
setLocation
(org.jogamp.vecmath.Point3f location) void
setRotation
(org.jogamp.vecmath.AxisAngle4f rotation) void
setScale
(float x, float y, float z) void
setShapeAppearance
(org.jogamp.java3d.Shape3D shape, TaggedAppearance appearance) void
Iterator<org.jogamp.java3d.Shape3D>
shapes()
void
updateAppearance
(Style3D style) void
updateLabel
(Style3D style) void
updateLocation
(org.jogamp.vecmath.Point3f source, float sourceRadius, org.jogamp.vecmath.Point3f target, float targetRadius) void
updateLocation
(Layout layout) void
updateRotation
(Style3D style) void
updateScale
(Style3D style) void
updateTaggedBranchGroup
(Style3D style)
-
Field Details
-
branchGroup
protected org.jogamp.java3d.BranchGroup branchGroup -
oldUserBranch
protected org.jogamp.java3d.BranchGroup oldUserBranch -
newUserBranch
protected org.jogamp.java3d.BranchGroup newUserBranch -
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
-
visualizedObject
-
moved
protected boolean moved -
shapes
-
changedMap
-
label
-
-
Constructor Details
-
VisualItem3D
-
-
Method Details
-
shapes
-
getShapeAppearance
-
setShapeAppearance
-
getTaggedBranchGroup
-
setTaggedBranchGroup
-
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
-
setRotation
public void setRotation(org.jogamp.vecmath.AxisAngle4f rotation) -
setLabel
-
getLabel
-
getLabelPosition
-
setLabelColor
-
getLabelColor
-
setLabelFont
-
getLabelFont
-
setLabelOffset
public void setLabelOffset(float offset) -
updateTaggedBranchGroup
-
updateAppearance
-
updateLabel
-
updateScale
-
updateRotation
-
updateLocation
-
updateLocation
public void updateLocation(org.jogamp.vecmath.Point3f source, float sourceRadius, org.jogamp.vecmath.Point3f target, float targetRadius)
-