核心类功能列表

来源:互联网 发布:商务通在线客服软件 编辑:程序博客网 时间:2024/05/21 05:08
@interface DCMView: NSOpenGLView
@interface MPRDCMView : DCMView
@interface MPR2DView : NSOpenGLView <Schedulable>

@interface VTKView : vtkCocoaGLView
@interface VRView : VTKView

DCMPix.h
void PapyrusLockFunction( int lock)
void ConvertFloatToNative (float *theFloat)
void SwitchFloat (float *theFloat)
unsigned char* CreateIconFrom16 (float* image,  unsigned char*icon,  int height, int width, int iconWidth, long wl, long ww, BOOL isRGB)
static inline void CLIP_Left(NSPointInt *Polygon, long *count, NSPointInt V1, NSPointInt V2, NSPointInt UpLeft)
static inline void CLIP_Right(NSPointInt *Polygon, long *count, NSPointInt V1, NSPointInt V2, NSPointInt DownRight)
static inline void CLIP_Top(NSPointInt *Polygon,long *count, NSPointInt V1,NSPointInt V2, NSPointInt UpLeft)
static inline void CLIP_Bottom(NSPointInt *Polygon,long *count, NSPointInt V1,NSPointInt V2, NSPointInt DownRight)
void CLIP_Polygon(NSPointInt *inPoly, long inCount, NSPointInt *outPoly, long *outCount, NSPoint clipMin, NSPoint clipMax)
static inline long sgn( long x)
static inline void FillEdges( NSPointInt *p, long no, struct edge *edgeTable[])
struct edge *UpdateActive( struct edge *active, struct edge *edgeTable[], long curY)
static inline void DrawRuns(    struct edge *active,
                            long curY,
                            float *pix,
                            long w,
                            long h,
                            float min,
                            float max,
                            BOOL outside,
                            float newVal,
                            BOOL addition,
                            BOOL RGB,
                            BOOL compute,
                            float *imax,
                            float *imin,
                            long *count,
                            float *itotal,
                            float *idev,
                            float imean,
                            long orientation,
                            long stackNo,    // Only if X/Y orientation : for 3D VR scissor in any direction
                            BOOL restore,
                            float *values,
                            float *locations)
void ras_FillPolygon( NSPointInt *p,
                     long no,
                     float *pix,
                     long w,
                     long h,
                     long s,
                     float min,
                     float max,
                     BOOL outside,
                     float newVal,
                     BOOL addition,
                     BOOL RGB,
                     BOOL compute,
                     float *imax,
                     float *imin,
                     long *count,
                     float *itotal,
                     float *idev,
                     float imean,
                     long orientation,
                     long stackNo,
                     BOOL restore,
                     float *values,
                     float *locations)
static inline long pnpoly( NSPoint *p, long count, float x, float y)
inline long pnpolyInt( struct NSPointInt *p, long count, long x, long y)
long BresLine(int Ax, int Ay, int Bx, int By,long **xBuffer, long **yBuffer)
void erase_outside_circle(char *buf, int width, int height, int cx, int cy, int rad, char blackIndex)
- (void) computeMax:(float*) fResult pos:(int) pos threads:(int) threads object: (DCMPix*) o
- (void)computeMaxThread: (NSDictionary*)dict
- (void)applyNonLinearWLWWThread: (NSDictionary*)dict

