org.xith3d.loaders.models.impl.cal3d
Class Cal3dSubmesh

java.lang.Object
  extended by org.xith3d.scenegraph.SceneGraphObject
      extended by org.xith3d.scenegraph.Node
          extended by org.xith3d.scenegraph.Leaf
              extended by org.xith3d.scenegraph.Shape3D
                  extended by org.xith3d.loaders.models.impl.cal3d.Cal3dSubmesh
All Implemented Interfaces:
org.jagatoo.datatypes.NamableObject, org.jagatoo.datatypes.NamedObject, org.openmali.spatial.SpatialNode

public class Cal3dSubmesh
extends Shape3D


Field Summary
protected  org.jagatoo.loaders.models.cal3d.core.CalSubmesh subMesh
           
protected  IndexedTriangleArray ta
           
 
Fields inherited from class org.xith3d.scenegraph.Node
bounds, boundsAutoCompute, boundsDirty, globalIgnoreBounds, instanceBoundsTypeHint, transformGroup, untransformedBounds
 
Fields inherited from class org.xith3d.scenegraph.SceneGraphObject
XITH3D_USERDATAKEY_OLDUSERDATA
 
Constructor Summary
Cal3dSubmesh()
          Creates a new instance of Cal3dSubmesh
Cal3dSubmesh(java.lang.String name)
           
Cal3dSubmesh(java.lang.String name, org.jagatoo.loaders.models.cal3d.core.CalSubmesh submesh)
           
 
Method Summary
 void doUpdate(org.jagatoo.loaders.models.cal3d.core.CalModel calModel)
           
 Shape3D getShape3D(int flags)
           
 org.jagatoo.loaders.models.cal3d.core.CalSubmesh getSubMesh()
           
 void setSubMesh(org.jagatoo.loaders.models.cal3d.core.CalSubmesh subMesh)
           
 
Methods inherited from class org.xith3d.scenegraph.Shape3D
absorbDetails, copy, freeOpenGLResources, getAppearance, getAppearance, getCustomComparable, getGeometry, isBumpMappingEnabled, isShadowReceiver, isVisible, newAppearance, newInstance, setAppearance, setBounds, setBumpMappingEnabled, setBumpMappingEnabled, setCustomComparable, setGeometry, setIsShadowReceiver, setModListener, setVisible, sharedCopy, sharedCopy, traverse, updateBounds, updateBoundsCheap, updateWorldTransform, verifyAppChange
 
Methods inherited from class org.xith3d.scenegraph.Leaf
dump, getPickHost, setPickHost
 
Methods inherited from class org.xith3d.scenegraph.Node
cloneNode, detach, duplicateNode, freeOpenGLResources, getBounds, getBoundsAutoCompute, getBoundsType, getBoundsTypeHint, getDefaultPickable, getIndentString, getInheritedNodeAttributes, getModListener, getOrderedChild, getOrderedState, getParent, getRoot, getShadowAttachment, getShowBounds, getTransformGroup, getTreeCell, getWorldBounds, getWorldTransform, getWorldTransform, isBillboard, isIgnoreBounds, isOccluder, isPickable, isRenderable, isUpdatableNode, mergeInheritedClipper, mergeInheritedNodes, mergeInheritedScissorRect, popGlobalIgnoreBounds, printBounds, pushGlobalIgnoreBounds, setBoundsAutoCompute, setBoundsDirty, setBoundsDirtyUpward, setBoundsTypeHint, setDefaultPickable, setGlobalIgnoreBounds, setIgnoreBounds, setIsOccluder, setOrderedChild, setParent, setPickable, setPickableRecursive, setPickableRecursive, setRenderable, setShadowAttachment, setShowBounds, setTransformGroup, setTreeCell, traverse, unmergeInheritedFog, unmergeInheritedLight, unmergeInheritedNodes, updateOrderedChild, updateTransformGroup
 
Methods inherited from class org.xith3d.scenegraph.SceneGraphObject
getName, getUserData, getUserData, getUserDataMap, isLive, setLive, setName, setUserData, setUserData, setUserDataRecursive, setUserDataRecursive, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ta

protected IndexedTriangleArray ta

subMesh

protected org.jagatoo.loaders.models.cal3d.core.CalSubmesh subMesh
Constructor Detail

Cal3dSubmesh

public Cal3dSubmesh()
Creates a new instance of Cal3dSubmesh


Cal3dSubmesh

public Cal3dSubmesh(java.lang.String name)

Cal3dSubmesh

public Cal3dSubmesh(java.lang.String name,
                    org.jagatoo.loaders.models.cal3d.core.CalSubmesh submesh)
Method Detail

getSubMesh

public org.jagatoo.loaders.models.cal3d.core.CalSubmesh getSubMesh()

setSubMesh

public void setSubMesh(org.jagatoo.loaders.models.cal3d.core.CalSubmesh subMesh)

doUpdate

public void doUpdate(org.jagatoo.loaders.models.cal3d.core.CalModel calModel)

getShape3D

public Shape3D getShape3D(int flags)
Returns:
a Shape3D representing the current state