OpenWalnut  1.3.1
Public Member Functions | Public Attributes | List of all members
WTransferFunction::ColorEntry Struct Reference

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

+ Inheritance diagram for WTransferFunction::ColorEntry:

Public Member Functions

 ColorEntry (double iso, WColor color)
 default constructor
bool operator== (const ColorEntry &rhs) const
 comparison operator to check for changes
- Public Member Functions inherited from WTransferFunction::Entry
 Entry (double iso)
 Default constructor.
bool operator<= (const Entry &rhs) const
 comparison by isovalue

Public Attributes

WColor color
 holds the current color at isovalue Entry::iso
- Public Attributes inherited from WTransferFunction::Entry
double iso
 the isovalue

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

WColor WTransferFunction::ColorEntry::color

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: