TransferNode.h

Go to the documentation of this file.
00001 
00005 @interface TransferNode : NSObject {
00006         
00007 @private
00008         /*
00009          The Color of the node
00010          */
00011         NSColor *nodeColor;
00012         /*
00013          The opacity of the node
00014          */
00015         float opacity;
00016         /*
00017          The intensity of the node
00018          */
00019         float intensity;
00020         /*
00021          The x-coordinate of the node within the TransferPanel
00022          */
00023         int x;
00024         /*
00025          The y-coordinate of the node within the TransferPanel
00026          */
00027         int y;
00028 }
00029 
00030 @property (nonatomic, retain) NSColor *nodeColor;
00031 @property (nonatomic) float intensity;
00032 @property (nonatomic) float opacity;
00033 @property (nonatomic) int x;
00034 @property (nonatomic) int y;
00035 
00045 - (id)initWithColor:(NSColor *)color intensity:(float)aIntensity opacity:(float)aOpacity x:(int)aX y:(int)aY;
00051 - (id)initWithCoder:(NSCoder *)coder;
00056 - (void)encodeWithCoder:(NSCoder *)coder;
00063 - (BOOL)isEqualToPoint:(NSPoint)otherPoint;
00068 - (NSColor *)invertedNodeColor;
00073 - (float)getRed;
00078 - (float)getGreen;
00083 - (float)getBlue;
00088 - (float)getAlpha;
00089 
00090 @end
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines