Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

SUMA_define.h File Reference

Go to the source code of this file.


Data Structures

struct  SUMA_1D_DRAWN_ROI
struct  SUMA_ACTION_STACK_DATA
struct  SUMA_AFNI_COLORS
struct  SUMA_AfniCom
struct  SUMA_ARROW_TEXT_FIELD
struct  SUMA_ASSEMBLE_LIST_STRUCT
struct  SUMA_Axis
struct  SUMA_AxisSegmentInfo
struct  SUMA_BRANCH
 Structure forming a branch. More...

struct  SUMA_BRUSH_STROKE_DATUM
struct  SUMA_CLIENT_DATA
struct  SUMA_CMAP_RENDER_AREA
struct  SUMA_COLOR_MAP
struct  SUMA_COLOR_SCALED_VECT
struct  SUMA_COLORLIST_STRUCT
struct  SUMA_COMM_STRUCT
struct  SUMA_CommonFields
struct  SUMA_CONTOUR_EDGES
struct  SUMA_CREATE_TEXT_SHELL_STRUCT
struct  SUMA_CrossHair
struct  SUMA_DIJKSTRA_PATH_CHAIN
struct  SUMA_DO
struct  SUMA_DRAWN_ROI
struct  SUMA_EDGE_LIST
struct  SUMA_EngineData
struct  SUMA_FACESET_FIRST_EDGE_NEIGHB
struct  SUMA_FaceSetMarker
struct  SUMA_FORM_AFNI_DSET_STRUCT
struct  SUMA_FreeSurfer_struct
struct  SUMA_GEOMVIEW_STRUCT
struct  SUMA_GET_OFFSET_STRUCT
struct  SUMA_INODE
struct  SUMA_IRGB
struct  SUMA_ISINBOX
struct  SUMA_ISINSPHERE
struct  SUMA_LIST_WIDGET
struct  SUMA_MEMBER_FACE_SETS
struct  SUMA_MEMTRACE_STRUCT
struct  SUMA_MessageData
struct  SUMA_MT_INTERSECT_TRIANGLE
struct  SUMA_NODE_FIRST_NEIGHB
struct  SUMA_NODE_NEIGHB_LAYER
struct  SUMA_OFFSET_STRUCT
struct  SUMA_OLD_BRUSH_STROKE
struct  SUMA_OVERLAY_LIST_DATUM
struct  SUMA_OVERLAY_PLANE_DATA
struct  SUMA_OVERLAYS
struct  SUMA_PATCH
struct  SUMA_PROMPT_DIALOG_STRUCT
struct  SUMA_rb_group
struct  SUMA_RGB_NAME
struct  SUMA_ROI
struct  SUMA_ROI_ACTION_STRUCT
struct  SUMA_ROI_DATUM
struct  SUMA_ROI_PLANE
struct  SUMA_SAVESO_STRUCT
struct  SUMA_SCALE_TO_MAP_OPT
struct  SUMA_SegmentDO
struct  SUMA_SELECTION_DIALOG_STRUCT
struct  SUMA_SFname
struct  SUMA_SO_map
struct  SUMA_SphereMarker
struct  SUMA_SureFit_struct
struct  SUMA_SURF_NORM
struct  SUMA_SURF_PLANE_INTERSECT
 Structure defining the intersection of a surface with a plane. More...

struct  SUMA_SURFACE_CURVATURE
struct  SUMA_SurfaceObject
struct  SUMA_SurfaceViewer
struct  SUMA_SurfSpecFile
struct  SUMA_TABLE_FIELD
struct  SUMA_TRI_BRANCH
 Structure forming a triangle branch. More...

struct  SUMA_ViewState
struct  SUMA_ViewState_Hist
struct  SUMA_VOLPAR
struct  SUMA_X
struct  SUMA_X_AllView
struct  SUMA_X_DrawROI
struct  SUMA_X_SumaCont
struct  SUMA_X_SurfCont
struct  SUMA_X_ViewCont

Defines

#define SUMA_DEF_GROUP_NAME   "DefGroup"
#define SUMA_DEF_STATE_NAME   "Default_state"
#define SUMA_SUMA_NIML_DEBUG   0
#define SUMA_SEPARATE_SURF_CONTROLLERS   0
#define ARRAY   1
#define STRAIGHT   2
#define TRIANGLES   1
#define POINTS   2
#define DRAW_METHOD   ARRAY
#define RENDER_METHOD   TRIANGLES
#define DO_MESH
#define DO_MESH_AXIS
#define SUMA_DOUBLE_CLICK_MAX_DELAY   250
#define NODE_COLOR_R   0.35
#define NODE_COLOR_G   0.35
#define NODE_COLOR_B   0.35
#define SUMA_GRAY_NODE_COLOR   0.30
#define SUMA_DIM_AFNI_COLOR_FACTOR   0.5
#define SUMA_AFNI_COLORPLANE_OPACITY   1
#define SUMA_DIM_CONVEXITY_COLOR_FACTOR   0.5
#define SUMA_CONVEXITY_COLORPLANE_OPACITY   1
#define SUMA_BACKGROUND_MODULATION_FACTOR   3
#define SUMA_MAT_SHININESS_INIT   0
#define SUMA_MAT_SPECULAR_INIT   0.0, 0.0, 0.0, 1.0
#define SUMA_MAT_AMBIENT_INIT   0.2, 0.2, 0.2, 1.0
#define SUMA_MAT_DIFFUSE_INIT   0.8, 0.8, 0.8, 1.0
#define SUMA_MAT_EMISSION_INIT   0.0, 0.0, 0.0, 1.0
#define SUMA_LMODEL_AMBIENT   1.0, 1.0, 1.0, 1.0
#define SUMA_RED_GL   1.0, 0.0, 1.0, 1.0
#define SUMA_CLEAR_COLOR_R   0.0
#define SUMA_CLEAR_COLOR_G   0.0
#define SUMA_CLEAR_COLOR_B   0.0
#define SUMA_CLEAR_COLOR_A   0.0
#define SUMA_BACKFACE_CULL   0
#define SUMA_CHECK_WINDING   0
#define SUMA_LIGHT0_COLOR_INIT   1.0, 1.0, 1.0, 1.0
#define SUMA_INTITIAL_LIGHT0_SWITCH   1
#define SUMA_STDERR   stderr
#define SUMA_STDOUT   stdout
#define SUMA_CROSS_HAIR_LINE_WIDTH   1.5
#define SUMA_CROSS_HAIR_RADIUS   6
#define SUMA_CROSS_HAIR_GAP   2
#define SUMA_CROSS_HAIR_SPHERE_RADIUS   0.5
#define SUMA_SELECTED_NODE_SPHERE_RADIUS   0.25
#define SUMA_BEEP_LENGTH_MS   50
#define SUMA_XYZ_XFORM_BOXDIM_MM   5
#define SUMA_SELECTED_FACESET_LINE_WIDTH   2
#define SUMA_SELECTED_FACESET_OFFSET_FACTOR   0.01
#define SUMA_SELECTED_FACESET_LINE_INTENSITY   0.75
#define SUMA_NODE_ALPHA   1
#define FOV_INITIAL   30
#define FOV_MIN   0.01
#define FOV_MAX   140
#define FOV_IN_FACT   1.05
#define FOV_OUT_FACT   0.95
#define MOUSE_ZOOM_FACT   30
#define TRANSLATE_GAIN   50
#define ARROW_TRANSLATE_DELTAX   30
#define ARROW_TRANSLATE_DELTAY   30
#define ARROW_ROTATION_ANGLE_DEG   15
#define SUMA_MAX_N_GROUPS   100
#define SUMA_MAX_MESSAGES   100
#define SUMA_MAX_MEMBER_FACE_SETS   110
#define SUMA_MAX_FACESET_EDGE_NEIGHB   3
#define SUMA_MAX_DISPLAYABLE_OBJECTS   1000
#define SUMA_MAX_SURF_VIEWERS   6
#define SUMA_N_STANDARD_VIEWS   2
#define SUMA_DEFAULT_VIEW_FROM   300
#define SUMA_MAX_FP_NAME_LENGTH   ( SUMA_MAX_DIR_LENGTH + SUMA_MAX_NAME_LENGTH )
#define SUMA_MAX_COMMAND_LENGTH   2000
#define SUMA_MAX_LABEL_LENGTH   300
#define SUMA_MAX_STRING_LENGTH   1000
#define SUMA_MAX_COLOR_NAME   50
#define SUMA_MAX_NUMBER_NODE_NEIGHB   100
#define SUMA_MAX_OVERLAYS   50
#define SUMA_COMMAND_DELIMITER   '|'
#define SUMA_COMMAND_TERMINATOR   '~'
#define SUMA_PERSPECTIVE_NEAR   1.0
#define SUMA_PERSPECTIVE_FAR   900
#define SUMA_TESSCON_TO_MM   319.7
#define SUMA_TESSCON_DIFF_FLAG   1000
#define SUMA_WriteCheckWait   400
#define SUMA_WriteCheckWaitMax   2000
#define SUMA_MAX_N_SURFACE_SPEC   20
#define SUMA_MEMTRACE_BLOCK   10000
#define SUMA_MEMTRACE_FLAG   1
#define SUMA_PI   3.141592653589793
#define SUMA_EPSILON   0.000001
#define SUMA_NIML_WORKPROC_IO_NOTIFY   0
#define SUMA_WORKPROC_IO_NOTIFY   0
#define SUMA_N_STANDARD_VIEWS   2
#define SUMA_MAX_ROI_CTRL_NODES   100
#define SUMA_MAX_ROI_CTRL_NODES3   300
#define SUMA_MAX_ROI_ON_SURFACE   100
#define SUMA_isinbox_struct
#define SUMA_isinsphere_struct
#define SUMA_SurfNorm_struct
#define SUMA_MemberFaceSets_struct
#define SUMA_TCP_PORT   53211
#define SUMA_TCP_LISTEN_PORT0   53220
#define SUMA_FLAG_WAITING   1
#define SUMA_FLAG_CONNECTED   2
#define SUMA_FLAG_SKIP   4
#define SUMA_BRANCHMAX   500
#define SUMA_NODEINLISTMAX   500

Enumerations

enum  SUMA_VOX_NEIGHB_TYPES { SUMA_VOX_NEIGHB_FACE, SUMA_VOX_NEIGHB_EDGE, SUMA_VOX_NEIGHB_CORNER }
enum  SUMA_SURF_GRID_INTERSECT_OPTIONS {
  SUMA_DONT_KNOW = 0, SUMA_IN_TRIBOX_OUTSIDE = 1, SUMA_INTERSECTS_TRIANGLE_OUTSIDE, SUMA_ON_NODE,
  SUMA_INTERSECTS_TRIANGLE_INSIDE, SUMA_IN_TRIBOX_INSIDE, SUMA_INSIDE_SURFACE
}
enum  SUMA_SO_SIDE { SUMA_SIDE_ERROR = -1, SUMA_NO_SIDE, SUMA_LEFT, SUMA_RIGHT }
enum  SUMA_QUESTION_DIALOG_ANSWER {
  SUMA_NO_ANSWER, SUMA_YES, SUMA_NO, SUMA_HELP,
  SUMA_CANCEL, SUMA_YES_ALL, SUMA_NO_ALL, SUMA_WHAT_THE_HELL
}
enum  SUMA_SO_File_Type {
  SUMA_FT_ERROR = -1, SUMA_FT_NOT_SPECIFIED, SUMA_FREE_SURFER, SUMA_FREE_SURFER_PATCH,
  SUMA_SUREFIT, SUMA_INVENTOR_GENERIC, SUMA_PLY, SUMA_VEC,
  SUMA_CMAP_SO, SUMA_BRAIN_VOYAGER, SUMA_OPENDX_MESH, SUMA_N_SO_FILE_TYPE
}
enum  SUMA_SO_File_Format {
  SUMA_FF_NOT_SPECIFIED, SUMA_ASCII, SUMA_BINARY, SUMA_BINARY_BE,
  SUMA_BINARY_LE
}
enum  SUMA_DO_Types {
  SO_type, AO_type, ROIdO_type, ROIO_type,
  GO_type, LS_type
}
enum  SUMA_DO_CoordType { SUMA_SCREEN, SUMA_LOCAL }
enum  SUMA_STIPPLE { SUMA_SOLID_LINE, SUMA_DASHED_LINE }
enum  SUMA_MOTION_TYPES {
  SUMA_Button_12_Motion, SUMA_Button_2_Shift_Motion, SUMA_Button_1_Motion, SUMA_Button_2_Motion,
  SUMA_Button_3_Motion
}
enum  SUMA_ENGINE_CODE {
  SE_Empty, SE_SetLookAt, SE_SetLookFrom, SE_Redisplay,
  SE_Home, SE_SetNodeColor, SE_FlipLight0Pos, SE_GetNearestNode,
  SE_SetLookAtNode, SE_HighlightNodes, SE_SetRotMatrix, SE_SetCrossHair,
  SE_ToggleCrossHair, SE_SetSelectedNode, SE_ToggleShowSelectedNode, SE_SetSelectedFaceSet,
  SE_ToggleShowSelectedFaceSet, SE_ToggleConnected, SE_SetAfniCrossHair, SE_SetAfniSurf,
  SE_SetAfniSurfList, SE_SetAfniThisSurf, SE_SetForceAfniSurf, SE_BindCrossHair,
  SE_ToggleForeground, SE_ToggleBackground, SE_FOVreset, SE_CloseStream4All,
  SE_Redisplay_AllVisible, SE_RedisplayNow, SE_ResetOpenGLState, SE_LockCrossHair,
  SE_ToggleLockAllCrossHair, SE_SetLockAllCrossHair, SE_ToggleLockView, SE_ToggleLockAllViews,
  SE_Load_Group, SE_Home_AllVisible, SE_Help, SE_Help_Cmap,
  SE_Log, SE_UpdateLog, SE_SetRenderMode, SE_OpenDrawROI,
  SE_RedisplayNow_AllVisible, SE_RedisplayNow_AllOtherVisible, SE_SetLight0Pos, SE_OpenColFileSelection,
  SE_SaveDrawnROIFileSelection, SE_OpenDrawnROIFileSelection, SE_SendColorMapToAfni, SE_SaveSOFileSelection,
  SE_SetSOinFocus, SE_StartListening, SE_LoadViewFileSelection, SE_SaveViewFileSelection,
  SE_LoadSegDO, SE_OpenDsetFileSelection, SE_OpenCmapFileSelection, SE_BadCode
}
enum  SUMA_ENGINE_FIELD_CODE {
  SEF_Empty, SEF_fm, SEF_im, SEF_fv3,
  SEF_iv3, SEF_fv15, SEF_iv15, SEF_i,
  SEF_f, SEF_s, SEF_vp, SEF_cp,
  SEF_fp, SEF_ip, SEF_iv200, SEF_fv200,
  SEF_ivec, SEF_fvec, SEF_BadCode
}
enum  SUMA_ENGINE_SOURCE {
  SES_Empty, SES_Afni, SES_Suma, SES_SumaWidget,
  SES_SumaFromAfni, SES_SumaFromAny, SES_Unknown
}
enum  SUMA_ENGINE_INSERT_LOCATION {
  SEI_WTSDS, SEI_Head, SEI_Tail, SEI_Before,
  SEI_After, SEI_In, SEI_BadLoc
}
enum  SUMA_OVERLAY_PLANE_TYPE { SOPT_ibbb, SOPT_ifff }
enum  SUMA_WIDGET_INDEX_FILE {
  SW_File, SW_FileOpen, SW_FileOpenSpec, SW_FileOpenSurf,
  SW_FileClose, SW_FileSaveView, SW_FileLoadView, SW_N_File
}
enum  SUMA_WIDGET_INDEX_TOOLS { SW_Tools, SW_ToolsDrawROI, SW_N_Tools }
enum  SUMA_WIDGET_INDEX_VIEW {
  SW_View, SW_ViewSumaCont, SW_ViewSurfCont, SW_ViewViewCont,
  SW_ViewSep1, SW_ViewCrossHair, SW_ViewNodeInFocus, SW_ViewSelectedFaceset,
  SW_N_View
}
enum  SUMA_WIDGET_INDEX_HELP {
  SW_Help, SW_HelpUsage, SW_HelpMessageLog, SW_HelpSep1,
  SW_HelpSUMAGlobal, SW_HelpViewerStruct, SW_HelpSurfaceStruct, SW_HelpSep2,
  SW_HelpIONotify, SW_HelpMemTrace, SW_N_Help
}
enum  SUMA_WIDGET_INDEX_SURFCONT_RENDER {
  SW_SurfCont_Render, SW_SurfCont_RenderViewerDefault, SW_SurfCont_RenderFill, SW_SurfCont_RenderLine,
  SW_SurfCont_RenderPoints, SW_N_SurfCont_Render
}
enum  SUMA_WIDGET_INDEX_DRAWROI_SAVEMODE { SW_DrawROI_SaveMode, SW_DrawROI_SaveMode1D, SW_DrawROI_SaveModeNIML, SW_N_DrawROI_SaveMode }
enum  SUMA_WIDGET_INDEX_DRAWROI_SAVEWHAT { SW_DrawROI_SaveWhat, SW_DrawROI_SaveWhatThis, SW_DrawROI_SaveWhatRelated, SW_N_DrawROI_SaveWhat }
enum  SUMA_WIDGET_INDEX_DRAWROI_WHATDIST {
  SW_DrawROI_WhatDist, SW_DrawROI_WhatDistNothing, SW_DrawROI_WhatDistTrace, SW_DrawROI_WhatDistAll,
  SW_N_DrawROI_WhatDist
}
enum  SUMA_INDEXING_ORDER { SUMA_NO_ORDER, SUMA_ROW_MAJOR, SUMA_COLUMN_MAJOR }
enum  SUMA_WIDGET_INDEX_COORDBIAS {
  SW_CoordBias, SW_CoordBias_None, SW_CoordBias_X, SW_CoordBias_Y,
  SW_CoordBias_Z, SW_CoordBias_N, SW_N_CoordBias
}
enum  SUMA_WIDGET_CMAP_MODE {
  SW_CmapMode, SW_Interp, SW_NN, SW_Direct,
  SW_N_CmapMode
}
enum  SUMA_REDISPLAY_CAUSE {
  SUMA_RDC_ERROR = -1, SUMA_RDC_NOT_SET = 0, SUMA_RDC_X_START, SUMA_RDC_X_EXPOSE,
  SUMA_RDC_X_RESIZE, SUMA_RDC_X_MAPSTATE, SUMA_RDC_X_ENTER_WINDOW, SUMA_RDC_X_END,
  SUMA_RDC_NEW_CROSSHAIR, SUMA_RDC_NEW_DATA
}
enum  SUMA_STANDARD_CMAP {
  SUMA_CMAP_ERROR = -1, SUMA_CMAP_UNDEFINED, SUMA_CMAP_RGYBR20, SUMA_CMAP_nGRAY20,
  SUMA_CMAP_GRAY02, SUMA_CMAP_flpGRAY02, SUMA_CMAP_GRAY20, SUMA_CMAP_BW20,
  SUMA_CMAP_BGYR19, SUMA_CMAP_MATLAB_DEF_BYR64, SUMA_CMAP_BGYR64, SUMA_CMAP_ROI64,
  SUMA_CMAP_ROI128, SUMA_CMAP_ROI256, SUMA_CMAP_N_MAPS
}
enum  SUMA_ROI_DRAWING_STATUS { SUMA_ROI_InCreation, SUMA_ROI_Finished, SUMA_ROI_InEdit }
enum  SUMA_ROI_DRAWING_TYPE { SUMA_ROI_OpenPath, SUMA_ROI_ClosedPath, SUMA_ROI_FilledArea, SUMA_ROI_Collection }
enum  SUMA_BRUSH_STROKE_ACTION {
  SUMA_BSA_Undefined, SUMA_BSA_AppendStroke, SUMA_BSA_AppendStrokeOrFill, SUMA_BSA_JoinEnds,
  SUMA_BSA_FillArea
}
enum  SUMA_ROI_TYPE {
  SUMA_ROI_Undefined, SUMA_ROI_NodeGroup, SUMA_ROI_EdgeGroup, SUMA_ROI_FaceGroup,
  SUMA_ROI_NodeSegment
}
enum  SUMA_XRESOURCES { SXR_default, SXR_Euro, SXR_Afni, SXR_Bonaire }
enum  SUMA_RENDER_MODES {
  SRM_ViewerDefault, SRM_Fill, SRM_Line, SRM_Points,
  SRM_N_RenderModes
}
enum  SUMA_STANDARD_VIEWS { SUMA_2D_Z0, SUMA_3D, SUMA_Dunno }
enum  SUMA_LINK_TYPES { SUMA_No_Lock, SUMA_I_Lock, SUMA_XYZ_Lock, SUMA_N_Lock_Types }
enum  SUMA_WINDOW_POSITION {
  SWP_DONT_CARE, SWP_TOP_RIGHT, SWP_BOTTOM_RIGHT_CORNER, SWP_TOP_LEFT,
  SWP_POINTER, SWP_POINTER_OFF
}
enum  SUMA_ACTION_RESULT { SAR_Undefined, SAR_Fail, SAR_Succeed }
enum  SUMA_ACTION_POLARITY { SAP_Do, SAP_Undo, SAP_Redo }
enum  SUMA_ROI_FILL_MODES { SUMA_ROI_FILL_TO_ALLROI, SUMA_ROI_FILL_TO_THISROI }
enum  SUMA_COLORMAP_INTERP_MODE { SUMA_UNDEFINED_MODE, SUMA_DIRECT, SUMA_NO_INTERP, SUMA_INTERP }
enum  SUMA_THRESH_MODE { SUMA_LESS_THAN, SUMA_ABS_LESS_THAN, SUMA_THRESH_OUTSIDE_RANGE, SUMA_THRESH_INSIDE_RANGE }
enum  SUMA_COL_MIX_MODE { SUMA_BAD_MODE = -1, SUMA_ORIG_MIX_MODE, SUMA_4AML, SUMA_MAX_MODES }
enum  SUMA_PROMPT_BUTTONS {
  SUMA_OK_BUTTON, SUMA_APPLY_BUTTON, SUMA_CLEAR_BUTTON, SUMA_CANCEL_BUTTON,
  SUMA_HELP_BUTTON, SUMA_N_PROMPT_BUTTONS
}
enum  SUMA_PROMPT_MODE {
  SUMA_OK, SUMA_OK_HELP, SUMA_OK_CANCEL, SUMA_OK_CANCEL_HELP,
  SUMA_OK_CLEAR_CANCEL, SUMA_OK_CLEAR_CANCEL_HELP, SUMA_OK_APPLY_CANCEL, SUMA_OK_APPLY_CANCEL_HELP,
  SUMA_OK_APPLY_CLEAR_CANCEL, SUMA_OK_APPLY_CLEAR_CANCEL_HELP
}
enum  SUMA_ListSelectPolicy { SUMA_LSP_SINGLE, SUMA_LSP_BROWSE, SUMA_LSP_MULTIPLE, SUMA_LSP_EXTENDED }
enum  SUMA_FILE_SELECT_MODE { SUMA_FILE_OPEN, SUMA_FILE_SAVE }
enum  SUMA_CELL_VARIETY { SUMA_ERROR_CELL, SUMA_ROW_TIT_CELL, SUMA_COL_TIT_CELL, SUMA_ENTRY_CELL }
enum  SUMA_AxisType { SUMA_STD_ZERO_CENTERED, SUMA_SCALE_BOX }
enum  SUMA_WORLD_AXIS_TOGGLE_METHODS {
  SUMA_NO_WAX, SUMA_THREE_WAX, SUMA_THREE_TEXT_WAX, SUMA_BOX_WAX,
  SUMA_BOX_TEXT_WAX, SUMA_N_WAX_OPTIONS
}
enum  SUMA_MESSAGE_TYPES {
  SMT_Nothing, SMT_Notice, SMT_Warning, SMT_Error,
  SMT_Critical, SMT_Text, SMT_N
}
enum  SUMA_MESSAGE_ACTION { SMA_Nothing, SMA_Log, SMA_LogAndPopup, SMA_N }
enum  SUMA_STREAM_INDICES {
  SUMA_AFNI_STREAM_INDEX = 0, SUMA_AFNI_STREAM_INDEX2, SUMA_GENERIC_LISTEN_LINE, SUMA_GEOMCOMP_LINE,
  SUMA_BRAINWRAP_LINE, SUMA_MAX_STREAMS
}
enum  SUMA_DOMAIN_KINSHIPS {
  SUMA_DOMAINS_ERROR = -1, SUMA_DOMAINS_NOT_RELATED = 0, SUMA_SO1_is_SO2, SUMA_SO1_is_LDPSO2,
  SUMA_SO2_is_LDPSO1, SUMA_LDPSO1_is_LDPSO2, SUMA_NUCELAR_FAMILY, SUMA_SO1_is_GPSO2,
  SUMA_SO2_is_GPSO1, SUMA_GPSO1_is_GPSO2
}
enum  SUMA_SORT_BOX_AXIS_OPTION {
  SUMA_NO_SORT, SUMA_BY_PLANE_DISTANCE, SUMA_BY_SEGMENT_DISTANCE, SUMA_SORT_BY_LLC_DISTANCE,
  SUMA_SORT_BY_LL_QUAD
}
enum  SUMA_SCREEN_CORNERS { SUMA_LOWER_LEFT_SCREEN, SUMA_UPPER_LEFT_SCREEN, SUMA_UPPER_RIGHT_SCREEN, SUMA_LOWER_RIGHT_SCREEN }

