public class J3DGeomList extends J3DGeomGroup<AbstractGeomList>
Modified by: Joseph A. Huwaldt
USERDATA_KEY
Constructor and Description |
---|
J3DGeomList(GeomSSCanvas3D canvas,
AbstractGeomList geometry)
Construct a J3DGeomList using the specified GeomList as a reference.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getDefaultRenderingPrefs, getGeomElement, getRenderingPrefs, getRenderType, isDisplayed, isMirrored, setDefaultRenderingPrefs, setDrawTolerance, setLineColor, setLineWidth, setPointColor, setPointSize
public J3DGeomList(GeomSSCanvas3D canvas, AbstractGeomList geometry)
canvas
- The canvas that the geometry is rendered into.geometry
- The GeomSS geometry to be turned into a Java3D node.public void setDisplayed(boolean visible)
setDisplayed
in class J3DGeomGroup<AbstractGeomList>
visible
- Flag indicating if the geometry is displayed or not.public void setMirrored(boolean mirrored)
setMirrored
in class J3DGeomGroup<AbstractGeomList>
mirrored
- Flag indicating if the mirrored geometry should be displayed or
not.J3DGeomGroup.isMirrored()
,
J3DGeomGroup.internalSetMirrored(boolean)
public void setRenderType(RenderType type)
setRenderType
in class J3DGeomGroup<AbstractGeomList>
type
- Value indicating the way that some objects should be rendered.J3DGeomGroup.getRenderType()
public Node cloneNode(boolean forceDuplicate)
cloneTree
to duplicate the current node.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.