Public Member Functions | Properties

TransferFunction Class Reference

The class manages the transferfunction. More...

#import <TransferFunction.h>

List of all members.

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

Detailed Description

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.


Member Function Documentation

- (TransferPoint *) getTransferPoint: (int)  idx

This method returns a TransferPoint, which is calculated throw the point at the index and the following.

Parameters:
idxThe index of the point which should be returned
Returns:
A autoreleased TransferPoint
- (id) init

Initialize a TransferFunction After initializing the object two TransferPoints will be added to the function, the start (black) and end point (white)

Returns:
A pointer to the object
- (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


Property Documentation

- (NSMutableArray *) transferPoints [read, write, retain]
- (int) transferResolution [read, write, assign]

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