#include <trafupoint.h>
Public Member Functions | |
Mapping_data () | |
Empty Constructor. | |
Mapping_data (float density, float opacity, int red, int green, int blue, unsigned flags=TFP_NONE) | |
Constructor with seperate R/G/B values. | |
Mapping_data (float density, float opacity, tfRGB colour, unsigned flags=TFP_NONE) | |
Constructor with RGB structure holding colour data. | |
Mapping_data (float density, float opacity, wxColour colour, unsigned flags=TFP_NONE) | |
Constructor with wxWidgets own colour structure. | |
Public Attributes | |
Point information | |
float | m_density |
float | m_opacity |
tfRGB | m_colour |
Point color. | |
unsigned | m_flags |
Point status. | |
Friends | |
Logical operations | |
bool | operator< (const Mapping_data &first, const Mapping_data &second) |
compares x-coordinates | |
Mathematical operations | |
Mapping_data | operator- (const Mapping_data &first, const Mapping_data &second) |
Mapping_data | operator+ (const Mapping_data &first, const Mapping_data &second) |
Mapping_data | operator* (const Mapping_data &point, const float scalar) |
Mapping_data | operator/ (const Mapping_data &point, const float scalar) |
Definition at line 73 of file trafupoint.h.
Mapping_data::Mapping_data | ( | ) | [inline] |
Mapping_data::Mapping_data | ( | float | density, | |
float | opacity, | |||
int | red, | |||
int | green, | |||
int | blue, | |||
unsigned | flags = TFP_NONE | |||
) | [inline] |
Constructor with seperate R/G/B values.
Definition at line 85 of file trafupoint.h.
References m_colour.
Mapping_data::Mapping_data | ( | float | density, | |
float | opacity, | |||
wxColour | colour, | |||
unsigned | flags = TFP_NONE | |||
) | [inline] |
Constructor with wxWidgets own colour structure.
Definition at line 103 of file trafupoint.h.
References m_colour.
bool operator< | ( | const Mapping_data & | first, | |
const Mapping_data & | second | |||
) | [friend] |
Mapping_data operator- | ( | const Mapping_data & | first, | |
const Mapping_data & | second | |||
) | [friend] |
Definition at line 124 of file trafupoint.h.
Mapping_data operator+ | ( | const Mapping_data & | first, | |
const Mapping_data & | second | |||
) | [friend] |
Definition at line 131 of file trafupoint.h.
Mapping_data operator* | ( | const Mapping_data & | point, | |
const float | scalar | |||
) | [friend] |
Definition at line 138 of file trafupoint.h.
Mapping_data operator/ | ( | const Mapping_data & | point, | |
const float | scalar | |||
) | [friend] |
Definition at line 144 of file trafupoint.h.
float Mapping_data::m_density |
Definition at line 155 of file trafupoint.h.
Referenced by TraFuData::createDensityVectorPart(), TraFuData::mapDensity(), and Mapping_data().
float Mapping_data::m_opacity |
Definition at line 156 of file trafupoint.h.
Referenced by TraFuData::createDensityVectorPart(), and Mapping_data().
Point color.
Definition at line 157 of file trafupoint.h.
Referenced by TraFuData::createDensityVectorPart(), TransferFunctionCtrlCanvas::GetColour(), Mapping_data(), and TransferFunctionCtrlCanvas::SetColour().
unsigned Mapping_data::m_flags |