|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VRMLGeometryNodeType
Geometry nodes produce renderable geometry and are contained by a Shape node.
All geometry has two common properties that indicate whether to render both sides of the geometry (solid), and the winding of the vertices of the triangle. By default, VRML97/X3D use counter-clockwise ordering, but any of the polygonal nodes may elect to reverse the order.
| Method Summary | |
|---|---|
void |
addLocalColorsListener(LocalColorsListener l)
Add a listener for local color changes. |
void |
addTexCoordGenModeChanged(TexCoordGenModeListener l)
Add a listener for texture coordinate generation mode changes. |
int |
getNumSets()
Get the number of texture coordinate sets contained by this node |
java.lang.String |
getTexCoordGenMode(int setNum)
Get the texture coordinate generation mode. |
boolean |
hasLocalColorAlpha()
Specified whether this node has alpha values in the local colour information. |
boolean |
hasLocalColors()
Specified whether this node has color information. |
boolean |
isCCW()
Get the value of the CCW field. |
boolean |
isLightingEnabled()
Specifies whether this node requires lighting. |
boolean |
isSolid()
Get the value of the solid field. |
void |
removeLocalColorsListener(LocalColorsListener l)
Remove a listener for local color changes. |
void |
removeTexCoordGenModeChanged(TexCoordGenModeListener l)
Remove a listener for texture coordinate generation mode changes. |
| Methods inherited from interface org.web3d.vrml.nodes.VRMLNodeType |
|---|
addNodeListener, clearRemovedLayerIds, getFieldValue, getLayerIds, getMetadataObject, getRefCount, getRemovedLayerIds, hasFieldChanged, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, sendRoute, setDEF, setFrameStateManager, setMetadataObject, setupFinished, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, updateRefCount |
| Methods inherited from interface org.web3d.vrml.lang.VRMLNode |
|---|
getFieldDeclaration, getFieldIndex, getNodeFieldIndices, getNumFields, getPrimaryType, getSecondaryType, getUserData, getVRMLNodeName, isDEF, setErrorReporter, setUserData, setVersion |
| Methods inherited from interface org.web3d.vrml.nodes.FrameStateListener |
|---|
allEventsComplete |
| Method Detail |
|---|
boolean isSolid()
boolean isCCW()
boolean isLightingEnabled()
int getNumSets()
java.lang.String getTexCoordGenMode(int setNum)
setNum - The set which this tex gen mode refers.
boolean hasLocalColors()
boolean hasLocalColorAlpha()
void addLocalColorsListener(LocalColorsListener l)
l - The listener.void removeLocalColorsListener(LocalColorsListener l)
l - The listener.void addTexCoordGenModeChanged(TexCoordGenModeListener l)
l - The listener.void removeTexCoordGenModeChanged(TexCoordGenModeListener l)
l - The listener.
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||