OpenWalnut  1.5.0dev
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:
+ Collaboration diagram for WTransferFunction::ColorEntry:

Public Member Functions

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

Public Attributes

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

Detailed Description

Color entries are linearly interpolated colors along isovalues.

Definition at line 280 of file WTransferFunction.h.

Constructor & Destructor Documentation

◆ ColorEntry()

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

default constructor

Parameters
isothe isovalue
colorthe color at the isovalue

Definition at line 286 of file WTransferFunction.h.

Member Function Documentation

◆ operator==()

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 295 of file WTransferFunction.h.

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

Member Data Documentation

◆ color

WColor WTransferFunction::ColorEntry::color

holds the current color at isovalue Entry::iso

Definition at line 301 of file WTransferFunction.h.

Referenced by operator==().


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