Xj3D 2.0 VRML/X3D Code API

org.web3d.x3d.sai
Interface X3DComposedGeometryNode

All Superinterfaces:
X3DGeometryNode, X3DNode
All Known Subinterfaces:
IndexedFaceSet, IndexedTriangleFanSet, IndexedTriangleSet, IndexedTriangleStripSet, QuadSet, TriangleFanSet, TriangleSet, TriangleStripSet

public interface X3DComposedGeometryNode
extends X3DGeometryNode

Defines the requirements of an X3DComposedGeometryNode abstract node type

Version:
$Revision: 1.7 $
Author:
Rex Melton

Method Summary
 void getAttrib(X3DNode[] val)
          Return the attrib value in the argument X3DNode[]
 boolean getCcw()
          Return the ccw boolean value.
 X3DNode getColor()
          Return the color X3DNode value.
 boolean getColorPerVertex()
          Return the colorPerVertex boolean value.
 X3DNode getCoord()
          Return the coord X3DNode value.
 X3DNode getFogCoord()
          Return the fogCoord X3DNode value.
 X3DNode getNormal()
          Return the normal X3DNode value.
 boolean getNormalPerVertex()
          Return the normalPerVertex boolean value.
 int getNumAttrib()
          Return the number of MFNode items in the attrib field.
 boolean getSolid()
          Return the solid boolean value.
 X3DNode getTexCoord()
          Return the texCoord X3DNode value.
 void setAttrib(X3DNode[] val)
          Set the attrib field.
 void setCcw(boolean val)
          Set the ccw field.
 void setColor(X3DColorNode val)
          Set the color field.
 void setColor(X3DProtoInstance val)
          Set the color field.
 void setColorPerVertex(boolean val)
          Set the colorPerVertex field.
 void setCoord(X3DCoordinateNode val)
          Set the coord field.
 void setCoord(X3DProtoInstance val)
          Set the coord field.
 void setFogCoord(X3DNode val)
          Set the fogCoord field.
 void setNormal(X3DNormalNode val)
          Set the normal field.
 void setNormal(X3DProtoInstance val)
          Set the normal field.
 void setNormalPerVertex(boolean val)
          Set the normalPerVertex field.
 void setSolid(boolean val)
          Set the solid field.
 void setTexCoord(X3DProtoInstance val)
          Set the texCoord field.
 void setTexCoord(X3DTextureCoordinateNode val)
          Set the texCoord field.
 
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
 

Method Detail

getNumAttrib

int getNumAttrib()
Return the number of MFNode items in the attrib field.

Returns:
the number of MFNode items in the attrib field.

getAttrib

void getAttrib(X3DNode[] val)
Return the attrib value in the argument X3DNode[]

Parameters:
val - The X3DNode[] to initialize.

setAttrib

void setAttrib(X3DNode[] val)
Set the attrib field.

Parameters:
val - The X3DNode[] to set.

getFogCoord

X3DNode getFogCoord()
Return the fogCoord X3DNode value.

Returns:
The fogCoord X3DNode value.

setFogCoord

void setFogCoord(X3DNode val)
Set the fogCoord field.

Parameters:
val - The X3DNode to set.

getCoord

X3DNode getCoord()
Return the coord X3DNode value.

Returns:
The coord X3DNode value.

setCoord

void setCoord(X3DCoordinateNode val)
Set the coord field.

Parameters:
val - The X3DCoordinateNode to set.

setCoord

void setCoord(X3DProtoInstance val)
Set the coord field.

Parameters:
val - The X3DProtoInstance to set.

getColor

X3DNode getColor()
Return the color X3DNode value.

Returns:
The color X3DNode value.

setColor

void setColor(X3DColorNode val)
Set the color field.

Parameters:
val - The X3DColorNode to set.

setColor

void setColor(X3DProtoInstance val)
Set the color field.

Parameters:
val - The X3DProtoInstance to set.

getNormal

X3DNode getNormal()
Return the normal X3DNode value.

Returns:
The normal X3DNode value.

setNormal

void setNormal(X3DNormalNode val)
Set the normal field.

Parameters:
val - The X3DNormalNode to set.

setNormal

void setNormal(X3DProtoInstance val)
Set the normal field.

Parameters:
val - The X3DProtoInstance to set.

getTexCoord

X3DNode getTexCoord()
Return the texCoord X3DNode value.

Returns:
The texCoord X3DNode value.

setTexCoord

void setTexCoord(X3DTextureCoordinateNode val)
Set the texCoord field.

Parameters:
val - The X3DTextureCoordinateNode to set.

setTexCoord

void setTexCoord(X3DProtoInstance val)
Set the texCoord field.

Parameters:
val - The X3DProtoInstance to set.

getSolid

boolean getSolid()
Return the solid boolean value.

Returns:
The solid boolean value.

setSolid

void setSolid(boolean val)
Set the solid field.

Parameters:
val - The boolean to set.

getCcw

boolean getCcw()
Return the ccw boolean value.

Returns:
The ccw boolean value.

setCcw

void setCcw(boolean val)
Set the ccw field.

Parameters:
val - The boolean to set.

getColorPerVertex

boolean getColorPerVertex()
Return the colorPerVertex boolean value.

Returns:
The colorPerVertex boolean value.

setColorPerVertex

void setColorPerVertex(boolean val)
Set the colorPerVertex field.

Parameters:
val - The boolean to set.

getNormalPerVertex

boolean getNormalPerVertex()
Return the normalPerVertex boolean value.

Returns:
The normalPerVertex boolean value.

setNormalPerVertex

void setNormalPerVertex(boolean val)
Set the normalPerVertex field.

Parameters:
val - The boolean to set.

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium