CubeLut
Inheritance: java.lang.Object
public final class CubeLut
Represents a 3\u2011dimensional lookup table (LUT) loaded from a .cube file.
Methods
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| stream | java.io.InputStream | The 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:
| Parameter | Type | Description |
|---|---|---|
| fileName | java.lang.String | The 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.