TFView Class Reference

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

#import <TFView.h>

List of all members.

Public Member Functions

(TFController *) - controller
(void) - drawHistogram
 Draws the histogram to this TFView.
(void) - drawLine
 Draws the points and the connecting lines to this TFView.
(void) - drawGradient
 Draws the gradient background to this TFView.
(BOOL) - acceptsFirstResponder
(void) - mouseDown:
(void) - addPointAsSubview:WithColor:HorizontalFixed:Undeleteable:showColor:
 Add a new Point as a subview to this view.
(void) - removeAllPoints
 Removes all TFPointView that are a subview of this TFView.
(void) - initiateRedraw:
 This method is invoked, if there is a need to update the view.
(void) - initiateRedrawWithReset:
(id) - initWithFrame: [implementation]
(void) - awakeFromNib [implementation]
(void) - drawRect: [implementation]
(void) - dealloc [implementation]

Protected Attributes

IBOutlet TFController_controller

Detailed Description

This class is the view in the TF system.

It gains data using the TFController and draws this using specific draw methods.


Member Function Documentation

- (void) addPointAsSubview: (NSPoint)  position
WithColor: (NSColor *)  color
HorizontalFixed: (BOOL)  fix
Undeleteable: (BOOL)  undeleteable
showColor: (BOOL)  forceColor 

Add a new Point as a subview to this view.

The method will create a new TFPointView with the specified parameters and add this object as subview.

[self addSubview:[[TFPointView alloc] initWithFrame:rect Color:color HorizontalFixed:fix Undeleteable:undeleteable Controller:_controller]];

- (void) initiateRedraw: (NSNotification *)  notification  

This method is invoked, if there is a need to update the view.

This method is ment to be called via a notification center. It listens for "TransferFunction:fullRedraw".


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