#include <colour_management.h>
List of all members.
Static Public Member Functions |
| static int | PopCount (void *inst) |
| | PopCount callback for LightWave.
|
| static const char * | PopName (void *inst, int n) |
| | PopUpName name callback for LightWave.
|
Protected Member Functions |
| bool | _acquireGlobal () |
| virtual size_t | popCount () |
| | Actual worker function to be supplied by the deriving class.
|
| virtual const char * | popName (int n) |
| | Actual worker function to be supplied by the deriving class.
|
Protected Attributes |
| int | index |
Constructor & Destructor Documentation
Create a new manager that depends on a LWColorSpaceType defined by LW and optionally uses that setting as a default.
Default C'tor, creates a standalone colour manager.
Default C'tor.
Member Function Documentation
Check if the global is available.
| void lwpp::ColourManager::convertToColourSpace |
( |
float * |
from, |
|
|
float * |
to |
|
) |
| |
|
inline |
| void lwpp::ColourManager::convertToColourSpace |
( |
float * |
from | ) |
|
|
inline |
| float lwpp::ColourManager::convertToColourSpace |
( |
float |
from | ) |
|
|
inline |
| void lwpp::ColourManager::convertToLinear |
( |
float * |
from, |
|
|
float * |
to |
|
) |
| |
|
inline |
| void lwpp::ColourManager::convertToLinear |
( |
float * |
from | ) |
|
|
inline |
| float lwpp::ColourManager::convertToLinear |
( |
float |
from | ) |
|
|
inline |
Get the pointer to the global.
| int lwpp::ColourManager::getIndex |
( |
| ) |
|
| const char* lwpp::PopUpCallback::GetSelectedName |
( |
| ) |
|
|
inlineinherited |
| LWError lwpp::ColourManager::Load |
( |
const LoadState & |
ls | ) |
|
|
virtual |
Load data from a LWLoadState.
- Parameters:
-
| *ls | LWLoadState to load from |
- Returns:
- An error string if an error occured, 0 otherwise
Reimplemented from lwpp::Storeable.
| bool lwpp::ColourManager::operator!= |
( |
const ColourManager & |
comp | ) |
const |
Get the pointer to the global.
| static int lwpp::PopUpCallback::PopCount |
( |
void * |
inst | ) |
|
|
inlinestaticinherited |
| size_t lwpp::ColourManager::popCount |
( |
void |
| ) |
|
|
protectedvirtual |
Actual worker function to be supplied by the deriving class.
- Returns:
- The number of items
Implements lwpp::PopUpCallback.
| static const char* lwpp::PopUpCallback::PopName |
( |
void * |
inst, |
|
|
int |
n |
|
) |
| |
|
inlinestaticinherited |
| const char * lwpp::ColourManager::popName |
( |
int |
n | ) |
|
|
protectedvirtual |
Actual worker function to be supplied by the deriving class.
- Parameters:
-
- Returns:
- The name of the item
Implements lwpp::PopUpCallback.
| LWError lwpp::ColourManager::Save |
( |
const SaveState & |
ss | ) |
|
|
virtual |
Save data to a LWSaveState.
- Parameters:
-
| *ss | LWSaveState to save to |
- Returns:
- An error string if an error occured, 0 otherwise
Reimplemented from lwpp::Storeable.
| void lwpp::ColourManager::setIndex |
( |
int |
idx | ) |
|
| void lwpp::ColourManager::Update |
( |
| ) |
|
Member Data Documentation
Pointer to the global functions.
| int lwpp::PopUpCallback::index |
|
protectedinherited |
The documentation for this class was generated from the following files: