The class manages the transferfunction. More...
#import <TransferFunction.h>
Public Member Functions | |
(id) | - init |
Initialize a TransferFunction After initializing the object two TransferPoints will be added to the function, the start (black) and end point (white) | |
(TransferPoint *) | - getTransferPoint: |
This method returns a TransferPoint, which is calculated throw the point at the index and the following. | |
(void) | - nodeChanged: |
Notification method when a TransferNode is added. | |
Properties | |
int | transferResolution |
NSMutableArray * | transferPoints |
The class manages the transferfunction.
It stores only values which are added in the TransferPanel. All other values between the others will be calculated when they are needed.
- (TransferPoint *) getTransferPoint: | (int) | idx |
This method returns a TransferPoint, which is calculated throw the point at the index and the following.
idx | The index of the point which should be returned |
- (id) init |
Initialize a TransferFunction After initializing the object two TransferPoints will be added to the function, the start (black) and end point (white)
- (void) nodeChanged: | (NSNotification *) | notification |
Notification method when a TransferNode is added.
This method will be called when a TransferNode is added within the TransferPanel. The Node will be added as a TransferPoint to to Transferfunction
- (NSMutableArray *) transferPoints [read, write, retain] |
- (int) transferResolution [read, write, assign] |