HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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_FileLUT (const UT_FileLUT &copy)
 
UT_FileLUToperator= (const UT_FileLUT &)
 
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
UT_FileLUT::UT_FileLUT ( const UT_FileLUT copy)
inline

Definition at line 43 of file UT_FileLUT.h.

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 69 of file UT_FileLUT.h.

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

Definition at line 70 of file UT_FileLUT.h.

int UT_FileLUT::getInvLUTSize ( ) const
inline

Definition at line 68 of file UT_FileLUT.h.

unsigned short* UT_FileLUT::getLUT ( )
inline

Definition at line 65 of file UT_FileLUT.h.

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

Definition at line 66 of file UT_FileLUT.h.

int UT_FileLUT::getLUTSize ( ) const
inline

Definition at line 64 of file UT_FileLUT.h.

int UT_FileLUT::getWhitePoint ( ) const
inline

Definition at line 72 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 )

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