arbeit
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

STF Namespace Reference


Detailed Description

Simian Transfer Function namespace.


"Range" (output) type for tf

typedef gutz::vec< tfSType,
TF_MAX_R > 
tfRangeType
 this is a "vec<float,10>"

typedef gutz::vec< int, TF_MAX_R > tfRangeIdx
typedef gutz::vec< tfSType, 4 > tfRangeVec4
 a 4 vector, since we will be dealing mostly with 4 value images (ex.

typedef std::vector< tfRangeTypetfRangeVec
 a vector of RangeTypes

typedef tfRangeVec::iterator tfRangeVecIter
enum  TF_RANGE_SYMANTICS {
  RED = 0, GREEN = 1, BLUE = 2, ALPHA = 3,
  RF_RED = 0, RF_GREEN = 1, RF_BLUE = 2, TP_RED = 4,
  TP_GREEN = 5, TP_BLUE = 6, FRESNEL = 7, SURFACE = 8,
  TFS_LAST = TF_MAX_R
}
 useful names for TFRange indicies More...

enum  TF_4MAP_KINDS { TF_RGBA }
 for separable 2D transfer function generation used by TFElements More...

const tfRangeType tfRangeType_bad (tfSType_bad)
 a "bad" range type for comparisons

const tfRangeType tfRangeType_max (tfSType_max)
const tfRangeType tfRangeType_min (tfSType_min)
const tfRangeIdx tfRangeIdx_ao (0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
 All indicied in order.

const tfRangeType tfRangeType_default (0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
 ???

const tfRangeIdx tfRGBA_idx (0, 1, 2, 3)

"Domain" (input/axis dims) type for tf

typedef gutz::vec< tfSType,
TF_MAX_D > 
tfDomainType
 this is a vec<float,10>

typedef std::vector< tfDomainTypetfDomainVec
 vector of domain positions

typedef tfDomainVec::iterator tfDomainVecIter
typedef gutz::vec2< tfSTypetfVec2
 a 2D position/Val vec this is a vec2<float>

const tfDomainType tfDomainType_bad (tfSType_bad)
 a bad domain type for coamparisons

const tfDomainType tfDomainType_max (tfSType_max)
const tfDomainType tfDomainType_min (tfSType_min)
const tfVec2 tfVec2_bad = tfVec2(tfSType_bad)

Typedefs

typedef float tfSType
 transfer function primary (scalar) data type


Enumerations

enum  MIN_NUM_TF_PARAMS { TF_MAX_D = 10, TF_MAX_R = 10 }
 what are the max dimensions of the domain and range? More...


Functions

tfSType randval ()

Variables

const tfSType tfSType_bad = std::numeric_limits<tfSType>::quiet_NaN()
 a "bad" value (NAN) for comparisons

const tfSType tfSType_max = std::numeric_limits<tfSType>::max()
const tfSType tfSType_min = std::numeric_limits<tfSType>::min()


Typedef Documentation

typedef gutz::vec<tfSType, TF_MAX_D> STF::tfDomainType
 

this is a vec<float,10>

Definition at line 132 of file TFParams.h.

typedef std::vector<tfDomainType> STF::tfDomainVec
 

vector of domain positions

Definition at line 139 of file TFParams.h.

typedef tfDomainVec::iterator STF::tfDomainVecIter
 

Definition at line 140 of file TFParams.h.

typedef gutz::vec<int, TF_MAX_R> STF::tfRangeIdx
 

Definition at line 69 of file TFParams.h.

typedef gutz::vec<tfSType, TF_MAX_R> STF::tfRangeType
 

this is a "vec<float,10>"

Definition at line 63 of file TFParams.h.

typedef std::vector<tfRangeType> STF::tfRangeVec
 

a vector of RangeTypes

Definition at line 90 of file TFParams.h.

typedef gutz::vec<tfSType, 4> STF::tfRangeVec4
 

a 4 vector, since we will be dealing mostly with 4 value images (ex.

RGBA)

Definition at line 87 of file TFParams.h.

typedef tfRangeVec::iterator STF::tfRangeVecIter
 

Definition at line 91 of file TFParams.h.

typedef float STF::tfSType
 

transfer function primary (scalar) data type

Definition at line 50 of file TFParams.h.

Referenced by TFElementBox::eval(), randval(), rasterize2D(), TFElementBox::rasterize2D(), TFItem::TFItem(), and TFItemVec::TFItemVec().

typedef gutz::vec2<tfSType> STF::tfVec2
 

a 2D position/Val vec this is a vec2<float>

Definition at line 145 of file TFParams.h.


Enumeration Type Documentation

enum STF::MIN_NUM_TF_PARAMS
 

what are the max dimensions of the domain and range?

Enumeration values:
TF_MAX_D  max domain dim of tf
TF_MAX_R  max range dim of tf

Definition at line 43 of file TFParams.h.

enum STF::TF_4MAP_KINDS
 

for separable 2D transfer function generation used by TFElements

Enumeration values:
TF_RGBA 

Definition at line 117 of file TFParams.h.

enum STF::TF_RANGE_SYMANTICS
 

useful names for TFRange indicies

Enumeration values:
RED  standard symantics
GREEN 
BLUE 
ALPHA 
RF_RED  reflectance, alias for standard RGB
RF_GREEN 
RF_BLUE 
TP_RED  transport (1-extinction)
TP_GREEN 
TP_BLUE 
FRESNEL  fresnel term
SURFACE  surface scalar
TFS_LAST 

Definition at line 94 of file TFParams.h.


Function Documentation

tfSType randval  )  [inline]
 

Definition at line 56 of file TFParams.h.

References tfSType.

Referenced by TFElementBox::TFElementBox().


Variable Documentation

const tfDomainType STF::tfDomainType_bad(tfSType_bad)
 

a bad domain type for coamparisons

const tfDomainType STF::tfDomainType_max(tfSType_max)
 

const tfDomainType STF::tfDomainType_min(tfSType_min)
 

const tfRangeIdx STF::tfRangeIdx_ao(0,1,2,3,4,5,6,7,8,9)
 

All indicied in order.

const tfRangeType STF::tfRangeType_bad(tfSType_bad)
 

a "bad" range type for comparisons

const tfRangeType STF::tfRangeType_default(0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
 

???

const tfRangeType STF::tfRangeType_max(tfSType_max)
 

const tfRangeType STF::tfRangeType_min(tfSType_min)
 

const tfRangeIdx STF::tfRGBA_idx(0,1,2,3)
 

const tfSType STF::tfSType_bad = std::numeric_limits<tfSType>::quiet_NaN()
 

a "bad" value (NAN) for comparisons

Definition at line 52 of file TFParams.h.

const tfSType STF::tfSType_max = std::numeric_limits<tfSType>::max()
 

Definition at line 53 of file TFParams.h.

const tfSType STF::tfSType_min = std::numeric_limits<tfSType>::min()
 

Definition at line 54 of file TFParams.h.

const tfVec2 STF::tfVec2_bad = tfVec2(tfSType_bad)
 

Definition at line 146 of file TFParams.h.


Send questions, comments, and bug reports to:
jmk