tfRGB Struct Reference

Structure holding RGB data and calculation methods. More...

#include <trafupoint.h>

List of all members.

Public Member Functions

 tfRGB (int tf_red=0, int tf_green=0, int tf_blue=0)
 Constructor.
wxColour wx ()

Public Attributes

Color components
int red
int green
int blue

Friends

Mathematical operations
tfRGB operator- (const tfRGB &first, const tfRGB &second)
tfRGB operator+ (const tfRGB &first, const tfRGB &second)
tfRGB operator* (const tfRGB &point, const float scalar)
tfRGB operator/ (const tfRGB &point, const float scalar)


Detailed Description

Structure holding RGB data and calculation methods.

Definition at line 10 of file trafupoint.h.


Constructor & Destructor Documentation

tfRGB::tfRGB ( int  tf_red = 0,
int  tf_green = 0,
int  tf_blue = 0 
) [inline]

Constructor.

Definition at line 13 of file trafupoint.h.

References blue, green, and red.


Member Function Documentation

wxColour tfRGB::wx (  )  [inline]

Definition at line 20 of file trafupoint.h.

References blue, green, and red.


Friends And Related Function Documentation

tfRGB operator- ( const tfRGB first,
const tfRGB second 
) [friend]

Definition at line 27 of file trafupoint.h.

tfRGB operator+ ( const tfRGB first,
const tfRGB second 
) [friend]

Definition at line 34 of file trafupoint.h.

tfRGB operator* ( const tfRGB point,
const float  scalar 
) [friend]

Definition at line 41 of file trafupoint.h.

tfRGB operator/ ( const tfRGB point,
const float  scalar 
) [friend]

Definition at line 48 of file trafupoint.h.


Member Data Documentation


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

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