Class ObjConstants


  • public final class ObjConstants
    extends java.lang.Object
    Class containing constants for use with OBJ files.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static char COMMENT_CHAR
      Character used to indicate the start of a comment line.
      static java.nio.charset.Charset DEFAULT_CHARSET
      Default OBJ charset.
      static java.lang.String FACE_KEYWORD
      Keyword used to indicate a face definition line.
      static char FACE_VERTEX_ATTRIBUTE_SEP_CHAR
      Character used to separate face vertex attribute indices.
      static java.lang.String GROUP_KEYWORD
      Keyword used to indicate a geometry group.
      static char LINE_CONTINUATION_CHAR
      Character placed before new line sequences to indicate a line continuation.
      static java.lang.String MATERIAL_LIBRARY_KEYWORD
      Keyword used to reference a material library file.
      static java.lang.String OBJECT_KEYWORD
      Keyword used to associate a name with the following geometry.
      static java.lang.String SMOOTHING_GROUP_KEYWORD
      Keyword used to indicate a geometry group.
      static java.lang.String TEXTURE_COORDINATE_KEYWORD
      Keyword used to indicate a texture coordinate definition line.
      static java.lang.String USE_MATERIAL_KEYWORD
      Keyword used to apply a named material to subsequent geometry.
      static java.lang.String VERTEX_KEYWORD
      Keyword used to indicate a vertex definition line.
      static java.lang.String VERTEX_NORMAL_KEYWORD
      Keyword used to indicate a vertex normal definition line.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ObjConstants()
      Utility class; no instantiation.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEFAULT_CHARSET

        public static final java.nio.charset.Charset DEFAULT_CHARSET
        Default OBJ charset.
      • COMMENT_CHAR

        public static final char COMMENT_CHAR
        Character used to indicate the start of a comment line.
        See Also:
        Constant Field Values
      • LINE_CONTINUATION_CHAR

        public static final char LINE_CONTINUATION_CHAR
        Character placed before new line sequences to indicate a line continuation.
        See Also:
        Constant Field Values
      • VERTEX_KEYWORD

        public static final java.lang.String VERTEX_KEYWORD
        Keyword used to indicate a vertex definition line.
        See Also:
        Constant Field Values
      • VERTEX_NORMAL_KEYWORD

        public static final java.lang.String VERTEX_NORMAL_KEYWORD
        Keyword used to indicate a vertex normal definition line.
        See Also:
        Constant Field Values
      • TEXTURE_COORDINATE_KEYWORD

        public static final java.lang.String TEXTURE_COORDINATE_KEYWORD
        Keyword used to indicate a texture coordinate definition line.
        See Also:
        Constant Field Values
      • FACE_KEYWORD

        public static final java.lang.String FACE_KEYWORD
        Keyword used to indicate a face definition line.
        See Also:
        Constant Field Values
      • FACE_VERTEX_ATTRIBUTE_SEP_CHAR

        public static final char FACE_VERTEX_ATTRIBUTE_SEP_CHAR
        Character used to separate face vertex attribute indices.
        See Also:
        Constant Field Values
      • GROUP_KEYWORD

        public static final java.lang.String GROUP_KEYWORD
        Keyword used to indicate a geometry group.
        See Also:
        Constant Field Values
      • SMOOTHING_GROUP_KEYWORD

        public static final java.lang.String SMOOTHING_GROUP_KEYWORD
        Keyword used to indicate a geometry group.
        See Also:
        Constant Field Values
      • OBJECT_KEYWORD

        public static final java.lang.String OBJECT_KEYWORD
        Keyword used to associate a name with the following geometry.
        See Also:
        Constant Field Values
      • MATERIAL_LIBRARY_KEYWORD

        public static final java.lang.String MATERIAL_LIBRARY_KEYWORD
        Keyword used to reference a material library file.
        See Also:
        Constant Field Values
      • USE_MATERIAL_KEYWORD

        public static final java.lang.String USE_MATERIAL_KEYWORD
        Keyword used to apply a named material to subsequent geometry.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ObjConstants

        private ObjConstants()
        Utility class; no instantiation.