org.jcae.viewer3d.fe.amibe
Class AmibeDomain
java.lang.Object
org.jcae.viewer3d.fe.FEDomainAdaptor
org.jcae.viewer3d.fe.amibe.AmibeDomain
- All Implemented Interfaces:
- ColoredDomain, Domain, FEDomain, MarkDomain
public class AmibeDomain
- extends FEDomainAdaptor
A FEDomain which get data from the XML/binaries file of the amibe mesher
|
Constructor Summary |
AmibeDomain(java.io.File directory,
org.w3c.dom.Document document,
int id,
java.awt.Color color)
|
| Methods inherited from class org.jcae.viewer3d.fe.FEDomainAdaptor |
getBeam2, getBeam3, getHexa8, getMarks, getMarksTypes, getNumberOfBeam2, getNumberOfBeam3, getNumberOfHexa8, getNumberOfQuad4, getNumberOfQuad8, getNumberOfTetra4, getNumberOfTria6, getNumberOfVertices, getQuad4, getQuad8, getTetra4, getTria6, getVertices |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AmibeDomain
public AmibeDomain(java.io.File directory,
org.w3c.dom.Document document,
int id,
java.awt.Color color)
throws java.io.IOException
- Parameters:
document - id - color - This parameter is only used to compute the colors of groups
- Throws:
java.io.IOException
getNodes
public float[] getNodes()
- Description copied from interface:
FEDomain
- Node coordinates
- Specified by:
getNodes in interface FEDomain- Overrides:
getNodes in class FEDomainAdaptor
getNumberOfNodes
public int getNumberOfNodes()
- Description copied from interface:
FEDomain
- Return the number of nodes in the mesh
- Specified by:
getNumberOfNodes in interface FEDomain- Overrides:
getNumberOfNodes in class FEDomainAdaptor
getNumberOfTria3
public int getNumberOfTria3()
- Specified by:
getNumberOfTria3 in interface FEDomain- Overrides:
getNumberOfTria3 in class FEDomainAdaptor
getTria3
public int[] getTria3()
- Specified by:
getTria3 in interface FEDomain- Overrides:
getTria3 in class FEDomainAdaptor
getXmlGroup
public static org.w3c.dom.Element getXmlGroup(org.w3c.dom.Element xmlGroups,
int groupID)
- Parameters:
the - xml element of DOM tree corresponding to the tag "groups".a - group.
- Returns:
- the xml element of DOM tree corresponding to the group.
clean
public static void clean(java.nio.MappedByteBuffer buffer)
- Workaround for Bug ID4724038.
see http://bugs.sun.com/bugdatabase/view_bug.do;:YfiG?bug_id=4724038
getColor
public java.awt.Color getColor()
- Specified by:
getColor in interface ColoredDomain- Overrides:
getColor in class FEDomainAdaptor
getID
public int getID()
- Specified by:
getID in interface FEDomain- Overrides:
getID in class FEDomainAdaptor