Class SAICone
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.geometry3d.SAICone
- All Implemented Interfaces:
Cone,X3DGeometryNode,X3DNode
A concrete implementation of the Cone node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode -
Constructor Summary
ConstructorsConstructorDescriptionSAICone(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn the bottom boolean value.floatReturn the bottomRadius float value.floatReturn the height float value.booleangetSide()Return the side boolean value.booleangetSolid()Return the solid boolean value.voidsetBottom(boolean val) Set the bottom field.voidsetBottomRadius(float val) Set the bottomRadius field.voidsetHeight(float val) Set the height field.voidsetSide(boolean val) Set the side field.voidsetSolid(boolean val) Set the solid field.Methods inherited from class org.web3d.vrml.scripting.sai.BaseNode
checkAccess, dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAICone
public SAICone(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf-
-
-
Method Details
-
getSolid
-
setSolid
-
getBottomRadius
public float getBottomRadius()Return the bottomRadius float value.- Specified by:
getBottomRadiusin interfaceCone- Returns:
- The bottomRadius float value.
-
setBottomRadius
public void setBottomRadius(float val) Set the bottomRadius field.- Specified by:
setBottomRadiusin interfaceCone- Parameters:
val- The float to set.
-
getHeight
-
setHeight
-
getBottom
-
setBottom
-
getSide
-
setSide
-