org.jcae.viewer3d.fd
Class FDSelection

java.lang.Object
  extended by org.jcae.viewer3d.fd.FDSelection

public class FDSelection
extends java.lang.Object

This is a selection of finit elements in a domain. This can be a compressed selection or a selection of elementary cells.


Constructor Summary
FDSelection(int domainID)
           
 
Method Summary
 int getDomainID()
           
 java.util.Map<java.lang.Integer,int[]> getMarks()
          Return a map matching mark type to list of mark id.
 int[] getSlotCells(byte type)
           
 int[] getSlots(byte type)
           
 int[] getSolids()
           
 int[] getXPlates()
          Return the array of selected X plate ID The first X plate returned by the FDDomain X plate iterator get the 0 ID and so on.
 int[] getXWireCells()
           
 int[] getXWires()
          Return the array of selected X wire ID The first X plate returned by the FDDomain X wire iterator get the 0 ID and so on.
 int[] getYPlates()
          Return the array of selected Y plate ID The first Y plate returned by the FDDomain Y plate iterator get the 0 ID and so on.
 int[] getYWireCells()
           
 int[] getYWires()
          Return the array of selected Y wire ID The first Y plate returned by the FDDomain Y wire iterator get the 0 ID and so on.
 int[] getZPlates()
          Return the array of selected Z plate ID The first Z plate returned by the FDDomain Z plate iterator get the 0 ID and so on.
 int[] getZWireCells()
           
 int[] getZWires()
          Return the array of selected Z wire ID The first Z plate returned by the FDDomain Z wire iterator get the 0 ID and so on.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FDSelection

public FDSelection(int domainID)
Method Detail

getDomainID

public int getDomainID()

getXPlates

public int[] getXPlates()
Return the array of selected X plate ID The first X plate returned by the FDDomain X plate iterator get the 0 ID and so on.


getYPlates

public int[] getYPlates()
Return the array of selected Y plate ID The first Y plate returned by the FDDomain Y plate iterator get the 0 ID and so on.


getZPlates

public int[] getZPlates()
Return the array of selected Z plate ID The first Z plate returned by the FDDomain Z plate iterator get the 0 ID and so on.


getXWires

public int[] getXWires()
Return the array of selected X wire ID The first X plate returned by the FDDomain X wire iterator get the 0 ID and so on.


getYWires

public int[] getYWires()
Return the array of selected Y wire ID The first Y plate returned by the FDDomain Y wire iterator get the 0 ID and so on.


getZWires

public int[] getZWires()
Return the array of selected Z wire ID The first Z plate returned by the FDDomain Z wire iterator get the 0 ID and so on.


getSlots

public int[] getSlots(byte type)
Parameters:
FDDomain.XY_SLOT, - FDDomain.XZ_SLOT...
Returns:

getSolids

public int[] getSolids()

getMarks

public java.util.Map<java.lang.Integer,int[]> getMarks()
Return a map matching mark type to list of mark id. The id of a mark is its order in the array returned by MarkDomain.getMarks

Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getSlotCells

public int[] getSlotCells(byte type)

getXWireCells

public int[] getXWireCells()

getYWireCells

public int[] getYWireCells()

getZWireCells

public int[] getZWireCells()