Package de.javagl.ply

Interface PlySource

  • All Known Subinterfaces:
    MutablePlySource
    All Known Implementing Classes:
    ObjectPlySource

    public interface PlySource
    Interface for classes that provide PLY data
    • Method Detail

      • getElementList

        List<Element> getElementList​(String elementName)
        Returns an unmodifiable list of Element objects for the elements with the given name, or null if there are no elements with the given name.
        Parameters:
        elementName - The element name
        Returns:
        The Element list
      • getElementList

        List<Element> getElementList​(int elementTypeIndex)
        Returns an unmodifiable list of Element objects for the specified element type index
        Parameters:
        elementTypeIndex - The element type index
        Returns:
        The Element list
        Throws:
        IndexOutOfBoundsException - If the given index is negative or not smaller than the number of element types