Mapping_data Class Reference

Class representing an individual point of the transfer function in representation context. More...

#include <trafupoint.h>

Collaboration diagram for Mapping_data:

Collaboration graph
[legend]

List of all members.

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)


Detailed Description

Class representing an individual point of the transfer function in representation context.

Definition at line 73 of file trafupoint.h.


Constructor & Destructor Documentation

Mapping_data::Mapping_data (  )  [inline]

Empty Constructor.

Definition at line 77 of file trafupoint.h.

References m_colour, m_density, and m_opacity.

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,
tfRGB  colour,
unsigned  flags = TFP_NONE 
) [inline]

Constructor with RGB structure holding colour data.

Definition at line 94 of file trafupoint.h.

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.


Friends And Related Function Documentation

bool operator< ( const Mapping_data first,
const Mapping_data second 
) [friend]

compares x-coordinates

Definition at line 114 of file trafupoint.h.

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.


Member Data Documentation

Definition at line 156 of file trafupoint.h.

Referenced by TraFuData::createDensityVectorPart(), and Mapping_data().

Point status.

Definition at line 158 of file trafupoint.h.


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

Generated on Wed Jan 21 16:22:24 2009 for FlowVis by  doxygen 1.5.6