- (DicomImage*) imageObj
- (DicomSeries*) seriesObj
- (DicomStudy*) studyObj
+(int) maxProcessors
+ (BOOL) IsPoint:(NSPoint) x inPolygon:(NSPoint*) pts size:(int) no
+ (void) resetUserDefaults
+ (void) checkUserDefaults: (BOOL) update
+ (void) setRunOsiriXInProtectedMode:(BOOL) v
+ (BOOL) isRunOsiriXInProtectedModeActivated
+ (NSPoint) originDeltaBetween:(DCMPix*) pix1 And:(DCMPix*) pix2
- (NSRect) rectCoordinates
+ (NSPoint) originCorrectedAccordingToOrientation: (DCMPix*) pix1
+ (NSImage*) resizeIfNecessary:(NSImage*) currentImage dcmPix: (DCMPix*) dcmPix
-(BOOL) hasUSRegions {
- (float) maxValueOfSeries
- (float) minValueOfSeries
- (NSImage*) image
- (unsigned char *) ConvertYbrToRgb: (unsigned char *) ybrImage :(int) w :(int) h :(long) theKind :(char) planarConfig
- (float*) getLineROIValue :(long*) numberOfValues :(ROI*) roi
- (float*) getROIValue: (long*)numberOfValues : (ROI*)roi : (float**)locations
- (BOOL)isInROI: (ROI*)roi : (NSPoint)pt
- (void) prepareRestore
- (void) freeRestore
- (unsigned char*) getMapFromPolygonROI:(ROI*) roi size:(NSSize*) size origin:(NSPoint*) ROIorigin
+ (unsigned char*) getMapFromPolygonROI:(ROI*) roi size:(NSSize*) size origin:(NSPoint*) ROIorigin
- (void) fillROI:(ROI*) roi newVal :(float) newVal minValue :(float) minValue maxValue :(float) maxValue outside :(BOOL) outside orientationStack :(long) orientationStack stackNo :(long) stackNo restore :(BOOL) restore addition:(BOOL)

addition;
- (void) fillROI:(ROI*) roi newVal :(float) newVal minValue :(float) minValue maxValue :(float) maxValue outside :(BOOL) outside orientationStack :(long) orientationStack stackNo :(long) stackNo restore :(BOOL) restore addition:(BOOL)

addition spline:(BOOL) spline;
- (void) fillROI:(ROI*) roi newVal :(float) newVal minValue :(float) minValue maxValue :(float) maxValue outside :(BOOL) outside orientationStack :(long) orientationStack stackNo :(long) stackNo restore :(BOOL) restore addition:(BOOL)

addition spline:(BOOL) spline clipMin: (NSPoint) clipMin clipMax: (NSPoint) clipMax;
- (void) fillROI:(ROI*) roi :(float) newVal :(float) minValue :(float) maxValue :(BOOL) outside :(long) orientationStack :(long) stackNo
- (void) fillROI:(ROI*) roi :(float) newVal :(float) minValue :(float) maxValue :(BOOL) outside :(long) orientationStack :(long) stackNo :(BOOL) restore
- (void) fillROI:(ROI*) roi :(float) newVal :(float) minValue :(float) maxValue :(BOOL) outside
- (int)calciumCofactorForROI:(ROI *)roi threshold:(int)threshold{
+ (double) moment: (float *) x length:(long) length mean: (double) mean order: (int) order
+ (double) skewness: (float*) data length: (long) length mean: (double) mean
+ (double) kurtosis: (float*) data length: (long) length mean: (double) mean
- (void) computeROIBoundsFromPoints: (NSPointInt*) pts count: (long) count upleftx:(long*) upleftx uplefty:(long*)uplefty downrightx:(long*)downrightx downrighty:(long*) downrighty
- (void) computeROI:(ROI*) roi :(float*) mean :(float *)total :(float *)dev :(float *)min :(float *)max
 (void) computeROI:(ROI*) roi :(float*) mean :(float *)total :(float *)dev :(float *)min :(float *)max :(float *)skewness :(float*) kurtosis
- (void) setRGB:(BOOL) b
- (void) freefImageWhenDone:(BOOL) b
-(void) setfImage:(float*) ptr
- (BOOL) isLoaded
- (float*) fImage
- (double) pixelRatio { [self CheckLoad]; return pixelRatio; }
- (double) pixelSpacingY { [self CheckLoad]; return pixelSpacingY; }
- (double) pixelSpacingX { [self CheckLoad]; return pixelSpacingX; }
- (void) setPixelX: (int) x Y:(int) y value:(float) v
- (void) setPixelSpacingX :(double) s
- (void) setPixelSpacingY :(double) s
- (double) originX { [self CheckLoad]; return originX;}
- (double) originY { [self CheckLoad]; return originY;}
- (double) originZ { [self CheckLoad]; return originZ;}
- (void) origin: (float*)o
- (void) originDouble: (double*)o
- (void) setOrigin: (float*)o
- (void) setOriginDouble: (double*)o
- (double) sliceLocation{ [self CheckLoad]; return sliceLocation;}
- (void) setSliceLocation: (double)l { [self CheckLoad]; sliceLocation = l;}
- (void) computeSliceLocation
- (double) sliceThickness { [self CheckLoad]; return sliceThickness;}
- (void) setSliceThickness: (double)l
- (double) spacingBetweenSlices { [self CheckLoad]; return spacingBetweenSlices;}
- (double) sliceInterval { [self CheckLoad]; return sliceInterval; }
- (void) setSliceInterval: (double)s { [self CheckLoad]; sliceInterval = s; }
- (float) slope { [self CheckLoad]; return slope; }
- (float) offset { [self CheckLoad]; return offset; }
- (float) ww { [self CheckLoad]; return ww; }
- (float) wl { [self CheckLoad]; return wl; }
- (float) fullww
- (float) fullwl
- (float) savedWL { [self CheckLoad]; return savedWL; }
- (float) savedWW { [self CheckLoad]; return savedWW; }
- (void) setSavedWL: (float)l { [self CheckLoad]; savedWL = l; }
- (void) setSavedWW: (float)w { [self CheckLoad]; savedWW = w; }
-(float) cineRate {[self CheckLoad]; return cineRate;}
-(id) myinitEmpty
-(void) setArrayPix :(NSArray*) array :(short) i
- (void) initParameters
- (id) initwithdata :(float*) im :(short) pixelSize :(long) xDim :(long) yDim :(float) xSpace :(float) ySpace :(float) oX :(float) oY :(float) oZ :(BOOL) volSize
- (id) initWithData :(float*) im :(short) pixelSize :(long) xDim :(long) yDim :(float) xSpace :(float) ySpace :(float) oX :(float) oY :(float) oZ :(BOOL) volSize
- (id) initWithData :(float*) im :(short) pixelSize :(long) xDim :(long) yDim :(float) xSpace :(float) ySpace :(float) oX :(float) oY :(float) oZ
- (id) initwithdata :(float*) im :(short) pixelSize :(long) xDim :(long) yDim :(float) xSpace :(float) ySpace :(float) oX :(float) oY :(float) oZ
+ (id) dcmPixWithImageObj: (DicomImage*) image
- (id) initWithImageObj: (DicomImage *) image
- (id)initWithContentsOfFile: (NSString *)file
- (id) initWithPath:(NSString*) s :(long) pos :(long) tot :(float*) ptr :(long) f :(long) ss isBonjour:(BOOL) hello imageObj: (NSManagedObject*) iO
- (id) myinit:(NSString*) s :(long) pos :(long) tot :(float*) ptr :(long) f :(long) ss isBonjour:(BOOL) hello imageObj: (NSManagedObject*) iO
- (id) initWithPath:(NSString*) s :(long) pos :(long) tot :(float*) ptr :(long) f :(long) ss
- (id) myinit:(NSString*) s :(long) pos :(long) tot :(float*) ptr :(long) f :(long) ss
- (id) copyWithZone:(NSZone *)zone
-(void) LoadBioradPic
-(void) LoadTiff:(long) directory
-(void) LoadFVTiff
-(void) LoadLSM
- (void) computeTotalDoseCorrected
- (void)createROIsFromRTSTRUCT: (DCMObject*)dcmObject
- (void)createROIsFromRTSTRUCTThread: (NSDictionary*)dict
- (void) setVOILUT:(int) first
            number:(unsigned int) number
             depth:(unsigned int) depth
             table:(unsigned int *) table
             image:(unsigned short*) src
          isSigned:(BOOL) isSigned
- (void) reloadAnnotations
- (void) dcmFrameworkLoad0x0018: (DCMObject*) dcmObject
- (void) dcmFrameworkLoad0x0020: (DCMObject*) dcmObject
- (void) dcmFrameworkLoad0x0028: (DCMObject*) dcmObject
- (void) dcmFrameworkLoadOphthalmic: (DCMObject*) dcmObject
- (BOOL)loadDICOMDCMFramework
+ (void) purgeCachedDictionaries
- (void) clearCachedDCMFrameworkFiles
- (void) clearCachedPapyGroups
- (BOOL) loadDICOMPapyrus
- (BOOL) isDICOMFile:(NSString *) file
- (void) getDataFromNSImage:(NSImage*) otherImage
- (void) CheckLoadIn
-(void) CheckLoadFromThread:(NSThread*) loadingThread
-(void) CheckLoad
- (void)setBaseAddr: (char*) ptr
- (char*)baseAddr
- (void)setLUT12baseAddr: (unsigned char*) ptr
- (unsigned char*)LUT12baseAddr;
+ (NSPoint) rotatePoint:(NSPoint)pt aroundPoint:(NSPoint)c angle:(float)a;
- (void) drawImage: (vImage_Buffer*) src inImage: (vImage_Buffer*) dst offset:(NSPoint) oo background:(float) b transparency: (BOOL) t
- (void) drawImage: (vImage_Buffer*) src inImage: (vImage_Buffer*) dst offset:(NSPoint) oo background:(float) b
-(DCMPix*) mergeWithDCMPix:(DCMPix*) o offset:(NSPoint) oo
- (void) orientationCorrected:(float*) correctedOrientation rotation:(float) rotation xFlipped: (BOOL) xFlipped yFlipped: (BOOL) yFlipped
- (NSRect) usefulRectWithRotation:(float) r scale:(float) scale xFlipped:(BOOL) xF yFlipped: (BOOL) yF
- (DCMPix*) renderWithRotation:(float) r scale:(float) scale xFlipped:(BOOL) xF yFlipped: (BOOL) yF
- (DCMPix*) renderWithRotation:(float) r scale:(float) scale xFlipped:(BOOL) xF yFlipped: (BOOL) yF backgroundOffset: (float) bgO
- (DCMPix*) renderInRectSize:(NSSize) rectSize atPosition:(NSPoint) oo rotation:(float) r scale:(float) scale xFlipped:(BOOL) xF yFlipped: (BOOL) yF;
- (DCMPix*) renderInRectSize:(NSSize) rectSize atPosition:(NSPoint) oo rotation:(float) r scale:(float) scale xFlipped:(BOOL) xF yFlipped: (BOOL) yF smartCrop: (BOOL) smartCrop;
- (NSImage*) renderNSImageInRectSize:(NSSize) rectSize atPosition:(NSPoint) oo rotation:(float) r scale:(float) scale xFlipped:(BOOL) xF yFlipped: (BOOL) yF
-(void) orientationDouble:(double*) c
-(BOOL) identicalOrientationTo:(DCMPix*) c
-(void) orientation:(float*) c
-(void) setOrientationDouble:(double*) c
-(void) setOrientation:(float*) c
- (BOOL) is3DPlane
-(void) convertPixX: (float) x pixY: (float) y toDICOMCoords: (float*) d pixelCenter: (BOOL) pixelCenter
-(void) convertPixX: (float) x pixY: (float) y toDICOMCoords: (float*) d
-(void) convertPixDoubleX: (double) x pixY: (double) y toDICOMCoords: (double*) d pixelCenter: (BOOL) pixelCenter
-(void) convertPixDoubleX: (double) x pixY: (double) y toDICOMCoords: (double*) d
-(void) convertDICOMCoords: (float*) dc toSliceCoords: (float*) sc pixelCenter:(BOOL) pixelCenter
- (void) getSliceCenter3DCoords: (float*) center
- (void) convertDICOMCoords: (float*) dc toSliceCoords: (float*) sc
- (void) convertDICOMCoordsDouble: (double*) dc toSliceCoords: (double*) sc pixelCenter:(BOOL) pixelCenter
- (void) convertDICOMCoordsDouble: (double*) dc toSliceCoords: (double*) sc
+(int) nearestSliceInPixelList: (NSArray*)pixList withDICOMCoords: (float*)dicomCoords sliceCoords: (float*)nearestSliceCoords
- (void)computePixMinPixMax
- (short)stack{ if( stackMode == 0) return 1; return stack; }
- (void)setFusion: (short)m : (short)s : (short)direction
- (void)setSourceFile:(NSString*)s
-(NSString*) sourceFile
- (void) ConvertToBW:(long) mode
- (void)ConvertToRGB:(long) mode :(long) cwl :(long) cww
- (void) setThickSlabController:( ThickSlabController*) ts
-(void) setFixed8bitsWLWW:(BOOL) f
- (float) getPixelValueX: (long) x Y:(long) y
-(void) imageArithmeticMultiplication:(DCMPix*) sub
-(float*) multiplyImages :(float*) input :(float*) subfImage
-(void) imageArithmeticSubtraction:(DCMPix*) sub
-(void) imageArithmeticSubtraction:(DCMPix*) sub absolute:(BOOL) abs
-(float*) arithmeticSubtractImages :(float*) input :(float*) subfImage
-(float*) arithmeticSubtractImages :(float*) input :(float*) subfImage absolute:(BOOL) abs
- (void)setSubSlidersPercent: (float)p gamma: (float)g zero: (float)z
- (void) setSubSlidersPercent: (float) p
- (void)setSubPixOffset:(NSPoint) subOffset
-(NSPoint) subMinMax:(float*)input :(float*)subfImage
- (void) setSubtractedfImage:(float*)mask :(NSPoint)smm
-(float*) subtractImages:(float*)input :(float*)subfImage
-(void) fImageTime:(float)newTime {fImageTime = newTime;}
-(float) fImageTime {return fImageTime;}
-(void) maskID:(long)newID {maskID = newID;}
-(long) maskID {return maskID;}
-(void) maskTime:(float)newMaskTime {maskTime = newMaskTime;}
-(float) maskTime {return maskTime;}
-(void) positionerPrimaryAngle:(NSNumber*)newPositionerPrimaryAngle
-(NSNumber*) positionerPrimaryAngle{return positionerPrimaryAngle;}
-(void) positionerSecondaryAngle:(NSNumber*)newPositionerSecondaryAngle
-(NSNumber*) positionerSecondaryAngle{return positionerSecondaryAngle;}
-(void) setShutterRect:(NSRect) s
-(void) setShutterEnabled:(BOOL) v
- (void) setBlackIndex:(int) i
-(void) applyShutter
- (float*) applyConvolutionOnImage:(float*) src RGB:(BOOL) color
- (void) applyConvolutionOnSourceImage
- (float*) computeThickSlabRGB
- (float*) computeThickSlab
- (float*)computefImage
- (void)setTransferFunction:(NSData*) tf
- (void) compute8bitRepresentation
- (void) changeWLWW:(float)newWL :(float)newWW
- (void) kill8bitsImage
- (void)checkImageAvailble: (float)newWW : (float)newWL
- (NSImage*) generateThumbnailImageWithWW: (float)newWW WL: (float)newWL
- (void) allocate8bitRepresentation
- (long)ID { return imID; }
- (void)setID: (long)i { imID = i; }
- (long)Tot {
-(void)setTot: (long) tot
-(long)pwidth
-(long)pheight
- (void)setUpdateToApply { updateToBeApplied = YES; }
-(BOOL) updateToApply { return updateToBeApplied;}
- (float) normalization
- (short) kernelsize
- (float*) kernel
-(void) setConvolutionKernel:(float*)val :(short) size :(float) norm
- (void) revert
- (void) revert:(BOOL) reloadAnnotations
- (void) dealloc
- (float) appliedFactorPET2SUV
-(void) copySUVfrom: (DCMPix*)from
- (void) checkSUV
- (NSString *)description
- (NSString*) getDICOMFieldValueForGroup:(int)group element:(int)element DCMLink:(DCMObject*)dcmObject
- (void)loadCustomImageAnnotationsDBFields: (DicomImage*) imageObj
- (void)loadCustomImageAnnotationsPapyLink:(int)fileNb DCMLink:(DCMObject*)dcmObject
- (NSMutableDictionary*) annotationsDBFields
- (void) setAnnotationsDBFields: (NSMutableDictionary*) d
- (NSMutableDictionary*) annotationsDictionary
- (void) setAnnotationsDictionary: (NSMutableDictionary*) d








---------------------------------------------------
int intersect3D_SegmentPlane( float *P0, float *P1, float *Pnormal, float *Ppoint, float* resultPt )
void Normalise(XYZ *p)
XYZ ArbitraryRotate(XYZ p,double theta,XYZ r)
short intersect3D_2Planes( float *Pn1, float *Pv1, float *Pn2, float *Pv2, float *u, float *iP)
static void DrawGLImageTile (unsigned long drawType, float imageWidth, float imageHeight, float zoom, float textureWidth, float textureHeight,
                             float offsetX, float offsetY, float endX, float endY, Boolean texturesOverlap, Boolean textureRectangle)
static long GetNextTextureSize (long textureDimension, long maxTextureSize, Boolean textureRectangle)
static long GetTextureNumFromTextureDim (long textureDimension, long maxTextureSize, Boolean texturesOverlap, Boolean textureRectangle)
float min(float a, float b)
float distanceNSPoint(NSPoint p1, NSPoint p2)
BOOL lineIntersectsRect(NSPoint lineStarts, NSPoint lineEnds, NSRect rect)
NSInteger studyCompare(ViewerController *v1, ViewerController *v2, void *context)

@implementation DCMExportPlugin
- (void) finalize:(DCMObject*) dcmDst withSourceObject:(DCMObject*) dcmObject
- (NSString*) seriesName

@implementation DCMView
- (BOOL) eventToPlugins: (NSEvent*) event
+ (void) setDontListenToSyncMessage: (BOOL) v
+ (BOOL) intersectionBetweenTwoLinesA1:(NSPoint) a1 A2:(NSPoint) a2 B1:(NSPoint) b1 B2:(NSPoint) b2 result:(NSPoint*) r
+ (float) Magnitude:( NSPoint) Point1 :(NSPoint) Point2
+ (int) DistancePointLine: (NSPoint) Point :(NSPoint) startPoint :(NSPoint) endPoint :(float*) Distance
+ (NSString*) findWLWWPreset: (float) wl :(float) ww :(DCMPix*) pix
+ (long) lengthOfString:( char *) cstr forFont:(long *)fontSizeArray
+(void) setDefaults
+(void) setCLUTBARS:(int) c ANNOTATIONS:(int) a
+ (BOOL) noPropagateSettingsInSeriesForModality: (NSString*) m
+ (NSSize) sizeOfString:(NSString *)string forFont:(NSFont *)font
- (void) computeColor
- (void) reapplyWindowLevel
- (BOOL) isKeyImage
- (void) updateTilingViews
- (DCMPix*) mergeFused
- (IBAction) mergeFusedImages:(id)sender
- (IBAction) print:(id)sender
- (void) erase2DPointMarker
- (void) draw2DPointMarker
- (void)drawRepulsorToolArea;
- (void)setAlphaRepulsor:(NSTimer*)theTimer
- (void)drawROISelectorRegion;
- (void) Display3DPoint:(NSNotification*) note
-(OrthogonalMPRController*) controller
- (void) stopROIEditingForce:(BOOL) force
- (void) stopROIEditing
- (void) blendingPropagate
- (void) roiLoadFromFilesArray: (NSArray*) filenames
- (BOOL)validateMenuItem:(NSMenuItem *)item
- (IBAction) roiSaveSelected: (id) sender
- (void) roiLoadFromXML: (NSDictionary *) xml
- (IBAction) roiLoadFromXMLFiles: (NSArray*) filenames
- (void) undo:(id) sender
- (void) redo:(id) sender
- (void)paste:(id)sender
-(IBAction) copy:(id) sender
-(IBAction) cut:(id) sender
- (void) setYFlipped:(BOOL) v
- (void) setXFlipped:(BOOL) v
- (void)flipVertical: (id)sender
- (void)flipHorizontal: (id)sender
- (void) DrawNSStringGL:(NSString*)str :(GLuint)fontL :(long)x :(long)y rightAlignment:(BOOL)right useStringTexture:(BOOL)stringTex
+ (void) purgeStringTextureCache
- (void)DrawNSStringGL:(NSString*)str :(GLuint)fontL :(long)x :(long)y align:(DCMViewTextAlign)align useStringTexture:(BOOL)stringTex;
- (void)DrawCStringGL:(char*)cstrOut :(GLuint)fontL :(long)x :(long)y rightAlignment:(BOOL)right useStringTexture:(BOOL)stringTex
- (void)DrawCStringGL:(char*)cstrOut :(GLuint)fontL :(long)x :(long)y align:(DCMViewTextAlign)align useStringTexture:(BOOL)stringTex;
- (void) DrawCStringGL: (char *) cstrOut :(GLuint) fontL :(long) x :(long) y
- (void) DrawNSStringGL: (NSString*) cstrOut :(GLuint) fontL :(long) x :(long) y
- (ToolMode) currentToolRight
-(void) setRightTool:(ToolMode) i
-(void) setCurrentTool:(ToolMode) i
- (void) gClickCountSetReset
- (BOOL) isScaledFit
- (float) scaleToFitForDCMPix: (DCMPix*) d
- (void) scaleToFit
- (void) setIndexWithReset:(short) index :(BOOL) sizeToFit
- (void) setPixels: (NSMutableArray*) pixels files: (NSArray*) files rois: (NSMutableArray*) rois firstImage: (short) firstImage level: (char) level reset: (BOOL) reset
- (void) setDCM:(NSMutableArray*) c :(NSArray*)d :(NSMutableArray*)e :(short) firstImage :(char) type :(BOOL) reset
- (void) dealloc
- (BOOL) COPYSETTINGSINSERIES
- (void) setCOPYSETTINGSINSERIESdirectly: (BOOL) b
- (void) setCOPYSETTINGSINSERIES: (BOOL) b
- (void) switchCopySettingsInSeries:(id) sender
- (void) setIndex:(short) index
-(BOOL) acceptsFirstMouse:(NSEvent*) theEvent
- (BOOL)acceptsFirstResponder
- (BOOL) containsScrollThroughModality
- (BOOL) scrollThroughSeriesIfNecessary: (int) i
- (void) keyDown:(NSEvent *)event
- (BOOL) shouldPropagate
- (void)deleteROIGroupID:(NSTimeInterval)groupID
- (BOOL) allIdenticalValues:(NSString*) v inArray:(NSArray*) a
- (void) computeDescriptionInLarge
- (void) switchShowDescriptionInLarge
- (void) flagsChanged:(NSEvent *)event
- (void)mouseUp:(NSEvent *)event
-(void) roiSet:(ROI*) aRoi
-(void) roiSet
-(BOOL) roiTool:(ToolMode) tool
- (IBAction) selectAll: (id) sender
-(void) deleteLens
-(void) computeMagnifyLens:(NSPoint) p
- (void)makeTextureFromImage:(NSImage*)image forTexture:(GLuint*)texName buffer:(GLubyte*)buffer textureUnit:(GLuint)textureUnit;
-(void) mouseMovedInView: (NSPoint) eventLocationInWindow
- (void) DCMViewMouseMovedUpdated: (NSNotification*) n
-(void) mouseMoved: (NSEvent*) theEvent
- (ToolMode) getTool: (NSEvent*) event
- (void) setStartWLWW
- (ROI*) clickInROI: (NSPoint) tempPt
- (void) sync3DPosition
-(void) magnifyWithEvent:(NSEvent *)anEvent
-(void) rotateWithEvent:(NSEvent *)anEvent
-(void) swipeWithEvent:(NSEvent *)anEvent
- (void) deleteInvalidROIsForArray: (NSMutableArray*) r
- (void) deleteInvalidROIs
- (void) mouseDown:(NSEvent *)event
- (void)scrollWheel:(NSEvent *)theEvent
- (void) otherMouseDown:(NSEvent *)event
- (void) rightMouseDown:(NSEvent *)event
- (void) rightMouseUp:(NSEvent *)event
- (void)otherMouseDragged:(NSEvent *)event
-(void)otherMouseUp:(NSEvent*)event
- (void)rightMouseDragged:(NSEvent *)event
-(NSMenu*) menuForEvent:(NSEvent *)theEvent
- (IBAction) decreaseThickness: (id) sender
- (IBAction) increaseThickness: (id) sender
- (void)mouseDragged:(NSEvent *)event
- (NSPoint)currentPointInView:(NSEvent *)event
- (BOOL)checkROIsForHitAtPoint:(NSPoint)point  forEvent:(NSEvent *)event
- (BOOL) mouseDraggedForROIs:(NSEvent *)event
- (void)mouseDragged3DRotate:(NSEvent *)event
- (void)mouseDraggedCrosshair:(NSEvent *)event
- (void)mouseDraggedZoom:(NSEvent *)event
- (void)mouseDraggedTranslate:(NSEvent *)event
- (void)mouseDraggedRotate:(NSEvent *)event
- (void)mouseDraggedImageScroll:(NSEvent *)event
- (void)mouseDraggedBlending:(NSEvent *)event
- (void)mouseDraggedWindowLevel:(NSEvent *)event
- (NSMutableArray*) selectedROIs
- (void)mouseDraggedRepulsor:(NSEvent *)event
- (void)mouseDraggedROISelector:(NSEvent *)event
- (void) getWLWW:(float*) wl :(float*) ww
- (void) changeWLWW: (NSNotification*) note
- (void) setWLWW:(float) wl :(float) ww
- (void)discretelySetWLWW:(float)wl :(float)ww
-(void) setFusion:(short) mode :(short) stacks
-(void) multiply:(DCMView*) bV
-(void) subtract:(DCMView*) bV
- (void) subtract:(DCMView*) bV absolute:(BOOL) abs
-(void) getCLUT:( unsigned char**) r : (unsigned char**) g : (unsigned char**) b
- (void) setCLUT:( unsigned char*) r : (unsigned char*) g : (unsigned char*) b
- (void) prepareOpenGL
+ (void) computePETBlendingCLUT
- (id)initWithFrameInt:(NSRect)frameRect
- (void) prepareToRelease
- (void)windowWillClose:(NSNotification *)notification
- (NSDictionary*) syncMessage:(short) inc
-(void) sendSyncMessage:(short) inc
- (void) computeSliceIntersection: (DCMPix*) oPix sliceFromTo: (float[2][3]) sft vector: (float*) vectorB origin: (float*) originB
- (BOOL) computeSlice:(DCMPix*) oPix :(DCMPix*) oPix2
- (IBAction) alwaysSyncMenu:(id) sender
-(void) setSyncOnLocationImpossible:(BOOL) v
-(void) sync:(NSNotification*)note
-(void) roiSelected:(NSNotification*) note
-(void) roiRemoved:(NSNotification*)note
-(void) roiChange:(NSNotification*)note
-(void) updateView:(NSNotification*)note
-(void) updateImage {
-(void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context
-(void) barMenu:(id) sender
-(void) annotMenu:(id) sender
-(void) syncronize:(id) sender
- (short)syncro { return syncro; }
+ (short)syncro { return syncro; }
+ (void)setSyncro:(short) s
- (void)setSyncro:(short) s
-(void) FindMinimumOpenGLCapabilities
-(NSPoint) rotatePoint:(NSPoint) a
-(NSPoint) ConvertFromGL2GL:(NSPoint) a toView:(DCMView*) otherView
-(NSPoint) ConvertFromGL2View:(NSPoint) a
-(NSPoint) ConvertFromGL2NSView:(NSPoint) a
-(NSPoint) ConvertFromGL2Screen:(NSPoint) a
-(NSPoint) ConvertFromNSView2GL:(NSPoint) a
- (NSPoint) ConvertFromView2GL:(NSPoint) a;
- (NSPoint) ConvertFromUpLeftView2GL:(NSPoint) a
- (void) drawRectIn:(NSRect) size
                   :(GLuint *) texture
                   :(NSPoint) offset
                   :(long) tX :(long) tY :(long) tW :(long) tH
- (NSPoint) positionWithoutRotation: (NSPoint) tPt
- (double)pixelSpacing { return curDCM.pixelSpacingX; }
- (double)pixelSpacingX { return curDCM.pixelSpacingX; }
- (double)pixelSpacingY { return curDCM.pixelSpacingY; }
- (void)getOrientationText:(char *) orientation : (float *) vector :(BOOL) inv
+ (float) pbase_Plane: (float*) point :(float*) planeOrigin :(float*) planeVector :(float*) pointProjection
+ (float) angleBetweenVector: (float*) v1 andVector: (float*) v2
+ (double) angleBetweenVectorD: (double*) v1 andVectorD: (double*) v2
- (int) findPlaneAndPoint:(float*) pt :(float*) location
+ (NSArray*)cleanedOutDcmPixArray:(NSArray*)input
- (int) findPlaneForPoint:(float*) pt preferParallelTo:(float*)parto localPoint:(float*) location distanceWithPlane: (float*)
- (int) findPlaneForPoint:(float*) pt localPoint:(float*) location distanceWithPlane: (float*) distanceResult
- (void) drawOrientation:(NSRect) size
-(void) getThickSlabThickness:(float*) thickness location:(float*) location
- (float) displayedScaleValue
- (float) displayedRotation
- (void) setStudyDateIndex:(NSUInteger)s
- (void) drawTextualData:(NSRect) size annotationsLevel:(long) annotations fullText: (BOOL) fullText onlyOrientation: (BOOL) onlyOrientation
- (void) drawTextualData:(NSRect) size :(long) annotations
- (void) applyImageTransformation
- (void) drawRect:(NSRect) r
- (void) drawCrossLines:(float[2][3]) sft ctx: (CGLContextObj) cgl_ctx
- (void) drawCrossLines:(float[2][3]) sft ctx: (CGLContextObj) cgl_ctx withShift: (double) shift
- (void) drawCrossLines:(float[2][3]) sft ctx: (CGLContextObj) cgl_ctx withShift: (double) shift showPoint: (BOOL) showPoint
- (void) drawCrossLines:(float[2][3]) sft ctx: (CGLContextObj) cgl_ctx perpendicular: (BOOL) perpendicular
- (void) drawCrossLines:(float[2][3]) sft ctx: (CGLContextObj) cgl_ctx perpendicular:(BOOL) perpendicular withShift:(double) shift
- (void) drawCrossLines:(float[2][3]) sft ctx: (CGLContextObj) cgl_ctx perpendicular:(BOOL) perpendicular withShift:(double) shift half:(BOOL) half
- (void) drawCrossLines:(float[2][3]) sft ctx: (CGLContextObj) cgl_ctx perpendicular:(BOOL) perpendicular withShift:(double) shift half:(BOOL) half showPoint:(BOOL) showPoint
- (void)drawWaveform {
- (void) drawRect:(NSRect)aRect withContext:(NSOpenGLContext *)ctx
- (void) setFrame:(NSRect)frameRect
- (void) reshape    // scrolled, moved or resized
-(unsigned char*) getRawPixels:(long*) width :(long*) height :(long*) spp :(long*) bpp :(BOOL) screenCapture :(BOOL) force8bits
- (unsigned char*) getRawPixelsWidth:(long*) width height:(long*) height spp:(long*) spp bpp:(long*) bpp screenCapture:(BOOL) screenCapture force8bits:(BOOL) force8bits removeGraphical:(BOOL) removeGraphical squarePixels:(BOOL)

squarePixels allTiles:(BOOL) allTiles allowSmartCropping:(BOOL) allowSmartCropping origin:(float*) imOrigin spacing:(float*) imSpacing
- (unsigned char*) getRawPixelsWidth:(long*) width height:(long*) height spp:(long*) spp bpp:(long*) bpp screenCapture:(BOOL) screenCapture force8bits:(BOOL) force8bits removeGraphical:(BOOL) removeGraphical squarePixels:(BOOL)

squarePixels allTiles:(BOOL) allTiles allowSmartCropping:(BOOL) allowSmartCropping origin:(float*) imOrigin spacing:(float*) imSpacing offset:(int*) offset isSigned:(BOOL*) isSigned
- (unsigned char*) getRawPixelsWidth:(long*) width height:(long*) height spp:(long*) spp bpp:(long*) bpp screenCapture:(BOOL) screenCapture force8bits:(BOOL) force8bits removeGraphical:(BOOL) removeGraphical squarePixels:(BOOL)

squarePixels allTiles:(BOOL) allTiles allowSmartCropping:(BOOL) allowSmartCropping origin:(float*) imOrigin spacing:(float*) imSpacing offset:(int*) offset isSigned:(BOOL*) isSigned views: (NSArray*) views viewsRect: (NSArray*) rects
- (NSRect) smartCrop: (NSPoint*) ori
- (NSRect) smartCrop
-(unsigned char*) getRawPixelsViewWidth:(long*) width height:(long*) height spp:(long*) spp bpp:(long*) bpp screenCapture:(BOOL) screenCapture force8bits:(BOOL) force8bits removeGraphical:(BOOL) removeGraphical squarePixels:(BOOL)

squarePixels allowSmartCropping:(BOOL) allowSmartCropping origin:(float*) imOrigin spacing:(float*) imSpacingnsigned char*) getRawPixelsViewWidth:(long*) width height:(long*) height spp:(long*) spp bpp:(long*) bpp screenCapture:(BOOL)

screenCapture force8bits:(BOOL) force8bits removeGraphical:(BOOL) removeGraphical squarePixels:(BOOL) squarePixels allowSmartCropping:(BOOL) allowSmartCropping origin:(float*) imOrigin spacing:(float*) imSpacing offset:(int*) offset

isSigned:(BOOL*) isSigned
- (NSImage*) exportNSImageCurrentImageWithSize:(int) size
- (NSDictionary*) exportDCMCurrentImage: (DICOMExport*) exportDCM size:(int) size
- (NSDictionary*) exportDCMCurrentImage: (DICOMExport*) exportDCM size:(int) size  views: (NSArray*) views viewsRect: (NSArray*) viewsRect
- (NSDictionary*) exportDCMCurrentImage: (DICOMExport*) exportDCM size:(int) size  views: (NSArray*) views viewsRect: (NSArray*) viewsRect exportSpacingAndOrigin: (BOOL) exportSpacingAndOrigin
- (NSImage*) nsimage
- (NSImage*) nsimage:(BOOL) originalSize
- (NSImage*) nsimage:(BOOL) originalSize allViewers:(BOOL) allViewers
- (BOOL) zoomIsSoftwareInterpolated
-(void) setScaleValueCentered:(float) x
- (void) setScaleValue:(float) x
-(void) setAlpha:(float) a
-(void) setBlendingFactor:(float) f
-(void) setBlendingMode:(long) f
-(void) setRotation:(float) x
- (void) orientationCorrectedToView:(float*) correctedOrientation
-(void) setOriginWithRotationX:(float) x Y:(float) y
-(void) setOrigin:(NSPoint) x
-(void) setOriginX:(float) x Y:(float) y
- (void) colorTables:(unsigned char **) a :(unsigned char **) r :(unsigned char **)g :(unsigned char **) b
- (void) blendingColorTables:(unsigned char **) a :(unsigned char **) r :(unsigned char **)g :(unsigned char **) b
- (BOOL) softwareInterpolation
- (GLuint *) loadTextureIn:(GLuint *) texture blending:(BOOL) blending colorBuf: (unsigned char**) colorBufPtr textureX:(long*) tX textureY:(long*) tY redTable:(unsigned char*) rT greenTable:(unsigned char*) gT blueTable:(unsigned char*)

bT textureWidth: (long*) tW textureHeight:(long*) tH resampledBaseAddr:(char**) rAddr resampledBaseAddrSize:(int*) rBAddrSize
- (IBAction) sliderRGBFactor:(id) sender
- (void) sliderAction:(id) sender
- (void) increaseFontSize:(id) sender
- (void) decreaseFontSize:(id) sender
- (void) changeLabelGLFontNotification:(NSNotification*) note
- (void) changeGLFontNotification:(NSNotification*) note
- (void)changeFont:(id)sender
- (void)loadTexturesCompute
- (void) loadTextures
-(void) becomeMainWindow
-(void) becomeKeyWindow
- (BOOL)becomeFirstResponder
- (id)initWithFrame:(NSRect)frame
- (id)initWithFrame:(NSRect)frame imageRows:(int)rows  imageColumns:(int)columns
- (void)resizeWithOldSuperviewSize:(NSSize)oldBoundsSiz
-(void) setRows:(int)rows columns:(int)columns
-(void)setImageParamatersFromView:(DCMView *)aView
- (BOOL)resignFirstResponder
-(void) updateCurrentImage: (NSNotification*) note
-(void)newImageViewisKey:(NSNotification *)note
- (void)mouseEntered:(NSEvent *)theEvent
- (void)mouseExited:(NSEvent *)theEvent
-(void)cursorUpdate:(NSEvent *)theEvent
-(void) setCursorForView: (ToolMode) tool
- (float) getBlendedSUV
- (float)getSUV
+ (void)setPluginOverridesMouse: (BOOL)override {
- (IBAction) realSize:(id)sender
- (IBAction)actualSize:(id)sender
- (IBAction)scaleToFit:(id)sender
- (DicomImage *)imageObj
- (DicomSeries *)seriesObj
- (DicomStudy *)studyObj
- (void) updatePresentationStateFromSeriesOnlyImageLevel: (BOOL) onlyImage
- (void) updatePresentationStateFromSeriesOnlyImageLevel: (BOOL) onlyImage scale: (BOOL) scale offset: (BOOL) offset
- (void) updatePresentationStateFromSeries
-(void)resizeWindowToScale:(float)resizeScale
- (IBAction)resizeWindow:(id)sender
- (void)subDrawRect: (NSRect)aRect
- (void)drawRectAnyway:(NSRect)aRect
+ (unsigned char*) PETredTable
+ (unsigned char*) PETgreenTable
+ (unsigned char*) PETblueTable
- (void) startDrag:(NSTimer*)theTimer
- (void)deleteMouseDownTimer
- (NSDragOperation)draggingSourceOperationMaskForLocal:(BOOL)isLocal
- (id)dicomImage
+(NSDictionary*) hotKeyModifiersDictionary
+(NSDictionary*) hotKeyDictionary
-(BOOL)actionForHotKey:(NSString *)hotKey
- (void) drawImage:(NSImage *)image inBounds:(NSRect)rect
- (BOOL)_checkHasChanged:(BOOL)flag
- (BOOL)checkHasChanged
- (id) windowController
- (BOOL) is2DViewer
- (void)setIsLUT12Bit:(BOOL)boo;
- (BOOL)isLUT12Bit;


@interface ROI : NSObject <NSCoding, NSCopying>
int spline( NSPoint *Pt, int tot, NSPoint **newPt, long **correspondingSegmentPt, double scale)
+(void) setFontHeight: (float) f
+(void) saveDefaultSettings
+(void) loadDefaultSettings
+ (BOOL) splineForROI
-(void)setIsSpline:(BOOL)isSpline {
-(BOOL)isSpline {
+(void) setDefaultName:(NSString*) n
+ (NSPoint) pointBetweenPoint:(NSPoint) a and:(NSPoint) b ratio: (float) r
+ (float) lengthBetween:(NSPoint) mesureA and :(NSPoint) mesureB
+ (NSPoint) segmentDistToPoint: (NSPoint) segA :(NSPoint) segB :(NSPoint) p
+(NSPoint) positionAtDistance: (float) distance inPolygon:(NSArray*) points
+(NSMutableArray*) resamplePoints: (NSArray*) points number:(int) no
- (BOOL) isValidForVolume
-(void) setDefaultName:(NSString*) n { [ROI setDefaultName: n]; }
-(NSString*) defaultName { return defaultName; }
-(void)displayTexture
- (void) setOpacity:(float) a
- (void) setOpacity:(float)newOpacity globally: (BOOL) g
- (DCMPix*)pix
- (id) initWithCoder:(NSCoder*) coder
- (id) copyWithZone:(NSZone *)zone
- (void) encodeWithCoder:(NSCoder*) coder
- (NSData*) data
- (void) deleteTexture:(NSOpenGLContext*) c
- (void) prepareForRelease
- (void) dealloc
- (void) setOriginAndSpacing :(float) ipixelSpacing :(NSPoint) iimageOrigin
{
    [self setOriginAndSpacing :ipixelSpacing :ipixelSpacing :iimageOrigin];
}

- (void) setOriginAndSpacing :(float) ipixelSpacingx :(float) ipixelSpacingy :(NSPoint) iimageOrigin
{
    [self setOriginAndSpacing :ipixelSpacingx :ipixelSpacingy :iimageOrigin :YES];
}

- (void) setOriginAndSpacing :(float) ipixelSpacingx :(float) ipixelSpacingy :(NSPoint) iimageOrigin :(BOOL) sendNotification
{
    [self setOriginAndSpacing :ipixelSpacingx :ipixelSpacingy :iimageOrigin :sendNotification :YES];
}

- (void) setOriginAndSpacing :(float) ipixelSpacingx :(float) ipixelSpacingy :(NSPoint) iimageOrigin :(BOOL) sendNotification :(BOOL) inImageCheck
- (id) initWithType: (ToolMode) itype :(float) ipixelSpacing :(NSPoint) iimageOrigin
{
    return [self initWithType: itype :ipixelSpacing :ipixelSpacing :iimageOrigin];
}
- (id) initWithTexture: (unsigned char*)tBuff  textWidth:(int)tWidth textHeight:(int)tHeight textName:(NSString*)tName
             positionX:(int)posX positionY:(int)posY
              spacingX:(float) ipixelSpacingx spacingY:(float) ipixelSpacingy imageOrigin:(NSPoint) iimageOrigin
- (id) initWithType: (ToolMode) itype :(float) ipixelSpacingx :(float) ipixelSpacingy :(NSPoint) iimageOrigin
-(void)updateLabelFont

- (StringTexture*) stringTextureForString: (NSString*) str
- (long) maxStringWidth: (NSString*) str max:(long) max
- (void) glStr: (NSString*) str :(float) x :(float) y :(float) line
-(float) EllipseArea
-(float) plainArea
-(float) Area: (NSMutableArray*) pts
-(float) Area
- (double) angleBetween2Lines: (NSPoint) line1pt1 :(NSPoint) line1pt2 : (NSPoint) line2pt1 :(NSPoint) line2pt2

-(float) Angle:(NSPoint) p2 :(NSPoint) p1 :(NSPoint) p3
-(float) Magnitude:( NSPoint) Point1 :(NSPoint) Point2
-(float) Length:(NSPoint) mesureA :(NSPoint) mesureB
-(float) LengthFrom:(NSPoint) mesureA to:(NSPoint) mesureB inPixel: (BOOL) inPixel
-(NSPoint) ProjectionPointLine: (NSPoint) Point :(NSPoint) startPoint :(NSPoint) endPoint
-(int) DistancePointLine: (NSPoint) Point :(NSPoint) startPoint :(NSPoint) endPoint :(float*) Distance
- (NSPoint) lowerRightPoint
- (NSMutableArray*) points
- (void) setPoints: (NSMutableArray*) pts
- (void) setTextBoxOffset:(NSPoint) o
- (void) addPointUnderMouse: (NSPoint) pt scale:(float) scale
- (long) clickInROI:(NSPoint) pt :(float) offsetx :(float) offsety :(float) scale :(BOOL) testDrawRect
- (void) displayPointUnderMouse:(NSPoint) pt :(float) offsetx :(float) offsety :(float) scale
- (BOOL)mouseRoiDown:(NSPoint)pt :(float)scale
- (BOOL)mouseRoiDownIn:(NSPoint)pt :(int)slice :(float)scale
- (BOOL)mouseRoiDown:(NSPoint)pt :(int)slice :(float)scale
- (void) flipVertically: (BOOL) vertically
- (void) rotate: (float) angle :(NSPoint) center
- (BOOL)canResize;
- (void) resize: (float) factor :(NSPoint) center
- (BOOL) valid
- (void) recompute
- (void) roiMove:(NSPoint) offset :(BOOL) sendNotification
- (void) roiMove:(NSPoint) offset
- (BOOL) mouseRoiUp:(NSPoint) pt
- (BOOL) mouseRoiUp:(NSPoint) pt scaleValue: (float) scaleValue
- (void) mergeWithTexture: (ROI*) r
- (void) textureBufferHasChanged
- (BOOL) reduceTextureIfPossible
+ (void) fillCircle:(unsigned char *) buf :(int) width :(unsigned char) val
- (BOOL) mouseRoiDragged:(NSPoint) pt :(unsigned int) modifier :(float) scale
- (BOOL) selectable
- (BOOL) locked
- (void) setHidden:(BOOL) h
- (void) setROIMode: (long) m
- (void) setName:(NSString*) a
- (void) setColor:(RGBColor) a
- (void) setColor:(RGBColor) a globally: (BOOL) g
- (void) setThickness:(float) a
- (void) setThickness:(float) a globally: (BOOL) g
- (BOOL) deleteSelectedPoint
-(float) MesureLength:(float*) pixels pointA: (NSPoint) a pointB: (NSPoint) b
-(float) MesureLength:(float*) pixels
+ (NSString*) formattedLength: (float) lCm
void gl_round_box(int mode, float minx, float miny, float maxx, float maxy, float rad, float factor)
- (NSRect) findAnEmptySpaceForMyRect:(NSRect) dRect :(BOOL*) moved
- (BOOL) isTextualDataDisplayed
- (void) drawTextualData
- (void) prepareTextualData:(NSPoint) tPt
- (NSString*) description
- (void) drawROI :(float) scaleValue :(float) offsetx :(float) offsety :(float) spacingX :(float) spacingY;
- (void) setTexture: (unsigned char*) t width: (int) w height:(int) h
- (void) drawROIWithScaleValue:(float)scaleValue offsetX:(float)offsetx offsetY:(float)offsety pixelSpacingX:(float)spacingX pixelSpacingY:(float)spacingY highlightIfSelected:(BOOL)highlightIfSelected thickness:(float)thick

prepareTextualData:(BOOL) prepareTextualData;
- (float*) dataValuesAsFloatPointer :(long*) no
- (NSMutableArray*) dataValues
-(NSPoint)pointAtIndex:(NSUInteger)index
-(void)setPoint:(NSPoint)point atIndex:(NSUInteger)index
-(void)addPoint:(NSPoint)point
- (NSMutableDictionary*) dataString
- (BOOL) needQuartz
- (void) setRoiView:(DCMView*) v
- (float) roiArea
- (NSPoint) centroid
+ (unsigned char*) addMargin: (int) margin buffer: (unsigned char *) textureBuffer width: (int) width height: (int) height
- (void) addMarginToBuffer: (int) margin
- (int)calciumScoreCofactor
- (float)calciumScore
- (float)calciumVolume
- (float) calciumMass
- (void) setLayerImage:(NSImage*)image;
- (GLuint) loadLayerImageTexture;
- (void)generateEncodedLayerImage;
NSInteger sortPointArrayAlongX(id point1, id point2, void *context)
- (BOOL)isPoint:(NSPoint)point inRectDefinedByPointA:(NSPoint)pointA pointB:(NSPoint)pointB pointC:(NSPoint)pointC pointD:(NSPoint)pointD;
- (NSPoint)rotatePoint:(NSPoint)point withAngle:(float)alpha aroundCenter:(NSPoint)center;
- (void)setIsLayerOpacityConstant:(BOOL)boo;
- (void)setCanColorizeLayer:(BOOL)boo;
- (void)setCanResizeLayer:(BOOL)boo
-(NSMutableArray*) splinePoints:(float) scale;
-(NSMutableArray*) splinePoints:(float) scale correspondingSegmentArray: (NSMutableArray**) correspondingSegmentArray
-(NSMutableArray*) splinePoints;
-(NSMutableArray*)splineZPositions;
-(void)setNSColor:(NSColor*)nsColor
-(NSColor*)NSColor
-(void)setNSColor:(NSColor*)nsColor globally:(BOOL)g {