Package de.javagl.ply
Interface MutablePlySource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddElement(int elementTypeIndex, Element element)Add the givenElementto the PLY datavoidaddElement(String elementName, Element element)Add the givenElementto the PLY datavoidaddElements(int elementTypeIndex, Collection<? extends Element> elements)Add the givenElementobjects to the PLY datavoidaddElements(String elementName, Collection<? extends Element> elements)Add the givenElementobjects to the PLY data-
Methods inherited from interface de.javagl.ply.PlySource
getDescriptor, getElementList, getElementList
-
-
-
-
Method Detail
-
addElement
void addElement(String elementName, Element element)
Add the givenElementto the PLY data- Parameters:
elementName- The element nameelement- TheElement
-
addElement
void addElement(int elementTypeIndex, Element element)Add the givenElementto the PLY data- Parameters:
elementTypeIndex- The element type indexelement- TheElement- Throws:
IndexOutOfBoundsException- If the given index is negative or not smaller than the number of element types
-
addElements
void addElements(String elementName, Collection<? extends Element> elements)
Add the givenElementobjects to the PLY data- Parameters:
elementName- The element nameelements- TheElementobjects
-
addElements
void addElements(int elementTypeIndex, Collection<? extends Element> elements)Add the givenElementobjects to the PLY data- Parameters:
elementTypeIndex- The element type indexelements- TheElementobjects- Throws:
IndexOutOfBoundsException- If the given index is negative or not smaller than the number of element types
-
-