Define Documentation

#define ARRAY   1
 

Definition at line 16 of file SUMA_define.h.

Referenced by SUMA_DrawMesh().

#define ARROW_ROTATION_ANGLE_DEG   15
 

Definition at line 86 of file SUMA_define.h.

Referenced by SUMA_Alloc_SurfaceViewer_Struct().

#define ARROW_TRANSLATE_DELTAX   30
 

Definition at line 84 of file SUMA_define.h.

Referenced by SUMA_Alloc_SurfaceViewer_Struct().

#define ARROW_TRANSLATE_DELTAY   30
 

Definition at line 85 of file SUMA_define.h.

Referenced by SUMA_Alloc_SurfaceViewer_Struct().

#define DO_MESH
 

Definition at line 23 of file SUMA_define.h.

#define DO_MESH_AXIS
 

Definition at line 24 of file SUMA_define.h.

#define DRAW_METHOD   ARRAY
 

Definition at line 21 of file SUMA_define.h.

#define FOV_IN_FACT   1.05
 

Definition at line 80 of file SUMA_define.h.

Referenced by SUMA_cmap_wid_input(), and SUMA_input().

#define FOV_INITIAL   30
 

Definition at line 77 of file SUMA_define.h.

Referenced by SUMA_Engine(), SUMA_input(), and SUMA_RegisterSpecSO().

#define FOV_MAX   140
 

Definition at line 79 of file SUMA_define.h.

Referenced by SUMA_input().

#define FOV_MIN   0.01
 

Definition at line 78 of file SUMA_define.h.

Referenced by SUMA_input().

#define FOV_OUT_FACT   0.95
 

Definition at line 81 of file SUMA_define.h.

Referenced by SUMA_cmap_wid_input(), and SUMA_input().

#define MOUSE_ZOOM_FACT   30
 

The larger, the slower the gain on mouse movement

Definition at line 82 of file SUMA_define.h.

Referenced by SUMA_input().

#define NODE_COLOR_B   0.35
 

Definition at line 31 of file SUMA_define.h.

Referenced by SUMA_DrawMesh().

#define NODE_COLOR_G   0.35
 

Definition at line 30 of file SUMA_define.h.

Referenced by SUMA_DrawMesh().

#define NODE_COLOR_R   0.35
 

Definition at line 29 of file SUMA_define.h.

Referenced by SUMA_DrawMesh().

#define POINTS   2
 

Definition at line 19 of file SUMA_define.h.

Referenced by SUMA_DrawMesh().

#define RENDER_METHOD   TRIANGLES
 

Definition at line 22 of file SUMA_define.h.

#define STRAIGHT   2
 

Definition at line 17 of file SUMA_define.h.

Referenced by SUMA_DrawMesh().

#define SUMA_AFNI_COLORPLANE_OPACITY   1
 

Definition at line 34 of file SUMA_define.h.

Referenced by SUMA_process_NIML_data().

#define SUMA_BACKFACE_CULL   0
 

1/0 flag for culling backface facesets

Definition at line 57 of file SUMA_define.h.

#define SUMA_BACKGROUND_MODULATION_FACTOR   3
 

0 background does not modulate foreground, Color = Fore * avg_Bright * AttenFactor (0 <= avg_Bright <=1) a good setting is such that SUMA_BACKGROUND_ATTENUATION_FACTOR * SUMA_DIM_AFNI_COLOR_FACTOR = 1 Watch for saturation effects!

Definition at line 37 of file SUMA_define.h.

Referenced by SUMA_Alloc_SurfaceViewer_Struct(), and SUMA_input().

#define SUMA_BEEP_LENGTH_MS   50
 

beep time in ms

Definition at line 71 of file SUMA_define.h.

#define SUMA_BRANCHMAX   500
 

Maximum nuber of branches that can be found in the intersection of a plane with the surface model

Definition at line 1853 of file SUMA_define.h.

#define SUMA_CHECK_WINDING   0
 

1/0 flag for checking triangle winding

Definition at line 58 of file SUMA_define.h.

#define SUMA_CLEAR_COLOR_A   0.0
 

clear color (viewer background) Alpha

Definition at line 54 of file SUMA_define.h.

Referenced by SUMA_Alloc_SurfaceViewer_Struct().

#define SUMA_CLEAR_COLOR_B   0.0
 

clear color (viewer background) Blue

Definition at line 53 of file SUMA_define.h.

Referenced by SUMA_Alloc_SurfaceViewer_Struct().

#define SUMA_CLEAR_COLOR_G   0.0
 

clear color (viewer background) Green

Definition at line 52 of file SUMA_define.h.

Referenced by SUMA_Alloc_SurfaceViewer_Struct().

#define SUMA_CLEAR_COLOR_R   0.0
 

clear color (viewer background) Red

Definition at line 51 of file SUMA_define.h.

Referenced by SUMA_Alloc_SurfaceViewer_Struct().

#define SUMA_COMMAND_DELIMITER   '|'
 

Definition at line 106 of file SUMA_define.h.

#define SUMA_COMMAND_TERMINATOR   '~'
 

Definition at line 107 of file SUMA_define.h.

#define SUMA_CONVEXITY_COLORPLANE_OPACITY   1
 

Definition at line 36 of file SUMA_define.h.

Referenced by SUMA_SetConvexityPlaneDefaults().

#define SUMA_CROSS_HAIR_GAP   2
 

Definition at line 67 of file SUMA_define.h.

Referenced by SUMA_Alloc_CrossHair().

#define SUMA_CROSS_HAIR_LINE_WIDTH   1.5
 

Definition at line 65 of file SUMA_define.h.

Referenced by SUMA_Alloc_CrossHair(), and SUMA_DrawWindowLine().

#define SUMA_CROSS_HAIR_RADIUS   6
 

Definition at line 66 of file SUMA_define.h.

Referenced by SUMA_Alloc_CrossHair().

#define SUMA_CROSS_HAIR_SPHERE_RADIUS   0.5
 

Definition at line 68 of file SUMA_define.h.

Referenced by SUMA_Alloc_CrossHair().

#define SUMA_DEF_GROUP_NAME   "DefGroup"
 

Definition at line 4 of file SUMA_define.h.

Referenced by SUMA_GimmeSomeSOs(), and SUMA_IO_args_2_spec().

#define SUMA_DEF_STATE_NAME   "Default_state"
 

Definition at line 5 of file SUMA_define.h.

Referenced by SUMA_GimmeSomeSOs().

#define SUMA_DEFAULT_VIEW_FROM   300
 

default view from location on Z axis

Definition at line 96 of file SUMA_define.h.

Referenced by SUMA_Alloc_SurfaceViewer_Struct(), and SUMA_UpdateViewPoint().

#define SUMA_DIM_AFNI_COLOR_FACTOR   0.5
 

0.4 works well, use higher factors for flashiness scaling factor (0..1) applied to afni's rgb colors, lower values help retain surface shape info

Definition at line 33 of file SUMA_define.h.

Referenced by SUMA_process_NIML_data().

