Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

vlTxFuncGroup Class Reference

This class stores the group of transfer functions required for viewing slices, rendering volumes etc. More...

#include <vltxfuncgroup.h>

List of all members.

Public Member Functions

 vlTxFuncGroup ()
 Default constructor.

virtual ~vlTxFuncGroup ()
 Default destructor.

vlTxFunctiongetTxFunction (const std::string &name)
 Gets the transfer function with the given name.

vlTxFunctiongetTxFunction (const uint16 index)
 Gets the transfer function stored at the given index.


Protected Attributes

std::vector< vlTxFunctionm_txFuncs
 All the transfer functions used internally.


Detailed Description

The class will provide some pre-defined transfer function combinations. It will also provide automatic transfer function generation capability for a given volume data.

Author:
Sarang Lakare <sarang@users.sourceforge.net>
See also:
vlTxFunction

Definition at line 48 of file vltxfuncgroup.h.


Constructor & Destructor Documentation

vlTxFuncGroup::vlTxFuncGroup  ) 
 

Definition at line 32 of file vltxfuncgroup.cpp.

References m_txFuncs, and vlColor4f.

vlTxFuncGroup::~vlTxFuncGroup  )  [virtual]
 

Definition at line 47 of file vltxfuncgroup.cpp.


Member Function Documentation

vlTxFunction * vlTxFuncGroup::getTxFunction const uint16  index  ) 
 

Parameters:
index The index at which the transfer function is to be located
Returns:
Pointer to the transfer function if index is valid, else null

Definition at line 86 of file vltxfuncgroup.cpp.

References m_txFuncs.

vlTxFunction * vlTxFuncGroup::getTxFunction const std::string &  name  ) 
 

If found, returns pointer to the transfer function.

Parameters:
name Name of hte transfer function to search
Returns:
Pointer to the transfer function with name "name". If none found, returns null.

Definition at line 60 of file vltxfuncgroup.cpp.

References m_txFuncs, and name.


Member Data Documentation

std::vector<vlTxFunction> vlTxFuncGroup::m_txFuncs [protected]
 

Definition at line 67 of file vltxfuncgroup.h.

Referenced by getTxFunction(), and vlTxFuncGroup().


The documentation for this class was generated from the following files:
Generated on Fri Mar 18 11:33:19 2005 for OpenVL by doxygen 1.3.3