Package mgui.io.foreign.mricro
Class MricroLutWriter
java.lang.Object
mgui.io.FileWriter
mgui.io.domestic.maps.DiscreteColourMapWriter
mgui.io.foreign.mricro.MricroLutWriter
- All Implemented Interfaces:
InterfaceIO
,IconObject
public class MricroLutWriter extends DiscreteColourMapWriter
Writes a discrete colour map to an MriCRO-compatible lookup table (LUT) file. If map is larger than
256 indices, it will be truncated.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
-
Field Summary
Fields inherited from class mgui.io.FileWriter
dataFile, dataURL, failure_message, options, success_message
-
Constructor Summary
Constructors Constructor Description MricroLutWriter()
MricroLutWriter(java.io.File file)
-
Method Summary
Modifier and Type Method Description boolean
writeMap(DiscreteColourMap map, boolean alpha)
Methods inherited from class mgui.io.domestic.maps.DiscreteColourMapWriter
getObjectIcon, getSupportedObjects, write, writeMap
Methods inherited from class mgui.io.FileWriter
getComplementIOType, getFailureMessage, getFile, getIOType, getLoaderComplement, getOptions, getProgressMessage, getSuccessMessage, getTitle, getURL, setFile, setOptions, setURL, toString, write, write
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
MricroLutWriter
public MricroLutWriter() -
MricroLutWriter
public MricroLutWriter(java.io.File file)
-
-
Method Details
-
writeMap
- Overrides:
writeMap
in classDiscreteColourMapWriter
-