Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
LookupTableClass Class Reference

#include <lookuptable.h>

Inherits RefCountClass, and MultiListObjectClass.

Public Member Functions

 LookupTableClass (int sample_count=256)
 
virtual ~LookupTableClass (void)
 
void Init (const char *name, Curve1DClass *curve)
 
float Get_Value (float input)
 
float Get_Value_Quick (float input)
 
const char * Get_Name (void)
 
- Public Member Functions inherited from RefCountClass
 RefCountClass (void)
 
 RefCountClass (const RefCountClass &)
 
void Add_Ref (void) const
 
WWINLINE void Release_Ref (void) const
 
int Num_Refs (void) const
 
virtual void Delete_This (void)
 
- Public Member Functions inherited from MultiListObjectClass
 MultiListObjectClass (void)
 
virtual ~MultiListObjectClass (void)
 
MultiListNodeClassGet_List_Node () const
 
void Set_List_Node (MultiListNodeClass *node)
 

Protected Attributes

StringClass Name
 
float MinInputValue
 
float MaxInputValue
 
float OOMaxMinusMin
 
SimpleVecClass< float > OutputSamples
 

Additional Inherited Members

- Static Public Member Functions inherited from RefCountClass
static int Total_Refs (void)
 
static RefCountClassAdd_Active_Ref (RefCountClass *obj)
 
static RefCountClassSet_Ref_Owner (RefCountClass *obj, char *file, int line)
 
static void Remove_Active_Ref (RefCountClass *obj)
 
static bool Validate_Active_Ref (RefCountClass *obj)
 
- Public Attributes inherited from RefCountClass
RefCountNodeClass ActiveRefNode
 
ActiveRefStruct ActiveRefInfo
 
- Static Public Attributes inherited from RefCountClass
static RefCountListClass ActiveRefList
 
- Protected Member Functions inherited from RefCountClass
virtual ~RefCountClass (void)
 

Detailed Description

LookupTableClass This class contains the tabulated values for a function.

Definition at line 61 of file lookuptable.h.

Constructor & Destructor Documentation

◆ LookupTableClass()

LookupTableClass::LookupTableClass ( int sample_count = 256)

Definition at line 69 of file lookuptable.cpp.

◆ ~LookupTableClass()

LookupTableClass::~LookupTableClass ( void )
virtual

Definition at line 76 of file lookuptable.cpp.

Member Function Documentation

◆ Get_Name()

const char * LookupTableClass::Get_Name ( void )
inline

Definition at line 71 of file lookuptable.h.

◆ Get_Value()

float LookupTableClass::Get_Value ( float input)
inline

Definition at line 82 of file lookuptable.h.

◆ Get_Value_Quick()

float LookupTableClass::Get_Value_Quick ( float input)
inline

Definition at line 101 of file lookuptable.h.

◆ Init()

void LookupTableClass::Init ( const char * name,
Curve1DClass * curve )

Definition at line 80 of file lookuptable.cpp.

Member Data Documentation

◆ MaxInputValue

float LookupTableClass::MaxInputValue
protected

Definition at line 76 of file lookuptable.h.

◆ MinInputValue

float LookupTableClass::MinInputValue
protected

Definition at line 75 of file lookuptable.h.

◆ Name

StringClass LookupTableClass::Name
protected

Definition at line 74 of file lookuptable.h.

◆ OOMaxMinusMin

float LookupTableClass::OOMaxMinusMin
protected

Definition at line 77 of file lookuptable.h.

◆ OutputSamples

SimpleVecClass<float> LookupTableClass::OutputSamples
protected

Definition at line 78 of file lookuptable.h.


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