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

Color entries are linearly interpolated colors along isovalues. More...

+ Inheritance diagram for WTransferFunction::ColorEntry:

List of all members.

Public Member Functions

 ColorEntry (double iso, WColor color)
 default constructor
bool operator== (const ColorEntry &rhs) const
 comparison operator to check for changes

Public Attributes

WColor color
 holds the current color at isovalue Entry::iso

Detailed Description

Color entries are linearly interpolated colors along isovalues.

Definition at line 260 of file WTransferFunction.h.


Constructor & Destructor Documentation

WTransferFunction::ColorEntry::ColorEntry ( double  iso,
WColor  color 
) [inline]

default constructor

Parameters:
isothe isovalue
colorthe color at the isovalue

Definition at line 266 of file WTransferFunction.h.


Member Function Documentation

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

comparison operator to check for changes

Parameters:
rhsColorEntry to compare to
Returns:
true if rhs equals this

Definition at line 275 of file WTransferFunction.h.

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


Member Data Documentation

holds the current color at isovalue Entry::iso

Definition at line 281 of file WTransferFunction.h.

Referenced by operator==().


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