TFController Class Reference

This class is the controller in the TF system. More...

#import <TFController.h>

List of all members.

Public Member Functions

(id) - init
 Default initializer.
(void) - setActivePoint:
 Set a new active TFPointView.
(TFPointView *) - activePoint
 Get the active TFPointView.
(NSArray *) - histogram
 Return the histogram to draw.
(void) - addPoint:
 Add a point to the TransferFunction.
(void) - removePoint:
 Remove a pointfrom the TransferFunction.
(void) - removeAllPoints
(void) - sortPoints
 Sort the points of the TransferFunction.
(NSMutableArray *) - points
 Return all points of the TransferFunction.
(void) - loadTransferFunction
 Transform the TransferFunction to a texture and load it to the GPU.
(BOOL) - drawHistogram
 Returns whether or not a histogram shall be drawn.
(IBAction) - toggleHistogram:
 Toggle the status whether or not a histogram shall be drawn.
(void) - setModelRect:
 Sets the model size.
(TFModel *) - model
(IBAction) - initRedraw:
(void) - awakeFromNib [implementation]
(void) - bind:toObject:withKeyPath:options: [implementation]
(void) - observeValueForKeyPath:ofObject:change:context: [implementation]
(void) - setModel: [implementation]
(void) - dealloc [implementation]

Static Public Member Functions

(TFController *) + createController
 Convenience allocator to create a new TFController.

Protected Attributes

TFModel_model
IBOutlet id _modelController
id observedObjectForModel
NSString * observedKeyPathForModel
NSValueTransformer * modelValueTransformer
IBOutlet id layerSelector
IBOutlet id minField
IBOutlet id maxField
TFPointView_activePoint
 The currently selected point.
BOOL _drawHistogram
 Whether or not a histogram should be drawn.
NSRect _modelRect

Properties

FlowDatadataset
 Information concerning the size.

Detailed Description

This class is the controller in the TF system.

It manages models and views of a TransferFunction.


Member Data Documentation

- (TFPointView*) _activePoint [protected]

The currently selected point.

- (BOOL) _drawHistogram [protected]

Whether or not a histogram should be drawn.


Property Documentation

- (FlowData *) dataset [read, write, retain]

Information concerning the size.


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

Generated on Wed Jan 20 13:38:39 2010 for Courant by  doxygen 1.6.1