Interface SMFHeaderType

  • All Known Implementing Classes:
    SMFHeader

    @Immutable
    public interface SMFHeaderType
    Information about an SMF file.
    • Method Detail

      • triangles

        @Default
        @Parameter
        default SMFTriangles triangles()
        Returns:
        The triangle information for the file
      • vertexCount

        @Parameter
        @Default
        default long vertexCount()
        Returns:
        The number of vertices in the file
      • schemaIdentifier

        @Parameter
        java.util.Optional<SMFSchemaIdentifier> schemaIdentifier()
        Returns:
        The schema ID in the file
      • coordinateSystem

        @Default
        @Parameter
        default SMFCoordinateSystem coordinateSystem()
        Returns:
        The coordinate system of the mesh data
      • dataByteOrder

        @Default
        @Parameter
        default java.nio.ByteOrder dataByteOrder()
        Returns:
        The endianness of the mesh data
      • attributesInOrder

        @Parameter
        java.util.List<SMFAttribute> attributesInOrder()
        Returns:
        The attributes in the order that they appeared in the file
      • attributesByName

        @Derived
        default java.util.SortedMap<SMFAttributeName,​SMFAttribute> attributesByName()
        Returns:
        The attributes by name
      • checkPreconditions

        @Check
        default void checkPreconditions()
        Check preconditions for the type.