#define SUMA_DIM_CONVEXITY_COLOR_FACTOR   0.5
 

Definition at line 35 of file SUMA_define.h.

Referenced by SUMA_SetConvexityPlaneDefaults().

#define SUMA_DOUBLE_CLICK_MAX_DELAY   250
 

Maximum delay in ms to consider a double click

Definition at line 27 of file SUMA_define.h.

Referenced by SUMA_cmap_wid_input(), and SUMA_input().

#define SUMA_EPSILON   0.000001
 

Definition at line 121 of file SUMA_define.h.

Referenced by SUMA_FromToRotation(), SUMA_MT_intersect_triangle(), and SUMA_MT_isIntersect_Triangle().

#define SUMA_FLAG_CONNECTED   2
 

Connected flag

Definition at line 1812 of file SUMA_define.h.

Referenced by SUMA_niml_call(), and SUMA_niml_workproc().

#define SUMA_FLAG_SKIP   4
 

Skip flag

Definition at line 1813 of file SUMA_define.h.

Referenced by SUMA_niml_workproc().

#define SUMA_FLAG_WAITING   1
 

Waiting for connection flag

Definition at line 1811 of file SUMA_define.h.

Referenced by SUMA_niml_workproc().

#define SUMA_GRAY_NODE_COLOR   0.30
 

Definition at line 32 of file SUMA_define.h.

Referenced by SUMA_FillColorList(), SUMA_MixOverlays(), and SUMA_Overlays_2_GLCOLAR4().

#define SUMA_INTITIAL_LIGHT0_SWITCH   1
 

-1 works well for SureFit Surfaces, 1 works well for iv and FreeSurfer surfaces

Definition at line 61 of file SUMA_define.h.

Referenced by SUMA_Alloc_SurfaceViewer_Struct().

#define SUMA_isinbox_struct
 

structure that contains array pointers from function SUMA_isinbox

Definition at line 750 of file SUMA_define.h.

#define SUMA_isinsphere_struct
 

structure that contains array pointers from function isinsphere

Definition at line 759 of file SUMA_define.h.

#define SUMA_LIGHT0_COLOR_INIT   1.0, 1.0, 1.0, 1.0
 

Definition at line 60 of file SUMA_define.h.

Referenced by SUMA_context_Init().

#define SUMA_LMODEL_AMBIENT   1.0, 1.0, 1.0, 1.0
 

keep the ambient light high

Definition at line 49 of file SUMA_define.h.

Referenced by SUMA_context_Init().

#define SUMA_MAT_AMBIENT_INIT   0.2, 0.2, 0.2, 1.0
 

Fraction of Ambient light reflected.Ambient light has an undetermined direction and is scattered equally in all directions

Definition at line 44 of file SUMA_define.h.

Referenced by SUMA_context_Init().

#define SUMA_MAT_DIFFUSE_INIT   0.8, 0.8, 0.8, 1.0
 

Fraction of Diffuse light reflected.Diffuse light comes from one direction, but is scattered equally in all directions and appears equally bright no matter where the eye is located

Definition at line 45 of file SUMA_define.h.

Referenced by SUMA_context_Init().

#define SUMA_MAT_EMISSION_INIT   0.0, 0.0, 0.0, 1.0
 

Emissive color/light emanated from object. and unaffected by light sources. It adds no light to other objects in the scene

Definition at line 46 of file SUMA_define.h.

Referenced by SUMA_cmap_context_Init(), and SUMA_context_Init().

#define SUMA_MAT_SHININESS_INIT   0
 

Surface object shininess, 0 20, 50 .. 128

Definition at line 42 of file SUMA_define.h.

Referenced by SUMA_context_Init().

#define SUMA_MAT_SPECULAR_INIT   0.0, 0.0, 0.0, 1.0
 

