#include <lib_scene_color_converter.h>
Class to convert color spaces in and between scenes.
Public Types | |
enum class | CONVERSION_FLAGS { NONE , ADD_UNDO } |
Public Member Functions | |
enum SceneColorConverter::CONVERSION_FLAGS | MAXON_ENUM_FLAGS_CLASS (CONVERSION_FLAGS) |
maxon::Result< void > | Init (BaseDocument *doc, const maxon::CString &inputColorSpaceLowName, const maxon::CString &inputColorSpaceHighName, const maxon::CString &renderColorSpaceName, CONVERSION_FLAGS flags=CONVERSION_FLAGS::ADD_UNDO) |
maxon::Result< Bool > | ConvertObject (BaseDocument *doc, BaseList2D *op, maxon::HashSet< BaseList2D * > &procesedObjects) |
maxon::Result< Bool > | ConvertObjects (BaseDocument *doc, maxon::Block< BaseList2D * > objects, maxon::HashSet< BaseList2D * > &procesedObjects) |
Private Member Functions | |
SceneColorConverter () | |
~SceneColorConverter () | |
Alloc/Free | |
static SceneColorConverter * | Alloc () |
static void | Free (SceneColorConverter *&conv) |
|
strong |
|
private |
|
private |
enum SceneColorConverter::CONVERSION_FLAGS MAXON_ENUM_FLAGS_CLASS | ( | CONVERSION_FLAGS | ) |
|
static |
|
static |
maxon::Result<void> Init | ( | BaseDocument * | doc, |
const maxon::CString & | inputColorSpaceLowName, | ||
const maxon::CString & | inputColorSpaceHighName, | ||
const maxon::CString & | renderColorSpaceName, | ||
CONVERSION_FLAGS | flags = CONVERSION_FLAGS::ADD_UNDO |
||
) |
maxon::Result<Bool> ConvertObject | ( | BaseDocument * | doc, |
BaseList2D * | op, | ||
maxon::HashSet< BaseList2D * > & | procesedObjects | ||
) |
maxon::Result<Bool> ConvertObjects | ( | BaseDocument * | doc, |
maxon::Block< BaseList2D * > | objects, | ||
maxon::HashSet< BaseList2D * > & | procesedObjects | ||
) |