TransferFunctionManager Class Reference

Class TransferFunctionManager. More...

#include <TransferFunctionManager.h>

Collaboration diagram for TransferFunctionManager:

Collaboration graph
[legend]

List of all members.

Classes

class  InterpolationNode
 Class InterpolationNode. More...

Public Member Functions

 TransferFunctionManager ()
 Konstruktor.
 TransferFunctionManager (Volume volume, int histLength)
 Konstruktor.
 ~TransferFunctionManager ()
 Destruktor.
std::vector< int > getHist ()
 returns the Histogram
int getHistLength ()
 returns thelength of the Histogram
float * generateLookUp ()
 generates the LookUpTable
void clear ()
void addInterpolationNode (byte r, byte g, byte b, byte alpha, int value)
 adds a InterpolationNode
void setInterpolationNode (int index, byte r, byte g, byte b, byte alpha, int value)
 resets a selected InterpolationNode
void removeInterpolationNode (int index)
 removes a InterpolationNode
std::vector< InterpolationNodegetInterpolationNodes ()
 returns all InterpoltaionNodes
void deleteAllInterpolationNodes ()
 deletes all InterpolationNodes

Public Attributes

float * lookUp
 pointer that stores the LookUp-Values

Protected Attributes

std::vector< int > hist
 saves the Histogram
int histLength
 saves the length of the Histogram
std::vector< InterpolationNodeinterpolationVec
 saves all InterpolationNodes
InterpolationNode beginNode
 first Interpolation Node
InterpolationNode endNode
 last Interpolation Node


Detailed Description

Class TransferFunctionManager.

Is the Class of the TransferFunctionManager


Constructor & Destructor Documentation

TransferFunctionManager::TransferFunctionManager (  ) 

Konstruktor.

TransferFunctionManager::TransferFunctionManager ( Volume  volume,
int  histLength 
)

Konstruktor.

TransferFunctionManager::~TransferFunctionManager (  ) 

Destruktor.


Member Function Documentation

void TransferFunctionManager::addInterpolationNode ( byte  r,
byte  g,
byte  b,
byte  alpha,
int  value 
)

void TransferFunctionManager::clear (  ) 

clear cleares all Info inside the TransferFunction Manager and resets the TransferFunction (always used, when a new Volume is loaded)

void TransferFunctionManager::deleteAllInterpolationNodes (  ) 

deletes all InterpolationNodes

float * TransferFunctionManager::generateLookUp (  ) 

generates the LookUpTable

std::vector< int > TransferFunctionManager::getHist (  ) 

returns the Histogram

int TransferFunctionManager::getHistLength (  ) 

returns thelength of the Histogram

std::vector< TransferFunctionManager::InterpolationNode > TransferFunctionManager::getInterpolationNodes (  ) 

returns all InterpoltaionNodes

void TransferFunctionManager::removeInterpolationNode ( int  index  ) 

removes a InterpolationNode

void TransferFunctionManager::setInterpolationNode ( int  index,
byte  r,
byte  g,
byte  b,
byte  alpha,
int  value 
)

resets a selected InterpolationNode


Member Data Documentation

first Interpolation Node

last Interpolation Node

std::vector<int> TransferFunctionManager::hist [protected]

saves the Histogram

saves the length of the Histogram

saves all InterpolationNodes

pointer that stores the LookUp-Values


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

Generated on Wed Dec 10 00:10:26 2008 for VolViz by  doxygen 1.5.7.1