The specular color of the material, keep this and the exponent (that's MAT_SHININESS) 0 to keep shininess down

Definition at line 43 of file SUMA_define.h.

Referenced by SUMA_context_Init().

#define SUMA_MAX_COLOR_NAME   50
 

Max. length of the name of a color

Definition at line 101 of file SUMA_define.h.

Referenced by SUMA_Add_Color().

#define SUMA_MAX_COMMAND_LENGTH   2000
 

Maximum number of characters in a command string

Definition at line 98 of file SUMA_define.h.

Referenced by SUMA_Engine(), SUMA_input(), SUMA_MarkLineSurfaceIntersect(), SUMA_process_NIML_data(), and SUMA_RegisterCommand().

#define SUMA_MAX_DISPLAYABLE_OBJECTS   1000
 

Maximum number of displayable Objects

Definition at line 93 of file SUMA_define.h.

Referenced by fill_SUMA_structs(), main(), read_surf_files(), spec2SUMA(), SUMA_AddDO(), SUMA_Alloc_SurfaceViewer_Struct(), SUMA_Engine(), SUMA_GetDO_Type(), SUMA_MarkLineSurfaceIntersect(), SUMA_OpenDrawnROI_NIML(), SUMA_process_NIML_data(), SUMA_SwitchState(), SUMA_UpdateViewerTitle(), SUMA_UpdateViewerTitle_old(), and SUMA_UpdateXhairField().

#define SUMA_MAX_FACESET_EDGE_NEIGHB   3
 

Maximum number of adjoining FaceSets a triangular faceset can have.

Definition at line 92 of file SUMA_define.h.

Referenced by SUMA_allocate_FaceSet_Edge_Neighb(), and SUMA_FaceSet_Edge_Neighb().

#define SUMA_MAX_FP_NAME_LENGTH   ( SUMA_MAX_DIR_LENGTH + SUMA_MAX_NAME_LENGTH )
 

Definition at line 97 of file SUMA_define.h.

Referenced by SUMA_Read_SpecFile().

#define SUMA_MAX_LABEL_LENGTH   300
 

Maximum number of characters for labeling and naming suma fields and objects

Definition at line 99 of file SUMA_define.h.

Referenced by SUMA_Alloc_Axis(), SUMA_ColPlane_NewOrder(), SUMA_InitializeColPlaneShell(), SUMA_InitializeDrawROIWindow(), SUMA_IO_args_2_spec(), SUMA_SpecStructInfo(), and SUMA_swap_spec_entries().

#define SUMA_MAX_MEMBER_FACE_SETS   110
 

Maximum number of facesets a node can be part of. Used to be 60 but that was not enough for a few funky FS surfaces. ZSS Mon Mar 24 16:14:12 EST 2003

Definition at line 89 of file SUMA_define.h.

Referenced by SUMA_MemberFaceSets().

#define SUMA_MAX_MESSAGES   100
 

Maximum number of messages stored in list

Definition at line 88 of file SUMA_define.h.

Referenced by SUMA_RegisterMessage().

#define SUMA_MAX_N_GROUPS   100
 

Maximum number of surface groups

Definition at line 87 of file SUMA_define.h.

Referenced by main(), and SUMA_RegisterGroup().

#define SUMA_MAX_N_SURFACE_SPEC   20
 

Maximum number of surfaces allowed in a spec file

Definition at line 116 of file SUMA_define.h.

Referenced by SUMA_IO_args_2_spec(), and SUMA_Read_SpecFile().

#define SUMA_MAX_NUMBER_NODE_NEIGHB   100
 

Maximum number of neighbors any one node can have. Used to be 50 but that was not enough for a few funky FS surfaces. ZSS Mon Mar 24 16:14:12 EST 2003

Definition at line 102 of file SUMA_define.h.

Referenced by SUMA_Build_FirstNeighb(), and SUMA_SureFit_Read_Topo().

#define SUMA_MAX_OVERLAYS   50
 

Maximum number of color overlay planes allowed

Definition at line 105 of file SUMA_define.h.

Referenced by SUMA_AddNewPlane(), SUMA_Alloc_SurfObject_Struct(), and SUMA_Overlays_2_GLCOLAR4().

#define SUMA_MAX_ROI_CTRL_NODES   100
 

Maximum number of control nodes in an ROI

Definition at line 534 of file SUMA_define.h.

#define SUMA_MAX_ROI_CTRL_NODES3   300
 

Definition at line 535 of file SUMA_define.h.

#define SUMA_MAX_ROI_ON_SURFACE   100
 

Maximum number of ROIs Drawn on a surface

Definition at line 536 of file SUMA_define.h.

#define SUMA_MAX_STRING_LENGTH   1000
 

Maximum number of characters in a string

Definition at line 100 of file SUMA_define.h.

Referenced by SUMA_FreeSurfer_Read_eng(), SUMA_input(), SUMA_process_NIML_data(), SUMA_readFScurv(), SUMA_ReadNumStdin(), SUMA_RegisterEngineData(), and SUMA_RegisterEngineListCommand().

#define SUMA_MAX_SURF_VIEWERS   6
 

Maximum number of surface viewers allowed

Definition at line 94 of file SUMA_define.h.

Referenced by main(), SUMA_ButtClose_pushed(), SUMA_cb_createSumaCont(), SUMA_Create_CommonFields(), SUMA_CreateSumaContStruct(), SUMA_Engine(), SUMA_process_NIML_data(), SUMA_RegisterDO(), SUMA_RegisterSpecSO(), SUMA_set_Lock_arb(), SUMA_set_LockView_atb(), SUMA_SetupSVforDOs(), and SUMA_X_SurfaceViewer_Create().

#define SUMA_MemberFaceSets_struct
 

structure that contains the output of SUMA_MemberFaceSets function

Definition at line 1515 of file SUMA_define.h.

#define SUMA_MEMTRACE_BLOCK   10000
 

Number of elements to allocate for when keeping track of allocated memory. If needed more space is reallocated with SUMA_MEMTRACE_BLOCK increments.

Definition at line 118 of file SUMA_define.h.

Referenced by SUMA_allocate2D(), and SUMA_Create_MemTrace().

#define SUMA_MEMTRACE_FLAG   1
 

Flag to turn on(1) or off (0) the memory tracing capability

Definition at line 119 of file SUMA_define.h.

#define SUMA_N_STANDARD_VIEWS   2
 

Maximum number of standard views, see SUMA_STANDARD_VIEWS

Definition at line 314 of file SUMA_define.h.

#define SUMA_N_STANDARD_VIEWS   2
 

Maximum number of standard views, see SUMA_STANDARD_VIEWS

Definition at line 314 of file SUMA_define.h.

#define SUMA_NIML_WORKPROC_IO_NOTIFY   0
 

If set to 1 then SUMA_niml_workprocess will send a notification when InOut_Notify is ON You should keep it off unless you suspect a problem in that function. Otherwise you'll get many reports from the function making it difficult to see other messages.

Definition at line 125 of file SUMA_define.h.

#define SUMA_NODE_ALPHA   1
 

Node Color Intensity 1, max intensity 0 min intensity

Definition at line 76 of file SUMA_define.h.

Referenced by SUMA_DrawMesh(), and SUMA_FillColorList().

#define SUMA_NODEINLISTMAX   500
 

Maximum nuber of nodes that can form one branch

Definition at line 1856 of file SUMA_define.h.

#define SUMA_PERSPECTIVE_FAR   900
 

Z Far, distance from the viewer to the far clipping plane (for gluPerspective)

Definition at line 109 of file SUMA_define.h.

Referenced by SUMA_cmap_wid_display().

#define SUMA_PERSPECTIVE_NEAR   1.0
 

Z Near, distance from the viewer to the near clipping plane (for gluPerspective)

Definition at line 108 of file SUMA_define.h.

Referenced by SUMA_cmap_wid_display().

#define SUMA_PI   3.141592653589793
 

Definition at line 120 of file SUMA_define.h.

Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_cmap_wid_input(), SUMA_input(), and SUMA_SurfaceViewer_StructInfo().

#define SUMA_RED_GL   1.0, 0.0, 1.0, 1.0
 

red color

Definition at line 50 of file SUMA_define.h.

Referenced by SUMA_DrawWindowLine().

#define SUMA_SELECTED_FACESET_LINE_INTENSITY   0.75
 

line gray color intensity

Definition at line 75 of file SUMA_define.h.

Referenced by SUMA_Alloc_FaceSetMarker().

#define SUMA_SELECTED_FACESET_LINE_WIDTH   2
 

Line Width of highlighting triangles

Definition at line 73 of file SUMA_define.h.

Referenced by SUMA_Alloc_FaceSetMarker().

#define SUMA_SELECTED_FACESET_OFFSET_FACTOR   0.01
 

highlighting is done by drawing two triangles at a fractional distance of the normal vector

Definition at line 74 of file SUMA_define.h.

Referenced by SUMA_Draw_SO_ROI(), and SUMA_DrawFaceSetMarker().

#define SUMA_SELECTED_NODE_SPHERE_RADIUS   0.25
 

Definition at line 69 of file SUMA_define.h.

Referenced by SUMA_Alloc_SphereMarker().

#define SUMA_SEPARATE_SURF_CONTROLLERS   0
 

0 if you want surfaces sharing the same LocalDomainParent to use the same controller. If you choose 1, then the controllers will not be linked and there will be no parameter update for that colorplane in the other controllers. The problem is that every little callback will have to make a call to SUMA_UpdateColPlaneShellAsNeeded and that's a pain, to say the least.

Definition at line 8 of file SUMA_define.h.

#define SUMA_STDERR   stderr
 

Definition at line 62 of file SUMA_define.h.

#define SUMA_STDOUT   stdout
 

Definition at line 63 of file SUMA_define.h.

#define SUMA_SUMA_NIML_DEBUG   0
 

Definition at line 7 of file SUMA_define.h.

#define SUMA_SurfNorm_struct
 

structure that contains the output of SurfNorm function

Definition at line 1506 of file SUMA_define.h.

#define SUMA_TCP_LISTEN_PORT0   53220
 

SUMA's 1st listening port

Definition at line 1810 of file SUMA_define.h.

Referenced by SUMA_Create_CommonFields().

#define SUMA_TCP_PORT   53211
 

AFNI listens to SUMA on this port

Definition at line 1809 of file SUMA_define.h.

#define SUMA_TESSCON_DIFF_FLAG   1000
 

If aMaxDim - aMinDim > SUMA_TESSCON_DIFF_FLAG in a .iv file, scaling by SUMA_TESSCON_TO_MM is applied

Definition at line 111 of file SUMA_define.h.

Referenced by SUMA_PrepSO_GeomProp_GL().

#define SUMA_TESSCON_TO_MM   319.7
 

The mysterious Tesscon units

Definition at line 110 of file SUMA_define.h.

Referenced by SUMA_PrepSO_GeomProp_GL().

#define SUMA_WORKPROC_IO_NOTIFY   0
 

Same as above but for SUMA_workprocess

Definition at line 128 of file SUMA_define.h.

#define SUMA_WriteCheckWait   400
 

Milliseconds to wait for each stream_writecheck call

Definition at line 113 of file SUMA_define.h.

Referenced by SUMA_niml_call().

#define SUMA_WriteCheckWaitMax   2000
 

Milliseconds to try and establish a good WriteCheck

Definition at line 114 of file SUMA_define.h.

Referenced by SUMA_niml_call().

#define SUMA_XYZ_XFORM_BOXDIM_MM   5
 

search box width (in mm) used to change XYZ to the closest node index. Keep this one small, 5 mm works for me. Otherwise you may get thrown way off of where you should be. It is no guarantee that the closest node is part of the faceset you are looking at

Definition at line 72 of file SUMA_define.h.

Referenced by SUMA_XYZ_XYZmap(), and SUMA_XYZmap_XYZ().

#define TRANSLATE_GAIN   50
 

between 40 and 80

Definition at line 83 of file SUMA_define.h.

Referenced by SUMA_Alloc_SurfaceViewer_Struct().

#define TRIANGLES   1
 

Definition at line 18 of file SUMA_define.h.

Referenced by SUMA_DrawMesh().


Enumeration Type Documentation

enum SUMA_ACTION_POLARITY
 

Enumeration values:
SAP_Do 
SAP_Undo 
SAP_Redo 

Definition at line 335 of file SUMA_define.h.

Referenced by SUMA_AddFillROIDatum(), SUMA_AddToTailJunctionROIDatum(), SUMA_AddToTailROIDatum(), SUMA_FinishedROI(), and SUMA_PushActionStack().

00335              { SAP_Do,
00336                SAP_Undo,
00337                SAP_Redo,
00338             } SUMA_ACTION_POLARITY;               

enum SUMA_ACTION_RESULT
 

Enumeration values:
SAR_Undefined 
SAR_Fail  Failed action
SAR_Succeed 

Definition at line 330 of file SUMA_define.h.

Referenced by SUMA_AddFillROIDatum(), SUMA_AddToTailJunctionROIDatum(), SUMA_AddToTailROIDatum(), SUMA_FinishedROI(), SUMA_PushActionStack(), SUMA_RedoAction(), and SUMA_UndoAction().

00330              {    SAR_Undefined,
00331                   SAR_Fail, /*!< Failed action */
00332                   SAR_Succeed,
00333                }  SUMA_ACTION_RESULT;  

enum SUMA_AxisType
 

Enumeration values:
SUMA_STD_ZERO_CENTERED 
SUMA_SCALE_BOX 

Definition at line 1267 of file SUMA_define.h.

enum SUMA_BRUSH_STROKE_ACTION
 

Enumeration values:
SUMA_BSA_Undefined 
SUMA_BSA_AppendStroke 
SUMA_BSA_AppendStrokeOrFill 
SUMA_BSA_JoinEnds 
SUMA_BSA_FillArea 

Definition at line 301 of file SUMA_define.h.

Referenced by SUMA_input(), and SUMA_ProcessBrushStroke().

enum SUMA_CELL_VARIETY
 

Enumeration values:
SUMA_ERROR_CELL 
SUMA_ROW_TIT_CELL 
SUMA_COL_TIT_CELL 
SUMA_ENTRY_CELL 

Definition at line 929 of file SUMA_define.h.

Referenced by SUMA_cellvariety().

enum SUMA_COL_MIX_MODE
 

Enumeration values:
SUMA_BAD_MODE 
SUMA_ORIG_MIX_MODE  The original mode for color overlaying: if (Col1) Col = (1-opacity) Col1 + opacity Col2
SUMA_4AML  A modified mixing mode to keep colors from getting dimmed (as with opacity of 0.5 on Col1 = 0.3 0 0 and Col2 = 0 0.3 0) resultant is a very dim yellow 0.15 0.15 0 Named after the eminent A. M. L.
SUMA_MAX_MODES  The limit, used for cycling

Definition at line 479 of file SUMA_define.h.

Referenced by SUMA_ColMixModeString().

00479              { SUMA_BAD_MODE=-1, 
00480                SUMA_ORIG_MIX_MODE,  /*!< The original mode for color overlaying: 
00481                                  if (Col1) Col = (1-opacity) Col1 + opacity Col2 */
00482                SUMA_4AML,  /*!< A modified mixing mode to keep colors from getting dimmed 
00483                               (as with opacity of 0.5 on Col1 = 0.3 0 0 and Col2 = 0 0.3 0)
00484                               resultant is a very dim yellow 0.15 0.15 0 
00485                               Named after the eminent A. M. L.*/
00486                SUMA_MAX_MODES /*!< The limit, used for cycling */
00487                } SUMA_COL_MIX_MODE;

enum SUMA_COLORMAP_INTERP_MODE
 

Enumeration values:
SUMA_UNDEFINED_MODE 
SUMA_DIRECT  no interpolation on the colormap, node value is typecast to int and directly used to access color map
SUMA_NO_INTERP  no interpolation on the colormap (like in afni with paned colormaps) but ranging is applied
SUMA_INTERP  interpolation on the colormap, SUMA's default

Definition at line 376 of file SUMA_define.h.

00376              { SUMA_UNDEFINED_MODE, 
00377                SUMA_DIRECT, /*!< no interpolation on the colormap, node value is typecast to int and directly used
00378                                       to access color map */
00379                SUMA_NO_INTERP,   /*!< no interpolation on the colormap (like in afni with paned colormaps) but ranging
00380                                        is applied */  
00381                SUMA_INTERP       /*!< interpolation on the colormap, SUMA's default */
00382             } SUMA_COLORMAP_INTERP_MODE;

enum SUMA_DO_CoordType
 

Enumeration values:
SUMA_SCREEN 
SUMA_LOCAL 

Definition at line 146 of file SUMA_define.h.

Referenced by SUMA_AddDO().

00146 {SUMA_SCREEN, SUMA_LOCAL} SUMA_DO_CoordType; /*!< Coordinate system that Displayable object is attached to

enum SUMA_DO_Types
 

Enumeration values:
SO_type 
AO_type 
ROIdO_type 
ROIO_type 
GO_type 
LS_type 

Definition at line 142 of file SUMA_define.h.

Referenced by SUMA_AddDO(), and SUMA_GetDO_Type().

00142 {SO_type, AO_type, ROIdO_type, ROIO_type, GO_type, LS_type} SUMA_DO_Types;   /*!< Displayable Object Types 

enum SUMA_DOMAIN_KINSHIPS
 

Enumeration values:
SUMA_DOMAINS_ERROR 
SUMA_DOMAINS_NOT_RELATED  Surfaces are not related Above that flag, surfaces are related
SUMA_SO1_is_SO2  Surface1 is the same as Surface2
SUMA_SO1_is_LDPSO2  SO1 is the local domain parent of SO2
SUMA_SO2_is_LDPSO1  SO2 is the local domain parent of SO1
SUMA_LDPSO1_is_LDPSO2  SO1 and SO2 have the same local domain parent
SUMA_NUCELAR_FAMILY  A flag to indicate limit of immediate kinship (Don't blame me, official syntax in use) Above that flag, kinship is distant
SUMA_SO1_is_GPSO2  SO1 is the granddaddy of SO2
SUMA_SO2_is_GPSO1  SO2 is the granddaddy of SO1
SUMA_GPSO1_is_GPSO2  SO1 and SO2 have the same granddaddy

Definition at line 2027 of file SUMA_define.h.

Referenced by SUMA_DomainKinships_String(), SUMA_isRelated(), and SUMA_WhatAreYouToMe().

02027              {
02028    SUMA_DOMAINS_ERROR = -1,
02029    SUMA_DOMAINS_NOT_RELATED = 0,  /*!< Surfaces are not related 
02030                                        Above that flag, surfaces are related*/
02031    SUMA_SO1_is_SO2,           /*!< Surface1 is the same as Surface2 */
02032    SUMA_SO1_is_LDPSO2,        /*!< SO1 is the local domain parent of SO2 */
02033    SUMA_SO2_is_LDPSO1,        /*!< SO2 is the local domain parent of SO1 */
02034    SUMA_LDPSO1_is_LDPSO2,     /*!< SO1 and SO2 have the same local domain parent */
02035    SUMA_NUCELAR_FAMILY,       /*!< A flag to indicate limit of immediate kinship
02036                                   (Don't blame me, official syntax in use) 
02037                                   Above that flag, kinship is distant */
02038    SUMA_SO1_is_GPSO2,         /*!< SO1 is the granddaddy of SO2 */
02039    SUMA_SO2_is_GPSO1,         /*!< SO2 is the granddaddy of SO1 */
02040    SUMA_GPSO1_is_GPSO2,     /*!< SO1 and SO2 have the same  granddaddy*/
02041 } SUMA_DOMAIN_KINSHIPS; /*!< The type of relationships between surfaces, modify 

enum SUMA_ENGINE_CODE
 

Enumeration values:
SE_Empty 
SE_SetLookAt 
SE_SetLookFrom 
SE_Redisplay 
SE_Home 
SE_SetNodeColor 
SE_FlipLight0Pos 
SE_GetNearestNode 
SE_SetLookAtNode 
SE_HighlightNodes 
SE_SetRotMatrix 
SE_SetCrossHair 
SE_ToggleCrossHair 
SE_SetSelectedNode 
SE_ToggleShowSelectedNode 
SE_SetSelectedFaceSet 
SE_ToggleShowSelectedFaceSet 
SE_ToggleConnected 
SE_SetAfniCrossHair 
SE_SetAfniSurf 
SE_SetAfniSurfList 
SE_SetAfniThisSurf 
SE_SetForceAfniSurf 
SE_BindCrossHair 
SE_ToggleForeground 
SE_ToggleBackground 
SE_FOVreset 
SE_CloseStream4All 
SE_Redisplay_AllVisible 
SE_RedisplayNow 
SE_ResetOpenGLState 
SE_LockCrossHair 
SE_ToggleLockAllCrossHair 
SE_SetLockAllCrossHair 
SE_ToggleLockView 
SE_ToggleLockAllViews 
SE_Load_Group 
SE_Home_AllVisible 
SE_Help 
SE_Help_Cmap 
SE_Log 
SE_UpdateLog 
SE_SetRenderMode 
SE_OpenDrawROI 
SE_RedisplayNow_AllVisible 
SE_RedisplayNow_AllOtherVisible 
SE_SetLight0Pos 
SE_OpenColFileSelection 
SE_SaveDrawnROIFileSelection 
SE_OpenDrawnROIFileSelection 
SE_SendColorMapToAfni 
SE_SaveSOFileSelection 
SE_SetSOinFocus 
SE_StartListening 
SE_LoadViewFileSelection 
SE_SaveViewFileSelection 
SE_LoadSegDO 
SE_OpenDsetFileSelection 
SE_OpenCmapFileSelection 
SE_BadCode 

Definition at line 153 of file SUMA_define.h.

Referenced by SUMA_CommandString(), SUMA_GetListNextCommand(), SUMA_InitializeEngineListData(), and SUMA_RegisterEngineListCommand().

enum SUMA_ENGINE_FIELD_CODE
 

Enumeration values:
SEF_Empty 
SEF_fm 
SEF_im 
SEF_fv3 
SEF_iv3 
SEF_fv15 
SEF_iv15 
SEF_i 
SEF_f 
SEF_s 
SEF_vp 
SEF_cp 
SEF_fp 
SEF_ip 
SEF_iv200 
SEF_fv200 
SEF_ivec 
SEF_fvec 
SEF_BadCode 

Definition at line 168 of file SUMA_define.h.

Referenced by SUMA_EngineFieldCode(), SUMA_EngineFieldString(), and SUMA_RegisterEngineListCommand().

enum SUMA_ENGINE_INSERT_LOCATION
 

Enumeration values:
SEI_WTSDS 
SEI_Head 
SEI_Tail 
SEI_Before 
SEI_After 
SEI_In 
SEI_BadLoc 

Definition at line 183 of file SUMA_define.h.

Referenced by SUMA_RegisterEngineListCommand().

enum SUMA_ENGINE_SOURCE
 

Enumeration values:
SES_Empty 
SES_Afni  command from Afni directly which practically means that Srcp in EngineData is not SUMA_SurfaceViewer * . In the future, some Afni related pointer might get passed here.
SES_Suma  command from Suma, which means that Srcp is a SUMA_SurfaceViewer * to the viewer making the command.
SES_SumaWidget  command from a widget in Suma. Usually means, do not try to update widget ...
SES_SumaFromAfni  command from Suma in response to a request from Afni. Srcp is still a SUMA_SurfaceViewer * but Afni, havin initiated the command should not receive the command back from Suma. Think cyclical cross hair setting...
SES_SumaFromAny  Same concept as SES_SumaFromAfni but from generic program.
SES_Unknown 

Definition at line 175 of file SUMA_define.h.

Referenced by SUMA_RegisterEngineListCommand().

00175              { SES_Empty,
00176                SES_Afni,  /*!< command from Afni directly which practically means that Srcp in EngineData is not SUMA_SurfaceViewer * . In the future, some Afni related pointer might get passed here. */
00177                SES_Suma,  /*!< command from Suma, which means that Srcp is a SUMA_SurfaceViewer * to the viewer making the command. */
00178                SES_SumaWidget,  /*!< command from a widget in Suma. Usually means, do not try to update widget ... */
00179                SES_SumaFromAfni,   /*!< command from Suma in response to a request from Afni. Srcp is still a SUMA_SurfaceViewer * but Afni, havin initiated the command should not receive the command back from Suma. Think cyclical cross hair setting... */
00180                SES_SumaFromAny,  /*!< Same concept as SES_SumaFromAfni but from generic program. */
00181                SES_Unknown} SUMA_ENGINE_SOURCE;

