Class EXRHeader.Buffer

    • Constructor Detail

      • Buffer

        public Buffer​(java.nio.ByteBuffer container)
        Creates a new EXRHeader.Buffer instance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by EXRHeader.SIZEOF, and its mark will be undefined.

        The created buffer instance holds a strong reference to the container object.

      • Buffer

        public Buffer​(long address,
                      int cap)
    • Method Detail

      • pixel_aspect_ratio

        public float pixel_aspect_ratio()
        Returns the value of the pixel_aspect_ratio field.
      • line_order

        public int line_order()
        Returns the value of the line_order field.
      • data_window

        public java.nio.IntBuffer data_window()
        Returns a IntBuffer view of the data_window field.
      • data_window

        public int data_window​(int index)
        Returns the value at the specified index of the data_window field.
      • display_window

        public java.nio.IntBuffer display_window()
        Returns a IntBuffer view of the display_window field.
      • display_window

        public int display_window​(int index)
        Returns the value at the specified index of the display_window field.
      • screen_window_center

        public java.nio.FloatBuffer screen_window_center()
        Returns a FloatBuffer view of the screen_window_center field.
      • screen_window_center

        public float screen_window_center​(int index)
        Returns the value at the specified index of the screen_window_center field.
      • screen_window_width

        public float screen_window_width()
        Returns the value of the screen_window_width field.
      • chunk_count

        public int chunk_count()
        Returns the value of the chunk_count field.
      • tiled

        public boolean tiled()
        Returns the value of the tiled field.
      • tile_size_x

        public int tile_size_x()
        Returns the value of the tile_size_x field.
      • tile_size_y

        public int tile_size_y()
        Returns the value of the tile_size_y field.
      • tile_level_mode

        public int tile_level_mode()
        Returns the value of the tile_level_mode field.
      • tile_rounding_mode

        public int tile_rounding_mode()
        Returns the value of the tile_rounding_mode field.
      • long_name

        public boolean long_name()
        Returns the value of the long_name field.
      • non_image

        public boolean non_image()
        Returns the value of the non_image field.
      • multipart

        public boolean multipart()
        Returns the value of the multipart field.
      • header_len

        public int header_len()
        Returns the value of the header_len field.
      • num_custom_attributes

        public int num_custom_attributes()
        Returns the value of the num_custom_attributes field.
      • pixel_types

        public java.nio.IntBuffer pixel_types()
        Returns a IntBuffer view of the data pointed to by the pixel_types field.
      • num_channels

        public int num_channels()
        Returns the value of the num_channels field.
      • compression_type

        public int compression_type()
        Returns the value of the compression_type field.
      • requested_pixel_types

        public java.nio.IntBuffer requested_pixel_types()
        Returns a IntBuffer view of the data pointed to by the requested_pixel_types field.
      • pixel_aspect_ratio

        public EXRHeader.Buffer pixel_aspect_ratio​(float value)
        Sets the specified value to the pixel_aspect_ratio field.
      • line_order

        public EXRHeader.Buffer line_order​(int value)
        Sets the specified value to the line_order field.
      • data_window

        public EXRHeader.Buffer data_window​(java.nio.IntBuffer value)
        Copies the specified IntBuffer to the data_window field.
      • data_window

        public EXRHeader.Buffer data_window​(int index,
                                            int value)
        Sets the specified value at the specified index of the data_window field.
      • display_window

        public EXRHeader.Buffer display_window​(java.nio.IntBuffer value)
        Copies the specified IntBuffer to the display_window field.
      • display_window

        public EXRHeader.Buffer display_window​(int index,
                                               int value)
        Sets the specified value at the specified index of the display_window field.
      • screen_window_center

        public EXRHeader.Buffer screen_window_center​(java.nio.FloatBuffer value)
        Copies the specified FloatBuffer to the screen_window_center field.
      • screen_window_center

        public EXRHeader.Buffer screen_window_center​(int index,
                                                     float value)
        Sets the specified value at the specified index of the screen_window_center field.
      • screen_window_width

        public EXRHeader.Buffer screen_window_width​(float value)
        Sets the specified value to the screen_window_width field.
      • chunk_count

        public EXRHeader.Buffer chunk_count​(int value)
        Sets the specified value to the chunk_count field.
      • tiled

        public EXRHeader.Buffer tiled​(boolean value)
        Sets the specified value to the tiled field.
      • tile_size_x

        public EXRHeader.Buffer tile_size_x​(int value)
        Sets the specified value to the tile_size_x field.
      • tile_size_y

        public EXRHeader.Buffer tile_size_y​(int value)
        Sets the specified value to the tile_size_y field.
      • tile_level_mode

        public EXRHeader.Buffer tile_level_mode​(int value)
        Sets the specified value to the tile_level_mode field.
      • tile_rounding_mode

        public EXRHeader.Buffer tile_rounding_mode​(int value)
        Sets the specified value to the tile_rounding_mode field.
      • long_name

        public EXRHeader.Buffer long_name​(boolean value)
        Sets the specified value to the long_name field.
      • non_image

        public EXRHeader.Buffer non_image​(boolean value)
        Sets the specified value to the non_image field.
      • multipart

        public EXRHeader.Buffer multipart​(boolean value)
        Sets the specified value to the multipart field.
      • header_len

        public EXRHeader.Buffer header_len​(int value)
        Sets the specified value to the header_len field.
      • num_custom_attributes

        public EXRHeader.Buffer num_custom_attributes​(int value)
        Sets the specified value to the num_custom_attributes field.
      • pixel_types

        public EXRHeader.Buffer pixel_types​(java.nio.IntBuffer value)
        Sets the address of the specified IntBuffer to the pixel_types field.
      • num_channels

        public EXRHeader.Buffer num_channels​(int value)
        Sets the specified value to the num_channels field.
      • compression_type

        public EXRHeader.Buffer compression_type​(int value)
        Sets the specified value to the compression_type field.
      • requested_pixel_types

        public EXRHeader.Buffer requested_pixel_types​(java.nio.IntBuffer value)
        Sets the address of the specified IntBuffer to the requested_pixel_types field.