Volume Renderer DoF
TransferFunction Struct Reference

#include <TransferFunction.h>

Public Member Functions

 TransferFunction ()
 
 TransferFunction (int f, int s, float o, float c[3])
 

Public Attributes

int firstValue = 0
 
int secondValue = 255
 
float optValue = 0.01
 
float color [3] = {1, 0, 0}
 

Detailed Description

A structure representing the transfer function, which is then passed to the shader for rendering purposes

Constructor & Destructor Documentation

◆ TransferFunction() [1/2]

TransferFunction::TransferFunction ( )
inline

◆ TransferFunction() [2/2]

TransferFunction::TransferFunction ( int  f,
int  s,
float  o,
float  c[3] 
)
inline

Member Data Documentation

◆ color

float TransferFunction::color[3] = {1, 0, 0}

the color value for given grey value range

◆ firstValue

int TransferFunction::firstValue = 0

the minimal value

◆ optValue

float TransferFunction::optValue = 0.01

the opacity value

◆ secondValue

int TransferFunction::secondValue = 255

the maximal value


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