Colormapping (lx-colormapping.hpp)
From The Foundry MODO SDK wiki
(Redirected from LXu COLORMAPPINGSERVICE (index))
There are security restrictions on this page
Contents
- 1 ColorMapping
- 1.1 Defining Entries
- 1.1.1 (1) SDK: LXu_COLORMAPPING, etc. defines
- 1.1.2 (2) SDK: ColorMapping::Setup
- 1.1.3 (3) SDK: ColorMapping::ToLinear
- 1.1.4 (4) SDK: ColorMapping::FromLinear
- 1.1.5 (5) SDK: ColorMapping::ToLinearFast
- 1.1.6 (6) SDK: ColorMapping::FromLinearFast
- 1.1.7 (7) SDK: ColorMapping::GetLUTImage
- 1.1.8 (8) SDK: ColorMapping::GetShaderSource
- 1.1.9 (9) SDK: ColorMapping::GetName
- 1.1.10 (10) PY: empty ColorMapping user class
- 1.1 Defining Entries
- 2 ILxColorMappingService
- 2.1 (11) SDK: LXu_COLORMAPPINGSERVICE, etc. defines
- 2.2 (12) SDK: ColorMappingService::MakeColorMapping
- 2.3 (13) SDK: ColorMappingService::ConfigCount
- 2.4 (14) SDK: ColorMappingService::ConfigName
- 2.5 (15) SDK: ColorMappingService::ConfigFullPath
- 2.6 (16) SDK: ColorMappingService::RegisterColorspaceForConfig
- 2.7 (17) SDK: ColorMappingService::GetDisplayColorMapping
- 2.8 (18) SDK: ColorMappingService::GetNumericColorMapping
- 2.9 (19) SDK: empty ColorMappingService User Class
- 2.10 (20) PY: empty Service.ColorMapping user class
ColorMapping
This module provides interfaces for handling color conversion and selecting color profiles.
Defining Entries
ColorMapping, specifies an object used for color conversion between linear and a particular colorspace.
(1) SDK: LXu_COLORMAPPING, etc. defines
#define LXu_COLORMAPPING "40D65C4F-D394-40E2-A71A-B174E971F462" #define LXa_COLORMAPPING "colormapping" #define CMS_GPU_LUT3D_EDGE_SIZE 32
(2) SDK: ColorMapping::Setup
LXxMETHOD( LxResult, Setup) ( LXtObjectID self, int toLinear);
(3) SDK: ColorMapping::ToLinear
LXxMETHOD( LxResult, ToLinear) ( LXtObjectID self, const LXtFVector sourceValues, LXtFVector linearValues, unsigned int length);
(4) SDK: ColorMapping::FromLinear
LXxMETHOD( LxResult, FromLinear) ( LXtObjectID self, const LXtFVector linearValues, LXtFVector targetValues, unsigned int length);
(5) SDK: ColorMapping::ToLinearFast
LXxMETHOD( LxResult, ToLinearFast) ( LXtObjectID self, float* buf, unsigned int length);
(6) SDK: ColorMapping::FromLinearFast
LXxMETHOD( LxResult, FromLinearFast) ( LXtObjectID self, float* buf, unsigned int length);
(7) SDK: ColorMapping::GetLUTImage
LXxMETHOD( LxResult, GetLUTImage) ( LXtObjectID self, float **ptr);
(8) SDK: ColorMapping::GetShaderSource
LXxMETHOD( LxResult, GetShaderSource) ( LXtObjectID self, char **ptr);
(9) SDK: ColorMapping::GetName
LXxMETHOD( const char*, GetName) ( LXtObjectID self);
Empty ColorMapping Python user class.
(10) PY: empty ColorMapping user class
pass
ILxColorMappingService
The color mapping service allows color mapping items to be enumerated and created.
(11) SDK: LXu_COLORMAPPINGSERVICE, etc. defines
#define LXu_COLORMAPPINGSERVICE "c3e44fbc-45c6-47b5-aaee-f0cc002dd474" #define LXa_COLORMAPPINGSERVICE "colormappingservice" // don't need export or local for services, as it's done automatically
(12) SDK: ColorMappingService::MakeColorMapping
LXxMETHOD( LxResult, MakeColorMapping) ( LXtObjectID self, const char *colorspaceName, int toLinear, void **ppvObj);
(13) SDK: ColorMappingService::ConfigCount
LXxMETHOD( int, ConfigCount) ( LXtObjectID self);
(14) SDK: ColorMappingService::ConfigName
LXxMETHOD( LxResult, ConfigName) ( LXtObjectID self, int index, const char **configName);
(15) SDK: ColorMappingService::ConfigFullPath
LXxMETHOD( LxResult, ConfigFullPath) ( LXtObjectID self, int index, const char **configPath);
(16) SDK: ColorMappingService::RegisterColorspaceForConfig
LXxMETHOD( LxResult, RegisterColorspaceForConfig) ( LXtObjectID self, const char *configName, const char *colorspaceName);
Get the color mapping used for displaying colors in the interface.
(17) SDK: ColorMappingService::GetDisplayColorMapping
LXxMETHOD( LxResult, GetDisplayColorMapping) ( LXtObjectID self, void **ppvObj);
Get the color mapping used for numeric values in the interface.
(18) SDK: ColorMappingService::GetNumericColorMapping
LXxMETHOD( LxResult, GetNumericColorMapping) ( LXtObjectID self, void **ppvObj);
Empty ColorMapping service user classes.
(19) SDK: empty ColorMappingService User Class
(20) PY: empty Service.ColorMapping user class
pass