This class is the model in the TFPoint system. More...
#import <TFPointModel.h>
Public Member Functions | |
| (TFPointModel *) | - initWithPosition:Color:isFixed:isUndeleteable: |
| Initializer to create a mpdel with a position and a color. | |
| (void) | - setColor: |
| Set a new color. | |
| (NSColor *) | - color |
| Return the color. | |
| (void) | - setPosition: |
| Set a new position. | |
| (NSPoint) | - position |
| Return the position. | |
| (NSComparisonResult) | - comparePosition: |
| Performs a comparison based on the x position. | |
| (TFPointModel *) | - initWithPosition:Color:isFixed:isUndeleteable: [implementation] |
| (void) | - dealloc [implementation] |
Static Public Member Functions | |
| (TFPointModel *) | + createWithPosition:Color:isFixed:isUndeleteable: |
| Convenience allocator to create a mpdel with a position and a color. | |
| (TFPointModel *) | + createWithPosition:Color:isFixed:isUndeleteable: [implementation] |
Protected Attributes | |
| NSColor * | _color |
| The color of this Point. | |
| NSPoint | _position |
| The position of this Point. | |
Properties | |
| bool | fix |
| bool | undeleteable |
This class is the model in the TFPoint system.
It stores information concerning a Point in a TransferFunction.
- (NSColor*) _color [protected] |
The color of this Point.
- (NSPoint) _position [protected] |
The position of this Point.
1.6.1