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 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.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, 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, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue-
-
-
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
-