Package geomss.j3d
Class J3DPointString
- java.lang.Object
-
- org.jogamp.java3d.SceneGraphObject
-
- org.jogamp.java3d.Node
-
- org.jogamp.java3d.Group
-
- org.jogamp.java3d.BranchGroup
-
- geomss.j3d.J3DGeomGroup<PointString>
-
- geomss.j3d.J3DPointString
-
public class J3DPointString extends J3DGeomGroup<PointString>
A Java 3D node that represents a PointString 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 geomss.j3d.J3DGeomGroup
USERDATA_KEY
-
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
-
-
Constructor Summary
Constructors Constructor Description J3DPointString(GeomSSCanvas3D canvas, PointString geometry)
Construct a J3DPointString using the specified PointString as a reference.
-
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
setRenderType(RenderType type)
Set the render type used for this group.-
Methods inherited from class geomss.j3d.J3DGeomGroup
getDefaultRenderingPrefs, getGeomElement, getRenderingPrefs, getRenderType, isDisplayed, isMirrored, setDefaultRenderingPrefs, setDisplayed, setDrawTolerance, setLineColor, setLineWidth, setMirrored, setPointColor, setPointSize
-
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
-
-
-
-
Constructor Detail
-
J3DPointString
public J3DPointString(GeomSSCanvas3D canvas, PointString geometry)
Construct a J3DPointString using the specified PointString as a reference.- Parameters:
canvas
- The canvas that the geometry is being rendered into.geometry
- The GeomSS geometry to be turned into a Java3D node.
-
-
Method Detail
-
setRenderType
public void setRenderType(RenderType type)
Set the render type used for this group.- Overrides:
setRenderType
in classJ3DGeomGroup<PointString>
- Parameters:
type
- Value indicating the way that some objects should be rendered.- See Also:
J3DGeomGroup.getRenderType()
-
cloneNode
public org.jogamp.java3d.Node cloneNode(boolean forceDuplicate)
Creates a new instance of the node. This routine is called bycloneTree
to duplicate the current node.- Overrides:
cloneNode
in classorg.jogamp.java3d.BranchGroup
- Parameters:
forceDuplicate
- when set totrue
, causes theduplicateOnCloneTree
flag to be ignored. Whenfalse
, the value of each node'sduplicateOnCloneTree
variable determines whether NodeComponent data is duplicated or copied.- Returns:
- A new instance of this Java3D node.
-
-