org.jcae.viewer3d.fe
Class FEDomainAdaptor

java.lang.Object
  extended by org.jcae.viewer3d.fe.FEDomainAdaptor
All Implemented Interfaces:
ColoredDomain, Domain, FEDomain, MarkDomain
Direct Known Subclasses:
AmibeBeanDomain, AmibeDomain, UNVDomain

public class FEDomainAdaptor
extends java.lang.Object
implements FEDomain

A consistant FEDomain that contain no elements. This class aims to be used as helper to build real FEDomain.


Constructor Summary
FEDomainAdaptor()
           
 
Method Summary
 int[] getBeam2()
           
 int[] getBeam3()
           
 java.awt.Color getColor()
           
 int[] getHexa8()
           
 int getID()
           
 float[] getMarks(java.lang.Object type)
          Return a {x0, y0, z0, x1, y1, z1...} array for the given mark type.
 java.lang.Object[] getMarksTypes()
          Return objects describing each type of marks in the domain. 4 cases are handeled: The object is a PointAttribute.
 float[] getNodes()
          Node coordinates
 int getNumberOfBeam2()
           
 int getNumberOfBeam3()
           
 int getNumberOfHexa8()
           
 int getNumberOfNodes()
          Return the number of nodes in the mesh
 int getNumberOfQuad4()
           
 int getNumberOfQuad8()
           
 int getNumberOfTetra4()
           
 int getNumberOfTria3()
           
 int getNumberOfTria6()
           
 int getNumberOfVertices()
           
 int[] getQuad4()
           
 int[] getQuad8()
           
 int[] getTetra4()
           
 int[] getTria3()
           
 int[] getTria6()
           
 int[] getVertices()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FEDomainAdaptor

public FEDomainAdaptor()
Method Detail

getNumberOfNodes

public int getNumberOfNodes()
Description copied from interface: FEDomain
Return the number of nodes in the mesh

Specified by:
getNumberOfNodes in interface FEDomain

getNumberOfVertices

public int getNumberOfVertices()
Specified by:
getNumberOfVertices in interface FEDomain

getVertices

public int[] getVertices()
Specified by:
getVertices in interface FEDomain

getNumberOfBeam2

public int getNumberOfBeam2()
Specified by:
getNumberOfBeam2 in interface FEDomain

getNumberOfBeam3

public int getNumberOfBeam3()
Specified by:
getNumberOfBeam3 in interface FEDomain

getBeam3

public int[] getBeam3()
Specified by:
getBeam3 in interface FEDomain

getNumberOfTria3

public int getNumberOfTria3()
Specified by:
getNumberOfTria3 in interface FEDomain

getTria3

public int[] getTria3()
Specified by:
getTria3 in interface FEDomain

getNumberOfTria6

public int getNumberOfTria6()
Specified by:
getNumberOfTria6 in interface FEDomain

getTria6

public int[] getTria6()
Specified by:
getTria6 in interface FEDomain

getNumberOfQuad4

public int getNumberOfQuad4()
Specified by:
getNumberOfQuad4 in interface FEDomain

getNumberOfQuad8

public int getNumberOfQuad8()
Specified by:
getNumberOfQuad8 in interface FEDomain

getQuad8

public int[] getQuad8()
Specified by:
getQuad8 in interface FEDomain

getNumberOfTetra4

public int getNumberOfTetra4()
Specified by:
getNumberOfTetra4 in interface FEDomain

getTetra4

public int[] getTetra4()
Specified by:
getTetra4 in interface FEDomain

getNumberOfHexa8

public int getNumberOfHexa8()
Specified by:
getNumberOfHexa8 in interface FEDomain

getHexa8

public int[] getHexa8()
Specified by:
getHexa8 in interface FEDomain

getColor

public java.awt.Color getColor()
Specified by:
getColor in interface ColoredDomain

getMarksTypes

public java.lang.Object[] getMarksTypes()
Description copied from interface: MarkDomain
Return objects describing each type of marks in the domain. 4 cases are handeled:

Specified by:
getMarksTypes in interface MarkDomain
Returns:

getMarks

public float[] getMarks(java.lang.Object type)
Description copied from interface: MarkDomain
Return a {x0, y0, z0, x1, y1, z1...} array for the given mark type.

Specified by:
getMarks in interface MarkDomain
Returns:

getID

public int getID()
Specified by:
getID in interface FEDomain

getNodes

public float[] getNodes()
Description copied from interface: FEDomain
Node coordinates

Specified by:
getNodes in interface FEDomain

getBeam2

public int[] getBeam2()
Specified by:
getBeam2 in interface FEDomain

getQuad4

public int[] getQuad4()
Specified by:
getQuad4 in interface FEDomain