HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UT_FileLUT Class Reference

#include <UT_FileLUT.h>

Public Types

enum  { LOAD_FORWARD_LUT = 0, LOAD_INVERSE_LUT, LOAD_FULL_LUT }
 
enum  { CINEON_CLIPPED = 0, CINEON_FULL_RANGE, CINEON_WHITE_GIVEN }
 

Public Member Functions

 UT_FileLUT ()
 
virtual ~UT_FileLUT ()
 
UT_FileLUToperator= (const UT_FileLUT &)
 
int operator== (const UT_FileLUT &) const
 
int load (const char *name, int lutsize, int lutrange, int mode=LOAD_FORWARD_LUT)
 
int createCineon (int white_point, fpreal gamma, int full_range, int mode=LOAD_FORWARD_LUT, int imagepnt=4095)
 
void create (int size, float *data, int range, int mode=LOAD_FORWARD_LUT, const char *filename=0, int whitepoint=65535)
 
int getLUTSize () const
 
unsigned short * getLUT ()
 
const unsigned short * getLUT () const
 
int getInvLUTSize () const
 
unsigned short * getInvLUT ()
 
const unsigned short * getInvLUT () const
 
int getWhitePoint () const
 
int compareExistingLUT (const char *name, int mode)
 
int compareExistingLUT (int white, fpreal gamma, int mode, int iwhite)
 
void debugOut (const char *file)
 

Detailed Description

Definition at line 24 of file UT_FileLUT.h.

Member Enumeration Documentation

anonymous enum
Enumerator
LOAD_FORWARD_LUT 
LOAD_INVERSE_LUT 
LOAD_FULL_LUT 

Definition at line 27 of file UT_FileLUT.h.

anonymous enum
Enumerator
CINEON_CLIPPED 
CINEON_FULL_RANGE 
CINEON_WHITE_GIVEN 

Definition at line 33 of file UT_FileLUT.h.

Constructor & Destructor Documentation

UT_FileLUT::UT_FileLUT ( )
virtual UT_FileLUT::~UT_FileLUT ( )
virtual

Member Function Documentation

int UT_FileLUT::compareExistingLUT ( const char *  name,
int  mode 
)
int UT_FileLUT::compareExistingLUT ( int  white,
fpreal  gamma,
int  mode,
int  iwhite 
)
void UT_FileLUT::create ( int  size,
float *  data,
int  range,
int  mode = LOAD_FORWARD_LUT,
const char *  filename = 0,
int  whitepoint = 65535 
)
int UT_FileLUT::createCineon ( int  white_point,
fpreal  gamma,
int  full_range,
int  mode = LOAD_FORWARD_LUT,
int  imagepnt = 4095 
)
void UT_FileLUT::debugOut ( const char *  file)
unsigned short* UT_FileLUT::getInvLUT ( )
inline

Definition at line 65 of file UT_FileLUT.h.

const unsigned short* UT_FileLUT::getInvLUT ( ) const
inline

Definition at line 66 of file UT_FileLUT.h.

int UT_FileLUT::getInvLUTSize ( ) const
inline

Definition at line 64 of file UT_FileLUT.h.

unsigned short* UT_FileLUT::getLUT ( )
inline

Definition at line 61 of file UT_FileLUT.h.

const unsigned short* UT_FileLUT::getLUT ( ) const
inline

Definition at line 62 of file UT_FileLUT.h.

int UT_FileLUT::getLUTSize ( ) const
inline

Definition at line 60 of file UT_FileLUT.h.

int UT_FileLUT::getWhitePoint ( ) const
inline

Definition at line 68 of file UT_FileLUT.h.

int UT_FileLUT::load ( const char *  name,
int  lutsize,
int  lutrange,
int  mode = LOAD_FORWARD_LUT 
)
UT_FileLUT& UT_FileLUT::operator= ( const UT_FileLUT )
int UT_FileLUT::operator== ( const UT_FileLUT ) const

The documentation for this class was generated from the following file: