00001 #ifndef __DIALOGPROC_H__
00002 #define __DIALOGPROC_H__
00003
00004
00005
00006
00007
00008
00009 #include "viasgui.h"
00010 #include "integrate.h"
00011 #include "paint.h"
00012 #include "imagerw.h"
00013 #include "cropcube.h"
00014 #include "init.h"
00015 #include "vassert.h"
00016
00017
00018
00019
00020 vVOID EnableThreadWindows( BOOL enable );
00021
00022
00023 vVOID AboutViasDialog( vVOID );
00024
00025
00026
00027 vBOOL OpenWorkspaceDialog( vSTRING fullPath );
00028
00029
00030 vBOOL NewWorkspaceDialog( vSTRING fullPath, VOXELSARGS *args );
00031 vSTRING GetNewWorkspaceLastDir( vVOID );
00032
00033
00034 vBOOL OpenImageStackDialog( HWND hOwner, vSTRING fullPath );
00035
00036
00037 vBOOL BatchOpenImageStacksDialog( HWND hOwner, vCHAR **paths, vSIZE maxPaths, vSIZE *numPaths );
00038
00039
00040
00041
00042 vBOOL VoxelsDialog( HWND hOwner, VOXELSARGS *args );
00043
00044
00045
00046
00047 vBOOL ChooseColorDialog( HWND hOwner, COLORREF init, COLORREF *result );
00048
00049
00050
00051
00052
00053 vBOOL IntegrationDialog( Workspace *vws, VOLUMEINTEGRATIONARGS *args );
00054 vSTRING GetIntegrationLastDir( vVOID );
00055
00056
00057
00058
00059 typedef void ( *GridOptionsDialogApplyFunc )
00060 ( float gridStep, const GRID_LINE_STYLE lineStyle, const GRID_POINT_SIZE pointSize, const unsigned flags );
00061
00062 vBOOL GridOptionsDialog
00063 (
00064 HWND hOwner,
00065 float *const gridStep,
00066 GRID_LINE_STYLE *const lineStyle,
00067 GRID_POINT_SIZE *const pointSize,
00068 unsigned *const flags,
00069 GridOptionsDialogApplyFunc applyFunc
00070 );
00071
00072
00073 vBOOL ManualCropRectangleDialog( HWND hOwner, CropCube *cropCube, vHIMAGESTACK hCropStack );
00074
00075
00076 vBOOL RawOptionsDialog( HWND hOwner, const char *const fileName, ImageDescriptor *const descriptor );
00077
00078
00079 #endif
00080