Class SAIExtrusion
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.geometry3d.SAIExtrusion
- All Implemented Interfaces:
Extrusion,X3DGeometryNode,X3DNode
A concrete implementation of the Extrusion 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
ConstructorsConstructorDescriptionSAIExtrusion(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn the beginCap boolean value.booleangetCcw()Return the ccw boolean value.booleanReturn the convex boolean value.floatReturn the creaseAngle float value.voidgetCrossSection(float[] val) Return the crossSection value in the argument float[]booleanReturn the endCap boolean value.intReturn the number of MFVec2f items in the crossSection field.intReturn the number of MFRotation items in the orientation field.intReturn the number of MFVec2f items in the scale field.intReturn the number of MFVec3f items in the spine field.voidgetOrientation(float[] val) Return the orientation value in the argument float[]voidgetScale(float[] val) Return the scale value in the argument float[]booleangetSolid()Return the solid boolean value.voidgetSpine(float[] val) Return the spine value in the argument float[]voidsetBeginCap(boolean val) Set the beginCap field.voidsetCcw(boolean val) Set the ccw field.voidsetConvex(boolean val) Set the convex field.voidsetCreaseAngle(float val) Set the creaseAngle field.voidsetCrossSection(float[] val) Set the crossSection field.voidsetEndCap(boolean val) Set the endCap field.voidsetOrientation(float[] val) Set the orientation field.voidsetScale(float[] val) Set the scale field.voidsetSolid(boolean val) Set the solid field.voidsetSpine(float[] val) Set the spine 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
-
SAIExtrusion
public SAIExtrusion(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf-
-
-
Method Details
-
getNumCrossSection
public int getNumCrossSection()Return the number of MFVec2f items in the crossSection field.- Specified by:
getNumCrossSectionin 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:
getCrossSectionin interfaceExtrusion- Parameters:
val- The float[] to initialize.
-
setCrossSection
public void setCrossSection(float[] val) Set the crossSection field.- Specified by:
setCrossSectionin interfaceExtrusion- Parameters:
val- The float[] to set.
-
getNumOrientation
public int getNumOrientation()Return the number of MFRotation items in the orientation field.- Specified by:
getNumOrientationin 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:
getOrientationin interfaceExtrusion- Parameters:
val- The float[] to initialize.
-
setOrientation
public void setOrientation(float[] val) Set the orientation field.- Specified by:
setOrientationin interfaceExtrusion- Parameters:
val- The float[] to set.
-
getNumScale
public int getNumScale()Return the number of MFVec2f items in the scale field.- Specified by:
getNumScalein 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:
getNumSpinein interfaceExtrusion- Returns:
- the number of MFVec3f items in the spine field.
-
getSpine
-
setSpine
-
getBeginCap
public boolean getBeginCap()Return the beginCap boolean value.- Specified by:
getBeginCapin interfaceExtrusion- Returns:
- The beginCap boolean value.
-
setBeginCap
public void setBeginCap(boolean val) Set the beginCap field.- Specified by:
setBeginCapin interfaceExtrusion- Parameters:
val- The boolean to set.
-
getCcw
-
setCcw
-
getConvex
-
setConvex
-
getCreaseAngle
public float getCreaseAngle()Return the creaseAngle float value.- Specified by:
getCreaseAnglein interfaceExtrusion- Returns:
- The creaseAngle float value.
-
setCreaseAngle
public void setCreaseAngle(float val) Set the creaseAngle field.- Specified by:
setCreaseAnglein interfaceExtrusion- Parameters:
val- The float to set.
-
getEndCap
-
setEndCap
-
getSolid
-
setSolid
-