Lynkeos  1.2
Public Member Functions | Private Attributes
MyDocument Class Reference

The document controler. More...

#import <MyDocument.h>

Inheritance diagram for MyDocument:
Inheritance graph
[legend]

List of all members.

Public Member Functions

(void) - createConnectedThread:
 Threads management.
Accessors

Read accessors to the class attributes

(MyObjectImageList *) - imageList
 Images to be processed.
(MyImageList *) - darkFrameList
 Thermal noise images.
(MyImageList *) - flatFieldList
 Optical attenuations.
(BOOL) - monochromeFlat
(MyAnalysisMethod- analysisMethod
(MyIntegerSize- lockedSize
(NSImage *) - stackedImage
(REAL- minLevel
(REAL- maxLevel
(NSString *) - windowFrame
GUIActions

Coming from window controllers

(void) - addEntry:
 Add the item to the current list.
(void) - deleteEntry:
 Remove the item from the current list.
(void) - changeEntrySelection:value:
(void) - changeReferenceEntry:
(void) - changeSearchSquareOrigin:
(void) - changeSearchSquareSide:
(void) - align
(void) - changeAnalyzeSquareOrigin:
(void) - changeAnalyzeSquareSide:
(void) - changeAnalysisMethod:
(void) - autoChangeSelection:
(void) - analyzeQuality
(void) - changeCropRectangle:
(void) - setDoubleSize:
(void) - setMonochromeFlat:
(void) - stack
(void) - invalidateStackedImage
(void) - postProcess::::
(void) - adjustLevels::
(void) - saveStackedImage:
(void) - exportMovie:

Private Attributes

MyImageList_darkFrameList
MyImageList_flatFieldList
MyObjectImageList_imageList
BOOL _monochromeFlat
MyAnalysisMethod _analysisMethod
MySizeLock_sizeLock
u_long _stackedImageNb
NSImage * _stackedImage
NSBitmapImageRep * _stackedRep
long _stack_sequence
REAL _minLevel
REAL _maxLevel
NSString * _windowFrame
MyPostProcessing_postProcess
 Processing helper class.
NSMutableArray * _threads
 Multithread control.
NSEnumerator_threadImageList
NSLock * _alignLock
FFT_DATA _alignSpectrum
io_connect_t _rootPort
MyImageListWindow_myWindow
 Window controller.

Detailed Description

The document controler.

This class controls the actions on the document. It dialogs with MyImageListWindow for GUI interactions and the Models classes for document contents change.


Member Function Documentation

- (void) addEntry: (MyImageListItem*)  item

Add the item to the current list.

Parameters:
itemitem to add to the list

The undo manager is updated for undoing the add

References _darkFrameList, _flatFieldList, _imageList, _myWindow, _sizeLock, MyImageList::addItem:, MyImageListWindow::refreshOutline, MyImageListItem::setAlignOffset:, MySizeLock::unlockSize, and MyImageListWindow::updateSidePopup.

- (void) adjustLevels: (REAL minV
: (REAL maxV 
- (void) align

References _analysisMethod.

- (void) analyzeQuality
- (void) autoChangeSelection: (double)  selectThreshold

References _imageList, _myWindow, and ImageMode.

References _analysisMethod.

References _imageList, _myWindow, and ImageMode.

- (void) changeAnalyzeSquareSide: (u_short)  side

References _imageList, _myWindow, and ImageMode.

References _imageList, _myWindow, and ImageMode.

- (void) changeEntrySelection: (MyImageListItem*)  entry
value: (BOOL)  v 

References _imageList, _myWindow, and ImageMode.

- (void) changeSearchSquareSide: (u_short)  side

References _imageList, _myWindow, and ImageMode.

- (void) createConnectedThread: (Class)  c

Threads management.

References ThreadControl::_cnx, and _threads.

Thermal noise images.

References _darkFrameList.

- (void) deleteEntry: (MyImageListItem*)  item
- (void) exportMovie: (id)  sender

Optical attenuations.

References _flatFieldList.

Images to be processed.

References _imageList.

References _stackedImage, and _stackedRep.

References _sizeLock.

References _maxLevel.

References _minLevel.

- (BOOL) monochromeFlat

References _monochromeFlat.

- (void) postProcess: (double)  dRadius
: (double)  dThreshold
: (double)  uRadius
: (double)  uGain 
- (void) saveStackedImage: (id)  sender
- (void) setDoubleSize: (BOOL)  ds

References _imageList, _myWindow, and ImageMode.

- (void) setMonochromeFlat: (BOOL)  mono
- (void) stack
- (NSImage *) stackedImage

References _stackedImage.

- (NSString *) windowFrame

References _windowFrame.


Member Data Documentation

- (NSLock*) _alignLock [private]
- (FFT_DATA) _alignSpectrum [private]
- (MyImageList*) _darkFrameList [private]
- (MyImageList*) _flatFieldList [private]
- (MyObjectImageList*) _imageList [private]
- (REAL) _maxLevel [private]

Referenced by maxLevel, and postProcess::::.

- (REAL) _minLevel [private]

Referenced by minLevel, and postProcess::::.

- (BOOL) _monochromeFlat [private]

Referenced by monochromeFlat, and setMonochromeFlat:.

- (MyImageListWindow*) _myWindow [private]

Processing helper class.

Referenced by adjustLevels::, and postProcess::::.

- (io_connect_t) _rootPort [private]
- (MySizeLock*) _sizeLock [private]
- (long) _stack_sequence [private]
- (NSImage*) _stackedImage [private]
- (u_long) _stackedImageNb [private]
- (NSBitmapImageRep*) _stackedRep [private]
- (NSMutableArray*) _threads [private]

Multithread control.

Referenced by createConnectedThread:.

- (NSString*) _windowFrame [private]

Referenced by windowFrame.


The documentation for this class was generated from the following files: