Public Member Functions | Properties

Volume Class Reference

Representation of a volume object. More...

#import <Volume.h>

List of all members.

Public Member Functions

(id) - init
 Initialize a new Volume from the lobster.dat file.
(id) - initWithPath:
 Initialize a new Volume from a specific .dat file.
(BOOL) - loadDataFromFile:
 Load a new .dat file.
(float) - valueAtX:atY:atZ:
 Get the float value at a specific position.
(void) - calculate3DHistogramm
 Reload the histogramm.

Properties

NSProgressIndicator * indicator
NSTextField * txt
NSUInteger maxX
NSUInteger maxY
NSUInteger maxZ
NSUInteger length
NSUInteger maxTextureSize
NSUInteger maxHistValue
int * histogramm
float * glFloatArray

Detailed Description

Representation of a volume object.

The data of the volume will be loaded from a .dat file. A histogramm will be created too.


Member Function Documentation

- (void) calculate3DHistogramm

Reload the histogramm.

- (id) init

Initialize a new Volume from the lobster.dat file.

Returns:
A pointer to the object
- (id) initWithPath: (NSString *)  path

Initialize a new Volume from a specific .dat file.

Parameters:
pathThe path to the file
Returns:
A pointer to the object
- (BOOL) loadDataFromFile: (NSString *)  path

Load a new .dat file.

Parameters:
pathThe path to the file
Returns:
YES if the new data is loaded properly or NO
- (float) valueAtX: (int)  x
atY: (int)  y
atZ: (int)  z 

Get the float value at a specific position.

Parameters:
xThe x-coordinate
yThe y-coordinate
zThe z-coordinate
Returns:
The float value at the specific position.

Property Documentation

- (float *) glFloatArray [read, write, assign]
- (int *) histogramm [read, write, assign]
- (NSProgressIndicator *) indicator [read, write, retain]
- (NSUInteger) length [read, write, assign]
- (NSUInteger) maxHistValue [read, write, assign]
- (NSUInteger) maxTextureSize [read, write, assign]
- (NSUInteger) maxX [read, write, assign]
- (NSUInteger) maxY [read, write, assign]
- (NSUInteger) maxZ [read, write, assign]
- (NSTextField *) txt [read, write, retain]

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