Package de.javagl.ply
Interface PlySource
-
- All Known Subinterfaces:
MutablePlySource
- All Known Implementing Classes:
ObjectPlySource
public interface PlySourceInterface for classes that provide PLY data
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescriptorgetDescriptor()Returns theDescriptorthat describes the structure of the data.List<Element>getElementList(int elementTypeIndex)Returns an unmodifiable list ofElementobjects for the specified element type indexList<Element>getElementList(String elementName)Returns an unmodifiable list ofElementobjects for the elements with the given name, ornullif there are no elements with the given name.
-
-
-
Method Detail
-
getDescriptor
Descriptor getDescriptor()
Returns theDescriptorthat describes the structure of the data.- Returns:
- The
Descriptor
-
getElementList
List<Element> getElementList(String elementName)
Returns an unmodifiable list ofElementobjects for the elements with the given name, ornullif there are no elements with the given name.- Parameters:
elementName- The element name- Returns:
- The
Elementlist
-
getElementList
List<Element> getElementList(int elementTypeIndex)
Returns an unmodifiable list ofElementobjects for the specified element type index- Parameters:
elementTypeIndex- The element type index- Returns:
- The
Elementlist - Throws:
IndexOutOfBoundsException- If the given index is negative or not smaller than the number of element types
-
-