Inheritance: java.lang.Object

public final class CubeLut

Represents a 3\u2011dimensional lookup table (LUT) loaded from a .cube file.

Methods

MethodDescription
load(InputStream stream)Loads a CubeLut from the provided java.io.InputStream.
load(String fileName)Loads a CubeLut from a file.
getTitle()Gets the title.
getSize()Gets the size.
getPointCount()Gets the point count.
toString()Returns a string that represents the current object.

load(InputStream stream)

public static CubeLut load(InputStream stream)

Loads a CubeLut from the provided java.io.InputStream.

Parameters:

ParameterTypeDescription
streamjava.io.InputStreamThe stream containing the LUT data.

Returns: CubeLut - A new instance of CubeLut.

load(String fileName)

public static CubeLut load(String fileName)

Loads a CubeLut from a file.

Parameters:

ParameterTypeDescription
fileNamejava.lang.StringThe path to the *.cube file.

Returns: CubeLut - A new instance of CubeLut.

getTitle()

public String getTitle()

Gets the title.

Value: The title.

Returns: java.lang.String - the title.

getSize()

public int getSize()

Gets the size.

Value: The size.

Returns: int - the size.

getPointCount()

public int getPointCount()

Gets the point count.

Value: The point count.

Returns: int - the point count.

toString()

public String toString()

Returns a string that represents the current object.

Returns: java.lang.String - A string that represents the current object.