Xj3D 2.0 VRML/X3D Code API

org.web3d.x3d.sai
Interface X3DShapeNode

All Superinterfaces:
X3DBoundedObject, X3DChildNode, X3DNode
All Known Subinterfaces:
ParticleSystem, Shape

public interface X3DShapeNode
extends X3DChildNode, X3DBoundedObject

Defines the requirements of an X3DShapeNode abstract node type

Version:
$Revision: 1.5 $
Author:
Rex Melton

Method Summary
 X3DNode getAppearance()
          Return the appearance X3DNode value.
 X3DNode getGeometry()
          Return the geometry X3DNode value.
 void setAppearance(X3DAppearanceNode val)
          Set the appearance field.
 void setAppearance(X3DProtoInstance val)
          Set the appearance field.
 void setGeometry(X3DGeometryNode val)
          Set the geometry field.
 void setGeometry(X3DProtoInstance val)
          Set the geometry field.
 
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
 
Methods inherited from interface org.web3d.x3d.sai.X3DBoundedObject
getBboxCenter, getBboxSize, setBboxCenter, setBboxSize
 

Method Detail

getAppearance

X3DNode getAppearance()
Return the appearance X3DNode value.

Returns:
The appearance X3DNode value.

setAppearance

void setAppearance(X3DAppearanceNode val)
Set the appearance field.

Parameters:
val - The X3DAppearanceNode to set.

setAppearance

void setAppearance(X3DProtoInstance val)
Set the appearance field.

Parameters:
val - The X3DProtoInstance to set.

getGeometry

X3DNode getGeometry()
Return the geometry X3DNode value.

Returns:
The geometry X3DNode value.

setGeometry

void setGeometry(X3DGeometryNode val)
Set the geometry field.

Parameters:
val - The X3DGeometryNode to set.

setGeometry

void setGeometry(X3DProtoInstance val)
Set the geometry field.

Parameters:
val - The X3DProtoInstance to set.

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium