#include <albaLUTLibrary.h>
A component to handle lookup table libraries.
Definition at line 28 of file albaLUTLibrary.h.
◆ albaLUTLibrary()
albaLUTLibrary::albaLUTLibrary |
( |
| ) |
|
◆ ~albaLUTLibrary()
albaLUTLibrary::~albaLUTLibrary |
( |
| ) |
|
◆ SetDir()
void albaLUTLibrary::SetDir |
( |
const char * |
dir | ) |
|
set get the library directory
◆ GetDir()
const char * albaLUTLibrary::GetDir |
( |
| ) |
|
◆ Load()
void albaLUTLibrary::Load |
( |
| ) |
|
◆ Save()
void albaLUTLibrary::Save |
( |
| ) |
|
◆ Add()
void albaLUTLibrary::Add |
( |
vtkLookupTable * |
inLUT, |
|
|
const char * |
lutName |
|
) |
| |
beware! if a lut with the same name exists it will be replaced
◆ Remove()
int albaLUTLibrary::Remove |
( |
const char * |
lutName | ) |
|
remove a lut from the library: return ALBA_ERROR if lutName does not exist, ALBA_OK otherwise
◆ GetNumberOfLuts()
int albaLUTLibrary::GetNumberOfLuts |
( |
| ) |
|
return the number of luts
◆ GetLutNames()
void albaLUTLibrary::GetLutNames |
( |
std::vector< std::string > & |
names | ) |
|
return the lut names vector
◆ GetLutByName()
vtkLookupTable * albaLUTLibrary::GetLutByName |
( |
const char * |
name | ) |
|
◆ HasLut()
bool albaLUTLibrary::HasLut |
( |
const char * |
name | ) |
|
return if the named lut is present or not
◆ Clear()
void albaLUTLibrary::Clear |
( |
bool |
removeLibraryFromDisk = false | ) |
|
Clear the library; do not remove it from disk unless removeLibraryFromDisk is true.
◆ PrintLut()
void albaLUTLibrary::PrintLut |
( |
std::ostringstream & |
stringStream, |
|
|
vtkLookupTable * |
lut |
|
) |
| |
The documentation for this class was generated from the following file: