Class ModelSet
- java.lang.Object
-
- gov.nih.mipav.view.renderer.J3D.model.structures.ModelSet
-
public class ModelSet extends java.lang.Object
Used in ModelSurfaceDecimator and ModelSurfaceTopology.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Object[]
m_atElement
DOCUMENT ME!private int
m_iCapacity
DOCUMENT ME!private int
m_iGrowBy
DOCUMENT ME!private int
m_iSize
DOCUMENT ME!
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(java.lang.Object kElement)
DOCUMENT ME!void
clear(int iCapacity, int iGrowBy)
DOCUMENT ME!boolean
exists(java.lang.Object kElement)
DOCUMENT ME!java.lang.Object
get(int i)
DOCUMENT ME!void
insertNoCheck(java.lang.Object kElement)
DOCUMENT ME!boolean
isEmpty()
DOCUMENT ME!boolean
remove(java.lang.Object kElement)
DOCUMENT ME!int
size()
DOCUMENT ME!
-
-
-
Constructor Detail
-
ModelSet
public ModelSet()
Creates a new ModelSet object.
-
ModelSet
public ModelSet(ModelSet kSet)
Creates a new ModelSet object.- Parameters:
kSet
- DOCUMENT ME!
-
ModelSet
public ModelSet(int iCapacity, int iGrowBy)
Creates a new ModelSet object.- Parameters:
iCapacity
- DOCUMENT ME!iGrowBy
- DOCUMENT ME!
-
-
Method Detail
-
add
public boolean add(java.lang.Object kElement)
DOCUMENT ME!- Parameters:
kElement
- DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
clear
public void clear(int iCapacity, int iGrowBy)
DOCUMENT ME!- Parameters:
iCapacity
- DOCUMENT ME!iGrowBy
- DOCUMENT ME!
-
exists
public boolean exists(java.lang.Object kElement)
DOCUMENT ME!- Parameters:
kElement
- DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
get
public java.lang.Object get(int i)
DOCUMENT ME!- Parameters:
i
- DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
insertNoCheck
public void insertNoCheck(java.lang.Object kElement)
DOCUMENT ME!- Parameters:
kElement
- DOCUMENT ME!
-
isEmpty
public boolean isEmpty()
DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
remove
public boolean remove(java.lang.Object kElement)
DOCUMENT ME!- Parameters:
kElement
- DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
size
public int size()
DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
-