Package de.javagl.ply
Interface ElementDescriptor
-
public interface ElementDescriptorA description of anElementof a PLY file
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Returns the name of the elementList<PropertyDescriptor>getPropertyDescriptors()Returns an unmodifiable list containing onePropertyDescriptorfor each property of this element.StringgetPropertyName(int propertyIndex)Returns the name of the specified propertyPlyTypegetPropertySizeType(int propertyIndex)Returns the size type of the specified property, ornullif the specified property is not a list property.PlyTypegetPropertyType(int propertyIndex)Returns the type of the specified property
-
-
-
Method Detail
-
getName
String getName()
Returns the name of the element- Returns:
- The name of the element
-
getPropertyName
String getPropertyName(int propertyIndex)
Returns the name of the specified property- Parameters:
propertyIndex- The property index- Returns:
- The name
- Throws:
IndexOutOfBoundsException- If the the property index is negative or not smaller than the number of properties
-
getPropertyType
PlyType getPropertyType(int propertyIndex)
Returns the type of the specified property- Parameters:
propertyIndex- The property index- Returns:
- The type
- Throws:
IndexOutOfBoundsException- If the the property index is negative or not smaller than the number of properties
-
getPropertySizeType
PlyType getPropertySizeType(int propertyIndex)
Returns the size type of the specified property, ornullif the specified property is not a list property.- Parameters:
propertyIndex- The property index- Returns:
- The name
- Throws:
IndexOutOfBoundsException- If the the property index is negative or not smaller than the number of properties
-
getPropertyDescriptors
List<PropertyDescriptor> getPropertyDescriptors()
Returns an unmodifiable list containing onePropertyDescriptorfor each property of this element.- Returns:
- The
PropertyDescriptors
-
-