OpenWalnut  1.4.0
Public Member Functions | Public Attributes
WTransferFunction::AlphaEntry Struct Reference

Alpha entries represent linearly interpolated transparency values along the isovalue scale. More...

+ Inheritance diagram for WTransferFunction::AlphaEntry:

List of all members.

Public Member Functions

 AlphaEntry (double iso, double alpha)
 default constructor
bool operator== (const AlphaEntry &rhs) const
 comparison operator to check for changes

Public Attributes

double alpha
 holds the current alpha at isovalue Entry::iso

Detailed Description

Alpha entries represent linearly interpolated transparency values along the isovalue scale.

Alpha is in the range [ 0...1 ] where 1 signifies entirely opaque ( which makes it more an opacity value instead of alpha, but I use the commonly used language here )

Definition at line 290 of file WTransferFunction.h.


Constructor & Destructor Documentation

WTransferFunction::AlphaEntry::AlphaEntry ( double  iso,
double  alpha 
) [inline]

default constructor

Parameters:
isothe isovalue
alphathe alpha at the isovalue in the range from 0 = transparent to 1 = opaque

Definition at line 296 of file WTransferFunction.h.


Member Function Documentation

bool WTransferFunction::AlphaEntry::operator== ( const AlphaEntry rhs) const [inline]

comparison operator to check for changes

Parameters:
rhsAlphaEntry to compare to
Returns:
true if rhs is equal to this

Definition at line 305 of file WTransferFunction.h.

References alpha, and WTransferFunction::Entry::iso.


Member Data Documentation

holds the current alpha at isovalue Entry::iso

Definition at line 311 of file WTransferFunction.h.

Referenced by operator==().


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