Public Member Functions | Protected Attributes | Properties

ColorCodingLayer Class Reference

#import <ColorCodingLayer.h>

Inheritance diagram for ColorCodingLayer:
FlowLayer

List of all members.

Public Member Functions

(void) - setWidth:height:
(void) - insertNode:atIndex:
(NSColor *) - colorAtIndex:
(int) - numberofColors
(TransferNode *) - nodeAtIndex:
(void) - removeNodeAtIndex:

Protected Attributes

Users ulrich Projects Xcode
GoFlow ColorCodingLayer h
NSMutableArray * 
colors

Properties

NSMutableArray * colors
int width
int height

Detailed Description

Implementation of a Color Coding Layer for the rendering process


Member Function Documentation

- (NSColor *) colorAtIndex: (int)  index

Returns the color at an index

Parameters:
indexThe index in the color array
- (void) insertNode: (TransferNode *)  node
atIndex: (int)  index 

Inserts a node to the transfer function

Parameters:
nodeThe node to insert
indexThe index where the node should be inserted
- (TransferNode *) nodeAtIndex: (int)  index

Returns the TransferNode at an index

Parameters:
indexThe index of the TransferNode
- (int) numberofColors

Returns the number of colors in the transfer function

Returns:
The number of colors
- (void) removeNodeAtIndex: (int)  index

Removes a TransferNode at an index

Parameters:
indexThe index of the TransferNode
- (void) setWidth: (int)  _width
height: (int)  _height 

Sets the width and height of the transfer functon panel

Parameters:
_widthThe width of the panel
_heightThe height of the panel

Member Data Documentation

- (Users ulrich Projects Xcode GoFlow ColorCodingLayer h NSMutableArray*) colors [protected]

Property Documentation

- (NSMutableArray*) colors [read, write, retain]

An array containg the colors of the transfer function form the GUI

- (int) height [read, write, assign]

The height of the transfer function panel

- (int) width [read, write, assign]

The width of the transfer function panel


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