enum SUMA_FILE_SELECT_MODE
 

Enumeration values:
SUMA_FILE_OPEN 
SUMA_FILE_SAVE 

Definition at line 874 of file SUMA_define.h.

Referenced by SUMA_CreateFileSelectionDialogStruct().

00874 { SUMA_FILE_OPEN, SUMA_FILE_SAVE } SUMA_FILE_SELECT_MODE; /*!< mode of file selection dialog */

enum SUMA_INDEXING_ORDER
 

Enumeration values:
SUMA_NO_ORDER 
SUMA_ROW_MAJOR 
SUMA_COLUMN_MAJOR 

Definition at line 235 of file SUMA_define.h.

Referenced by main(), SUMA_Chung_Smooth(), SUMA_disp_vecdmat(), SUMA_disp_vecmat(), SUMA_disp_vecucmat(), SUMA_M2M_interpolate(), SUMA_NN_GeomSmooth(), SUMA_Offset_GeomSmooth(), and SUMA_Taubin_Smooth().

enum SUMA_LINK_TYPES
 

Enumeration values:
SUMA_No_Lock 
SUMA_I_Lock 
SUMA_XYZ_Lock 
SUMA_N_Lock_Types 

Definition at line 320 of file SUMA_define.h.

Referenced by SUMA_LockEnum_LockType().

00320 {   SUMA_No_Lock, SUMA_I_Lock, SUMA_XYZ_Lock, SUMA_N_Lock_Types}  SUMA_LINK_TYPES; /*!< types of viewer linking. Keep SUMA_N_Lock_Types at the end, it is used to keep track of the number of types*/

enum SUMA_ListSelectPolicy
 

Enumeration values:
SUMA_LSP_SINGLE 
SUMA_LSP_BROWSE 
SUMA_LSP_MULTIPLE 
SUMA_LSP_EXTENDED 

Definition at line 801 of file SUMA_define.h.

00801              {
00802    SUMA_LSP_SINGLE, SUMA_LSP_BROWSE, SUMA_LSP_MULTIPLE, SUMA_LSP_EXTENDED
00803 }  SUMA_ListSelectPolicy; /*!< Flags for motif list selection policy */

enum SUMA_MESSAGE_ACTION
 

Enumeration values:
SMA_Nothing 
SMA_Log 
SMA_LogAndPopup 
SMA_N 

Definition at line 1792 of file SUMA_define.h.

Referenced by SUMA_RegisterMessage().

01792              {    SMA_Nothing, 
01793                   SMA_Log, SMA_LogAndPopup,  
01794                   SMA_N }  SUMA_MESSAGE_ACTION; /*!< different actions to perform with messages */

enum SUMA_MESSAGE_TYPES
 

Enumeration values:
SMT_Nothing 
SMT_Notice 
SMT_Warning 
SMT_Error 
SMT_Critical 
SMT_Text 
SMT_N 

Definition at line 1788 of file SUMA_define.h.

Referenced by SUMA_RegisterMessage().

01788              {    SMT_Nothing, 
01789                   SMT_Notice, SMT_Warning, SMT_Error, SMT_Critical, SMT_Text, 
01790                   SMT_N }  SUMA_MESSAGE_TYPES; /*!< different types of messages */

enum SUMA_MOTION_TYPES
 

Enumeration values:
SUMA_Button_12_Motion 
SUMA_Button_2_Shift_Motion 
SUMA_Button_1_Motion 
SUMA_Button_2_Motion 
SUMA_Button_3_Motion 

Definition at line 151 of file SUMA_define.h.

enum SUMA_OVERLAY_PLANE_TYPE
 

Enumeration values:
SOPT_ibbb  int, byte, byte, byte, null
SOPT_ifff  int, float, float, float, null

Definition at line 187 of file SUMA_define.h.

00187              {    SOPT_ibbb,  /*!< int, byte, byte, byte, null */
00188                   SOPT_ifff   /*!< int, float, float, float, null */
00189             } SUMA_OVERLAY_PLANE_TYPE; /*!< type of color plane data, letters code for 

enum SUMA_PROMPT_BUTTONS
 

Enumeration values:
SUMA_OK_BUTTON 
SUMA_APPLY_BUTTON 
SUMA_CLEAR_BUTTON 
SUMA_CANCEL_BUTTON 
SUMA_HELP_BUTTON 
SUMA_N_PROMPT_BUTTONS 

Definition at line 791 of file SUMA_define.h.

Referenced by SUMA_CreatePromptDialogStruct(), and SUMA_PromptButtonLabel().

enum SUMA_PROMPT_MODE
 

Enumeration values:
SUMA_OK 
SUMA_OK_HELP 
SUMA_OK_CANCEL 
SUMA_OK_CANCEL_HELP 
SUMA_OK_CLEAR_CANCEL 
SUMA_OK_CLEAR_CANCEL_HELP 
SUMA_OK_APPLY_CANCEL 
SUMA_OK_APPLY_CANCEL_HELP 
SUMA_OK_APPLY_CLEAR_CANCEL 
SUMA_OK_APPLY_CLEAR_CANCEL_HELP 

Definition at line 795 of file SUMA_define.h.

Referenced by SUMA_CreatePromptDialogStruct().

enum SUMA_QUESTION_DIALOG_ANSWER
 

Enumeration values:
SUMA_NO_ANSWER 
SUMA_YES 
SUMA_NO 
SUMA_HELP 
SUMA_CANCEL 
SUMA_YES_ALL 
SUMA_NO_ALL 
SUMA_WHAT_THE_HELL 

Definition at line 134 of file SUMA_define.h.

enum SUMA_REDISPLAY_CAUSE
 

Enumeration values:
SUMA_RDC_ERROR 
SUMA_RDC_NOT_SET 
SUMA_RDC_X_START  flag, Beginning of X reasons
SUMA_RDC_X_EXPOSE 
SUMA_RDC_X_RESIZE 
SUMA_RDC_X_MAPSTATE 
SUMA_RDC_X_ENTER_WINDOW 
SUMA_RDC_X_END  flag, End of X reasons
SUMA_RDC_NEW_CROSSHAIR 
SUMA_RDC_NEW_DATA 

Definition at line 247 of file SUMA_define.h.

00247              {
00248    SUMA_RDC_ERROR = -1,
00249    SUMA_RDC_NOT_SET = 0,
00250    SUMA_RDC_X_START, /*!< flag, Beginning of X reasons */
00251    SUMA_RDC_X_EXPOSE,
00252    SUMA_RDC_X_RESIZE,
00253    SUMA_RDC_X_MAPSTATE,
00254    SUMA_RDC_X_ENTER_WINDOW,
00255    SUMA_RDC_X_END, /*!< flag, End of X reasons */
00256    SUMA_RDC_NEW_CROSSHAIR,
00257    SUMA_RDC_NEW_DATA,  
00258 } SUMA_REDISPLAY_CAUSE; /*!< reasons for requesting a redisplay */

enum SUMA_RENDER_MODES
 

Enumeration values:
SRM_ViewerDefault 
SRM_Fill 
SRM_Line 
SRM_Points 
SRM_N_RenderModes 

Definition at line 312 of file SUMA_define.h.

00312 { SRM_ViewerDefault, SRM_Fill, SRM_Line, SRM_Points , SRM_N_RenderModes} SUMA_RENDER_MODES; /*!< flags for various rendering modes */

enum SUMA_ROI_DRAWING_STATUS
 

Enumeration values:
SUMA_ROI_InCreation 
SUMA_ROI_Finished 
SUMA_ROI_InEdit 

Definition at line 292 of file SUMA_define.h.

Referenced by SUMA_AllocateDrawnROI().

enum SUMA_ROI_DRAWING_TYPE
 

Enumeration values:
SUMA_ROI_OpenPath  A collection of nodes that are topologically connected
SUMA_ROI_ClosedPath  A closed OpenPath
SUMA_ROI_FilledArea  A filled ClosePath
SUMA_ROI_Collection  A collection of nodes

Definition at line 294 of file SUMA_define.h.

Referenced by SUMA_AllocateDrawnROI().

00294              { SUMA_ROI_OpenPath,   /*!< A collection of nodes that are topologically connected */
00295                SUMA_ROI_ClosedPath, /*!< A closed OpenPath */
00296                SUMA_ROI_FilledArea, /*!< A filled ClosePath */
00297                                     /* Preserve the order of the above three */
00298                SUMA_ROI_Collection  /*!< A collection of nodes */
00299             } SUMA_ROI_DRAWING_TYPE;  /*!< an ROI created by drawing (or other means)*/

enum SUMA_ROI_FILL_MODES
 

Enumeration values:
SUMA_ROI_FILL_TO_ALLROI  Fill until you encounter a node part of any ROI
SUMA_ROI_FILL_TO_THISROI  Fill until you encounter a node part of this ROI

Definition at line 340 of file SUMA_define.h.

00340              {
00341    SUMA_ROI_FILL_TO_ALLROI, /*!< Fill until you encounter a node part of any ROI */
00342    SUMA_ROI_FILL_TO_THISROI, /*!< Fill until you encounter a node part of this ROI */
00343 }SUMA_ROI_FILL_MODES; 

enum SUMA_ROI_TYPE
 

Enumeration values:
SUMA_ROI_Undefined 
SUMA_ROI_NodeGroup  A collection of nodes
SUMA_ROI_EdgeGroup  A collection of edges
SUMA_ROI_FaceGroup  A collection of Faces
SUMA_ROI_NodeSegment  A series of connected nodes

Definition at line 303 of file SUMA_define.h.

Referenced by SUMA_AllocateROI().

00303              { SUMA_ROI_Undefined,
00304                SUMA_ROI_NodeGroup, /*!< A collection of nodes */
00305                SUMA_ROI_EdgeGroup, /*!< A collection of edges */
00306                SUMA_ROI_FaceGroup, /*!< A collection of Faces */
00307                SUMA_ROI_NodeSegment /*!< A series of connected nodes */
00308              } SUMA_ROI_TYPE; /* a generic types of ROI datums*/

enum SUMA_SCREEN_CORNERS
 

Enumeration values:
SUMA_LOWER_LEFT_SCREEN 
SUMA_UPPER_LEFT_SCREEN 
SUMA_UPPER_RIGHT_SCREEN 
SUMA_LOWER_RIGHT_SCREEN 

Definition at line 2116 of file SUMA_define.h.

enum SUMA_SO_File_Format
 

Enumeration values:
SUMA_FF_NOT_SPECIFIED 
SUMA_ASCII 
SUMA_BINARY 
SUMA_BINARY_BE 
SUMA_BINARY_LE 

Definition at line 141 of file SUMA_define.h.

Referenced by SUMA_Load_Surface_Object(), SUMA_Load_Surface_Object_eng(), SUMA_Load_Surface_Object_Wrapper(), and SUMA_Save_Surface_Object().

enum SUMA_SO_File_Type
 

Enumeration values:
SUMA_FT_ERROR 
SUMA_FT_NOT_SPECIFIED 
SUMA_FREE_SURFER 
SUMA_FREE_SURFER_PATCH 
SUMA_SUREFIT 
SUMA_INVENTOR_GENERIC 
SUMA_PLY 
SUMA_VEC 
SUMA_CMAP_SO 
SUMA_BRAIN_VOYAGER 
SUMA_OPENDX_MESH 
SUMA_N_SO_FILE_TYPE 

Definition at line 136 of file SUMA_define.h.

Referenced by SUMA_2Prefix2SurfaceName(), SUMA_guess_surftype_argv(), SUMA_Load_Surface_Object(), SUMA_Load_Surface_Object_eng(), SUMA_Load_Surface_Object_Wrapper(), SUMA_Prefix2SurfaceName(), SUMA_RemoveSurfNameExtension(), SUMA_Save_Surface_Object(), SUMA_SurfaceTypeCode(), and SUMA_SurfaceTypeString().

00136               { SUMA_FT_ERROR = -1, SUMA_FT_NOT_SPECIFIED, 
00137                SUMA_FREE_SURFER, SUMA_FREE_SURFER_PATCH, SUMA_SUREFIT, 
00138                SUMA_INVENTOR_GENERIC, SUMA_PLY, SUMA_VEC, SUMA_CMAP_SO, SUMA_BRAIN_VOYAGER , 
00139                SUMA_OPENDX_MESH, 
00140                   SUMA_N_SO_FILE_TYPE} SUMA_SO_File_Type; /* add types always between SUMA_FT_NOT_SPECIFIED AND SUMA_N_SO_FILE_TYPE */

enum SUMA_SO_SIDE
 

Enumeration values:
SUMA_SIDE_ERROR 
SUMA_NO_SIDE 
SUMA_LEFT 
SUMA_RIGHT 

Definition at line 133 of file SUMA_define.h.

Referenced by SUMA_FormSOListToSendToAFNI(), and SUMA_GuessSide().

enum SUMA_SORT_BOX_AXIS_OPTION
 

Enumeration values:
SUMA_NO_SORT 
SUMA_BY_PLANE_DISTANCE 
SUMA_BY_SEGMENT_DISTANCE 
SUMA_SORT_BY_LLC_DISTANCE 
SUMA_SORT_BY_LL_QUAD 

Definition at line 2115 of file SUMA_define.h.

Referenced by SUMA_SortedAxisSegmentList().

enum SUMA_STANDARD_CMAP
 

Enumeration values:
SUMA_CMAP_ERROR 
SUMA_CMAP_UNDEFINED 
SUMA_CMAP_RGYBR20 
SUMA_CMAP_nGRAY20 
SUMA_CMAP_GRAY02 
SUMA_CMAP_flpGRAY02 
SUMA_CMAP_GRAY20 
SUMA_CMAP_BW20 
SUMA_CMAP_BGYR19 
SUMA_CMAP_MATLAB_DEF_BYR64 
SUMA_CMAP_BGYR64 
SUMA_CMAP_ROI64 
SUMA_CMAP_ROI128 
SUMA_CMAP_ROI256 
SUMA_CMAP_N_MAPS 

Definition at line 284 of file SUMA_define.h.

Referenced by SUMA_cb_AfniLink_toggled(), SUMA_GetStandardMap(), SUMA_input(), SUMA_NodeVal2irgba_nel(), SUMA_Paint_SO_ROIplanes(), SUMA_StandardMapCode(), and SUMA_StandardMapName().

00284              { SUMA_CMAP_ERROR=-1, SUMA_CMAP_UNDEFINED, /* Begin adding colormaps next: */
00285                SUMA_CMAP_RGYBR20,  SUMA_CMAP_nGRAY20, SUMA_CMAP_GRAY02, SUMA_CMAP_flpGRAY02, 
00286                SUMA_CMAP_GRAY20, SUMA_CMAP_BW20, SUMA_CMAP_BGYR19, 
00287                SUMA_CMAP_MATLAB_DEF_BYR64, SUMA_CMAP_BGYR64, SUMA_CMAP_ROI64, SUMA_CMAP_ROI128,
00288                SUMA_CMAP_ROI256,
00289                SUMA_CMAP_N_MAPS /* Don't add after this one */
00290                } SUMA_STANDARD_CMAP; /*!< Names of standard colormaps. RGYBR20 reads Red, Green, Yellow, Blue, Red, 20 colors total */

