Public Member Functions | Properties

TransferPoint Class Reference

Representation of a transfer point within the Transferfunction. More...

#import <TransferPoint.h>

List of all members.

Public Member Functions

(id) - initAtIndex:red:green:blue:alpha:
 Initialize a new TransferPoint All parameters have to be between 0 and 1 (included).
(float) - getRed
 Get the red compontent.
(float) - getGreen
 Get the green compontent.
(float) - getBlue
 Get the blue compontent.
(float) - getAlpha
 Get the alpha compontent.

Properties

float red
float green
float blue
float alpha
float index

Detailed Description

Representation of a transfer point within the Transferfunction.

The difference to the TransferNode is, that a TransferPoint saves, except of the color, no graphical content.


Member Function Documentation

- (float) getAlpha

Get the alpha compontent.

Returns:
A float value between 0 and 1 (included)
- (float) getBlue

Get the blue compontent.

Returns:
A float value between 0 and 1 (included)
- (float) getGreen

Get the green compontent.

Returns:
A float value between 0 and 1 (included)
- (float) getRed

Get the red compontent.

Returns:
A float value between 0 and 1 (included)
- (id) initAtIndex: (float)  i
red: (float)  r
green: (float)  g
blue: (float)  b
alpha: (float)  a 

Initialize a new TransferPoint All parameters have to be between 0 and 1 (included).

Parameters:
iThe index
rThe red compontent
gThe green compontent
bThe blue compontent
aThe alpha compontent
Returns:
A pointer to the object

Property Documentation

- (float) alpha [read, write, assign]
- (float) blue [read, write, assign]
- (float) green [read, write, assign]
- (float) index [read, write, assign]
- (float) red [read, write, assign]

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Properties Defines