Class SAICone
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.geometry3d.SAICone
- All Implemented Interfaces:
Cone
,X3DGeometryNode
,X3DNode
A concrete implementation of the Cone node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAICone
(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return the bottom boolean value.float
Return the bottomRadius float value.float
Return the height float value.boolean
getSide()
Return the side boolean value.boolean
getSolid()
Return the solid boolean value.void
setBottom
(boolean val) Set the bottom field.void
setBottomRadius
(float val) Set the bottomRadius field.void
setHeight
(float val) Set the height field.void
setSide
(boolean val) Set the side field.void
setSolid
(boolean val) Set the solid field.Methods inherited from class org.web3d.vrml.scripting.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAICone
public SAICone(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue
-
-
-
Method Details
-
getSolid
-
setSolid
-
getBottomRadius
public float getBottomRadius()Return the bottomRadius float value.- Specified by:
getBottomRadius
in interfaceCone
- Returns:
- The bottomRadius float value.
-
setBottomRadius
public void setBottomRadius(float val) Set the bottomRadius field.- Specified by:
setBottomRadius
in interfaceCone
- Parameters:
val
- The float to set.
-
getHeight
-
setHeight
-
getBottom
-
setBottom
-
getSide
-
setSide
-