Class SAIExtrusion
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.geometry3d.SAIExtrusion
- All Implemented Interfaces:
Extrusion
,X3DGeometryNode
,X3DNode
A concrete implementation of the Extrusion node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAIExtrusion
(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return the beginCap boolean value.boolean
getCcw()
Return the ccw boolean value.boolean
Return the convex boolean value.float
Return the creaseAngle float value.void
getCrossSection
(float[] val) Return the crossSection value in the argument float[]boolean
Return the endCap boolean value.int
Return the number of MFVec2f items in the crossSection field.int
Return the number of MFRotation items in the orientation field.int
Return the number of MFVec2f items in the scale field.int
Return the number of MFVec3f items in the spine field.void
getOrientation
(float[] val) Return the orientation value in the argument float[]void
getScale
(float[] val) Return the scale value in the argument float[]boolean
getSolid()
Return the solid boolean value.void
getSpine
(float[] val) Return the spine value in the argument float[]void
setBeginCap
(boolean val) Set the beginCap field.void
setCcw
(boolean val) Set the ccw field.void
setConvex
(boolean val) Set the convex field.void
setCreaseAngle
(float val) Set the creaseAngle field.void
setCrossSection
(float[] val) Set the crossSection field.void
setEndCap
(boolean val) Set the endCap field.void
setOrientation
(float[] val) Set the orientation field.void
setScale
(float[] val) Set the scale field.void
setSolid
(boolean val) Set the solid field.void
setSpine
(float[] val) Set the spine 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
-
SAIExtrusion
public SAIExtrusion(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue
-
-
-
Method Details
-
getNumCrossSection
public int getNumCrossSection()Return the number of MFVec2f items in the crossSection field.- Specified by:
getNumCrossSection
in interfaceExtrusion
- Returns:
- the number of MFVec2f items in the crossSection field.
-
getCrossSection
public void getCrossSection(float[] val) Return the crossSection value in the argument float[]- Specified by:
getCrossSection
in interfaceExtrusion
- Parameters:
val
- The float[] to initialize.
-
setCrossSection
public void setCrossSection(float[] val) Set the crossSection field.- Specified by:
setCrossSection
in interfaceExtrusion
- Parameters:
val
- The float[] to set.
-
getNumOrientation
public int getNumOrientation()Return the number of MFRotation items in the orientation field.- Specified by:
getNumOrientation
in interfaceExtrusion
- Returns:
- the number of MFRotation items in the orientation field.
-
getOrientation
public void getOrientation(float[] val) Return the orientation value in the argument float[]- Specified by:
getOrientation
in interfaceExtrusion
- Parameters:
val
- The float[] to initialize.
-
setOrientation
public void setOrientation(float[] val) Set the orientation field.- Specified by:
setOrientation
in interfaceExtrusion
- Parameters:
val
- The float[] to set.
-
getNumScale
public int getNumScale()Return the number of MFVec2f items in the scale field.- Specified by:
getNumScale
in interfaceExtrusion
- Returns:
- the number of MFVec2f items in the scale field.
-
getScale
-
setScale
-
getNumSpine
public int getNumSpine()Return the number of MFVec3f items in the spine field.- Specified by:
getNumSpine
in interfaceExtrusion
- Returns:
- the number of MFVec3f items in the spine field.
-
getSpine
-
setSpine
-
getBeginCap
public boolean getBeginCap()Return the beginCap boolean value.- Specified by:
getBeginCap
in interfaceExtrusion
- Returns:
- The beginCap boolean value.
-
setBeginCap
public void setBeginCap(boolean val) Set the beginCap field.- Specified by:
setBeginCap
in interfaceExtrusion
- Parameters:
val
- The boolean to set.
-
getCcw
-
setCcw
-
getConvex
-
setConvex
-
getCreaseAngle
public float getCreaseAngle()Return the creaseAngle float value.- Specified by:
getCreaseAngle
in interfaceExtrusion
- Returns:
- The creaseAngle float value.
-
setCreaseAngle
public void setCreaseAngle(float val) Set the creaseAngle field.- Specified by:
setCreaseAngle
in interfaceExtrusion
- Parameters:
val
- The float to set.
-
getEndCap
-
setEndCap
-
getSolid
-
setSolid
-