enum SUMA_STANDARD_VIEWS
 

Enumeration values:
SUMA_2D_Z0 
SUMA_3D 
SUMA_Dunno 

Definition at line 315 of file SUMA_define.h.

Referenced by SUMA_BestStandardView(), and SUMA_input().

00315 {   SUMA_2D_Z0, SUMA_3D, SUMA_Dunno} SUMA_STANDARD_VIEWS; /*!< Standard viewing modes. These are used to decide what viewing parameters to carry on when switching states 

enum SUMA_STIPPLE
 

Enumeration values:
SUMA_SOLID_LINE 
SUMA_DASHED_LINE 

Definition at line 149 of file SUMA_define.h.

enum SUMA_STREAM_INDICES
 

Enumeration values:
SUMA_AFNI_STREAM_INDEX  Index of SUMA<-->AFNI stream , afni listen line 1
SUMA_AFNI_STREAM_INDEX2  Index of SUMA<-->AFNI 2nd stream, afni listen line 2
SUMA_GENERIC_LISTEN_LINE  Using socket SUMA_TCP_LISTEN_PORT0, generic suma listen line
SUMA_GEOMCOMP_LINE  Using socket SUMA_TCP_LISTEN_PORT0 + 1
SUMA_BRAINWRAP_LINE  Using socket SUMA_TCP_LISTEN_PORT0 + 2
SUMA_MAX_STREAMS  Maximum number of streams, KEEP AT END

Definition at line 1815 of file SUMA_define.h.

01815              { SUMA_AFNI_STREAM_INDEX = 0, /*!< Index of SUMA<-->AFNI stream , afni listen line 1*/ 
01816                SUMA_AFNI_STREAM_INDEX2 ,  /*!< Index of SUMA<-->AFNI 2nd stream, afni listen line 2 */  
01817                SUMA_GENERIC_LISTEN_LINE, /*!< Using socket  SUMA_TCP_LISTEN_PORT0, generic suma listen line*/
01818                SUMA_GEOMCOMP_LINE, /*!<  Using socket  SUMA_TCP_LISTEN_PORT0 + 1*/
01819                SUMA_BRAINWRAP_LINE, /*!<  Using socket SUMA_TCP_LISTEN_PORT0 + 2*/
01820                SUMA_MAX_STREAMS /*!< Maximum number of streams, KEEP AT END */
01821             } SUMA_STREAM_INDICES;

enum SUMA_SURF_GRID_INTERSECT_OPTIONS
 

Enumeration values:
SUMA_DONT_KNOW 
SUMA_IN_TRIBOX_OUTSIDE 
SUMA_INTERSECTS_TRIANGLE_OUTSIDE 
SUMA_ON_NODE 
SUMA_INTERSECTS_TRIANGLE_INSIDE 
SUMA_IN_TRIBOX_INSIDE 
SUMA_INSIDE_SURFACE 

Definition at line 131 of file SUMA_define.h.

enum SUMA_THRESH_MODE
 

Enumeration values:
SUMA_LESS_THAN  Mask if T[i] < Opt->ThreshRange[0]
SUMA_ABS_LESS_THAN  Mask if T[i] < Opt->ThreshRange[0] || T[i] > -Opt->ThreshRange[0]
SUMA_THRESH_OUTSIDE_RANGE  Mask if T[i] < Opt->ThreshRange[0] || T[i] > Opt->ThreshRange[1]
SUMA_THRESH_INSIDE_RANGE  Mask if T[i] > Opt->ThreshRange[0] || T[i] < Opt->ThreshRange[1]

Definition at line 384 of file SUMA_define.h.

00384              {
00385                SUMA_LESS_THAN,   /*!< Mask if T[i] < Opt->ThreshRange[0] */
00386                SUMA_ABS_LESS_THAN, /*!< Mask if T[i] < Opt->ThreshRange[0] || T[i] > -Opt->ThreshRange[0] */
00387                SUMA_THRESH_OUTSIDE_RANGE, /*!< Mask if T[i] < Opt->ThreshRange[0] || T[i] > Opt->ThreshRange[1] */
00388                SUMA_THRESH_INSIDE_RANGE, /*!< Mask if T[i] > Opt->ThreshRange[0] || T[i] < Opt->ThreshRange[1] */
00389             }  SUMA_THRESH_MODE;

enum SUMA_VOX_NEIGHB_TYPES
 

Enumeration values:
SUMA_VOX_NEIGHB_FACE 
SUMA_VOX_NEIGHB_EDGE 
SUMA_VOX_NEIGHB_CORNER 

Definition at line 130 of file SUMA_define.h.

Referenced by SUMA_VoxelNeighbors().

enum SUMA_WIDGET_CMAP_MODE
 

Enumeration values:
SW_CmapMode 
SW_Interp 
SW_NN 
SW_Direct 
SW_N_CmapMode 

Definition at line 243 of file SUMA_define.h.

enum SUMA_WIDGET_INDEX_COORDBIAS
 

Enumeration values:
SW_CoordBias 
SW_CoordBias_None 
SW_CoordBias_X 
SW_CoordBias_Y 
SW_CoordBias_Z 
SW_CoordBias_N 
SW_N_CoordBias 

Definition at line 237 of file SUMA_define.h.

Referenced by SUMA_ScaleToMap_Interactive(), SUMA_SetCoordBias(), SUMA_SetSO_CoordBias(), SUMA_TransferCoordBias(), and SUMA_TransferSO_CoordBias().

enum SUMA_WIDGET_INDEX_DRAWROI_SAVEMODE
 

Enumeration values:
SW_DrawROI_SaveMode 
SW_DrawROI_SaveMode1D 
SW_DrawROI_SaveModeNIML 
SW_N_DrawROI_SaveMode 

Definition at line 223 of file SUMA_define.h.

enum SUMA_WIDGET_INDEX_DRAWROI_SAVEWHAT
 

Enumeration values:
SW_DrawROI_SaveWhat 
SW_DrawROI_SaveWhatThis 
SW_DrawROI_SaveWhatRelated 
SW_N_DrawROI_SaveWhat 

Definition at line 227 of file SUMA_define.h.

00227              { SW_DrawROI_SaveWhat,
00228                SW_DrawROI_SaveWhatThis, SW_DrawROI_SaveWhatRelated, 
00229                SW_N_DrawROI_SaveWhat } SUMA_WIDGET_INDEX_DRAWROI_SAVEWHAT; /*!< Indices to widgets in DrawROI under SavingWhat */

enum SUMA_WIDGET_INDEX_DRAWROI_WHATDIST
 

Enumeration values:
SW_DrawROI_WhatDist 
SW_DrawROI_WhatDistNothing 
SW_DrawROI_WhatDistTrace 
SW_DrawROI_WhatDistAll 
SW_N_DrawROI_WhatDist 

Definition at line 231 of file SUMA_define.h.

Referenced by SUMA_ReportDrawnROIDatumLength().

enum SUMA_WIDGET_INDEX_FILE
 

Enumeration values:
SW_File 
SW_FileOpen 
SW_FileOpenSpec 
SW_FileOpenSurf 
SW_FileClose 
SW_FileSaveView 
SW_FileLoadView 
SW_N_File 

Definition at line 194 of file SUMA_define.h.

00194              { SW_File, 
00195                SW_FileOpen, SW_FileOpenSpec, SW_FileOpenSurf, SW_FileClose,
00196                SW_FileSaveView, SW_FileLoadView, 
00197                SW_N_File } SUMA_WIDGET_INDEX_FILE; /*!< Indices to widgets under File menu. 

enum SUMA_WIDGET_INDEX_HELP
 

Enumeration values:
SW_Help 
SW_HelpUsage 
SW_HelpMessageLog 
SW_HelpSep1 
SW_HelpSUMAGlobal 
SW_HelpViewerStruct 
SW_HelpSurfaceStruct 
SW_HelpSep2 
SW_HelpIONotify 
SW_HelpMemTrace 
SW_N_Help 

Definition at line 212 of file SUMA_define.h.

enum SUMA_WIDGET_INDEX_SURFCONT_RENDER
 

Enumeration values:
SW_SurfCont_Render 
SW_SurfCont_RenderViewerDefault 
SW_SurfCont_RenderFill 
SW_SurfCont_RenderLine 
SW_SurfCont_RenderPoints 
SW_N_SurfCont_Render 

Definition at line 219 of file SUMA_define.h.

enum SUMA_WIDGET_INDEX_TOOLS
 

Enumeration values:
SW_Tools 
SW_ToolsDrawROI 
SW_N_Tools 

Definition at line 200 of file SUMA_define.h.

00200              { SW_Tools,
00201                SW_ToolsDrawROI,
00202                SW_N_Tools } SUMA_WIDGET_INDEX_TOOLS; /*!< Indices to widgets under Tools menu. 

enum SUMA_WIDGET_INDEX_VIEW
 

Enumeration values:
SW_View 
SW_ViewSumaCont 
SW_ViewSurfCont 
SW_ViewViewCont 
SW_ViewSep1 
SW_ViewCrossHair 
SW_ViewNodeInFocus 
SW_ViewSelectedFaceset 
SW_N_View 

Definition at line 205 of file SUMA_define.h.

enum SUMA_WINDOW_POSITION
 

Enumeration values:
SWP_DONT_CARE 
SWP_TOP_RIGHT  Position to the top right of reference
SWP_BOTTOM_RIGHT_CORNER 
SWP_TOP_LEFT 
SWP_POINTER  Position centered to the pointer
SWP_POINTER_OFF 

Definition at line 322 of file SUMA_define.h.

Referenced by SUMA_AllocateScrolledList(), SUMA_ForceUser_YesNo(), and SUMA_PositionWindowRelative().

00322              {  SWP_DONT_CARE,
00323                 SWP_TOP_RIGHT, /*!< Position to the top right of reference */
00324                 SWP_BOTTOM_RIGHT_CORNER, 
00325                 SWP_TOP_LEFT,
00326                 SWP_POINTER, /*!< Position centered to the pointer */
00327                 SWP_POINTER_OFF
00328              } SUMA_WINDOW_POSITION; /*!< Types of relative window positions */

enum SUMA_WORLD_AXIS_TOGGLE_METHODS
 

Enumeration values:
SUMA_NO_WAX 
SUMA_THREE_WAX 
SUMA_THREE_TEXT_WAX 
SUMA_BOX_WAX 
SUMA_BOX_TEXT_WAX 
SUMA_N_WAX_OPTIONS 

Definition at line 1328 of file SUMA_define.h.

enum SUMA_XRESOURCES
 

Enumeration values:
SXR_default 
SXR_Euro 
SXR_Afni 
SXR_Bonaire 

Definition at line 310 of file SUMA_define.h.

00310 { SXR_default, SXR_Euro, SXR_Afni , SXR_Bonaire} SUMA_XRESOURCES;   /* flags for different X resources */
 

Powered by Plone

This site conforms to the following standards: