Doxygen Source Code Documentation
SUMA_SurfaceViewer Struct Reference
#include <SUMA_define.h>
Detailed Description
structure defining the state of a viewer window
Definition at line 1330 of file SUMA_define.h.
Field Documentation
|
Angle to rotate surface by when arrows are used. Units are in radians Definition at line 1355 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_input(), and SUMA_SurfaceViewer_StructInfo(). |
|
Aspect ratio of the viewer Definition at line 1350 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_LoadVisualState(), SUMA_resize(), SUMA_SaveVisualState(), and SUMA_SurfaceViewer_StructInfo(). |
|
Factor to apply when modulating foreground color with background intensity background does not modulate foreground, Color = Fore * avg_Bright * AttenFactor; (w/ 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 1364 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_input(), SUMA_LoadVisualState(), SUMA_Overlays_2_GLCOLAR4(), SUMA_SaveVisualState(), SUMA_SurfaceViewer_StructInfo(), and SUMA_SwitchState(). |
|
flag for backface culling Definition at line 1357 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_context_Init(), SUMA_input(), SUMA_LoadVisualState(), and SUMA_SaveVisualState(). |
|
The new version of BrushStroke, in doubly linked list form Definition at line 1412 of file SUMA_define.h. Referenced by SUMA_AddToBrushStroke(), SUMA_Alloc_SurfaceViewer_Struct(), SUMA_BrushStrokeToNodeStroke(), SUMA_ClearBrushStroke(), SUMA_CreateBrushStroke(), SUMA_DrawBrushStroke(), SUMA_Free_SurfaceViewer_Struct(), SUMA_input(), SUMA_LinkTailNodeToNodeStroke(), SUMA_NodeStrokeToConnectedNodes(), SUMA_ProcessBrushStroke(), and SUMA_ShowBrushStroke(). |
|
Pointer to Cross Hair structure Definition at line 1397 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_display(), SUMA_Engine(), SUMA_Free_SurfaceViewer_Struct(), SUMA_input(), SUMA_makeNI_CrossHair(), SUMA_SwitchState(), SUMA_UpdateXhairField(), and SUMA_XhairInput(). |
|
viewer background color Definition at line 1373 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_context_Init(), SUMA_display(), SUMA_input(), SUMA_LoadVisualState(), and SUMA_SaveVisualState(). |
|
pointer to structures containing NodeColorLists for surfaces listed in RegisteredDO Definition at line 1338 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_EmptyColorList(), SUMA_FillColorList(), SUMA_Free_SurfaceViewer_Struct(), SUMA_GetColorList(), SUMA_MixColors(), SUMA_RegisterDO(), SUMA_SetAllRemixFlag(), SUMA_SetLocalRemixFlag(), SUMA_SetRemixFlag(), and SUMA_SetShownLocalRemixFlag(). |
|
current name of group Definition at line 1414 of file SUMA_define.h. Referenced by SUMA_AdoptGroup(), SUMA_AdoptSurfGroup(), SUMA_Alloc_SurfaceViewer_Struct(), SUMA_cb_createViewerCont(), SUMA_Free_SurfaceViewer_Struct(), SUMA_input(), SUMA_isVisibleSO(), SUMA_NextState(), SUMA_PrevState(), SUMA_process_NIML_data(), SUMA_RegisteredSOs(), SUMA_SetupSVforDOs(), SUMA_SurfaceViewer_StructInfo(), SUMA_SwitchGroups(), SUMA_SwitchState(), SUMA_UpdateViewerTitle(), SUMA_VisibleSOs(), and SUMA_WhichState(). |
|
index into SUMAg_DOv of the Displayabl Object currently in focus -1 for nothing Definition at line 1386 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), and SUMA_SurfaceViewer_StructInfo(). |
|
index into SUMAg_DOv of the surface currently in focus, -1 for nothing Definition at line 1385 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_BrushStrokeToNodeStroke(), SUMA_cb_viewSurfaceCont(), SUMA_Engine(), SUMA_input(), SUMA_JumpIndex(), SUMA_LinkTailNodeToNodeStroke(), SUMA_LinkThisNodeToNodeInStroke(), SUMA_makeNI_CrossHair(), SUMA_MarkLineSurfaceIntersect(), SUMA_NodeStrokeToConnectedNodes(), SUMA_OpenDrawnROI(), SUMA_process_NIML_data(), SUMA_ProcessBrushStroke(), SUMA_RenderToPixMap(), SUMA_SetupSVforDOs(), SUMA_SurfaceViewer_StructInfo(), SUMA_SwitchSO(), SUMA_SwitchState(), SUMA_UpdateViewerTitle(), and SUMA_UpdateViewerTitle_old(). |
|
Field of View (affects zoom level, there is a separate FOV for each ViewState) Definition at line 1354 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_Engine(), SUMA_input(), SUMA_LoadVisualState(), SUMA_RegisterSpecSO(), SUMA_SaveVisualState(), and SUMA_SurfaceViewer_StructInfo(). |
|
|
index into GroupList (stored in SUMAg_CF) of current group of Surface Viewer Definition at line 1415 of file SUMA_define.h. Referenced by SUMA_AdoptGroup(), SUMA_AdoptSurfGroup(), SUMA_Alloc_SurfaceViewer_Struct(), SUMA_SetupSVforDOs(), and SUMA_SurfaceViewer_StructInfo(). |
|
YUP if the window is minimized or shaded, NOPE if you can see its contents Definition at line 1406 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_cb_helpIO_notify(), SUMA_cb_helpMemTrace(), SUMA_Engine(), SUMA_mapStateChanged(), SUMA_NewSurfaceGeometry(), SUMA_PopUpMessage(), and SUMA_SwitchGroups(). |
|
index into VSv corresponding to State Definition at line 1403 of file SUMA_define.h. Referenced by SUMA_BestStandardView(), SUMA_Engine(), SUMA_input(), SUMA_LoadVisualState(), SUMA_SaveVisualState(), SUMA_SetupSVforDOs(), SUMA_SurfaceViewer_StructInfo(), and SUMA_SwitchState(). |
|
Index into the state in VSv from which a toggle to the mappable state was initiated Definition at line 1404 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_input(), and SUMA_SurfaceViewer_StructInfo(). |
|
Light 0 position: 1st 3 vals --> direction of light . Last value is 0 --> directional light Definition at line 1370 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_context_Init(), SUMA_Engine(), SUMA_input(), SUMA_SetupSVforDOs(), and SUMA_SurfaceViewer_StructInfo(). |
|
Light 1 position: 1st 3 vals --> direction of light. Last value is 0 --> directional light Definition at line 1371 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), and SUMA_SurfaceViewer_StructInfo(). |
|
YUP if the cross hair location is to be sent (and accepted from AFNI, when the stream is open) Definition at line 1408 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_JumpIndex(), SUMA_JumpXYZ(), SUMA_MarkLineSurfaceIntersect(), and SUMA_process_NIML_data(). |
|
Number of structures in ColList Definition at line 1339 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_EmptyColorList(), SUMA_FillColorList(), SUMA_Free_SurfaceViewer_Struct(), SUMA_GetColorList(), SUMA_MixColors(), SUMA_RegisterDO(), SUMA_SetAllRemixFlag(), SUMA_SetLocalRemixFlag(), SUMA_SetRemixFlag(), and SUMA_SetShownLocalRemixFlag(). |
|
Total number of surface objects registered with the viewer Definition at line 1331 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_display(), SUMA_Engine(), SUMA_GetEyeAxis(), SUMA_input(), SUMA_isVisibleSO(), SUMA_NewSurfaceGeometry(), SUMA_RedisplayAllShowing(), SUMA_RegisterDO(), SUMA_RegisteredSOs(), SUMA_SetLocalRemixFlag(), SUMA_SetRemixFlag(), SUMA_SurfaceViewer_StructInfo(), SUMA_UnRegisterDO(), SUMA_UpdateRotaCenter(), SUMA_UpdateViewPoint(), and SUMA_VisibleSOs(). |
|
Number of different geometric viewing structures Definition at line 1343 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(). |
|
Number of Viewing State structures Definition at line 1401 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_Free_SurfaceViewer_Struct(), SUMA_input(), SUMA_New_ViewState(), SUMA_NextState(), SUMA_PrevState(), SUMA_RegisterSpecSO(), SUMA_SurfaceViewer_StructInfo(), and SUMA_WhichState(). |
|
YUP if viewer has new geometry in it and needs to have its default viewing settings updated Definition at line 1411 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_display(), and SUMA_NewSurfaceGeometry(). |
|
Definition at line 1375 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_ButtClose_pushed(), SUMA_handleRedisplay(), and SUMA_X_SurfaceViewer_Create(). |
|
Orthographic (1) or perspective (0, default) projection Definition at line 1349 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_input(), and SUMA_SurfaceViewer_StructInfo(). |
|
Center of screen in World coordinates , at z = 0 (near clip plane) Definition at line 1390 of file SUMA_define.h. Referenced by SUMA_display(), and SUMA_SortedAxisSegmentList(). |
|
Center of screen in World coordinates , at z = 1 (near far plane) Definition at line 1391 of file SUMA_define.h. Referenced by SUMA_display(). |
|
Click location in World coordinates, at z = 0 (near clip plane) Definition at line 1388 of file SUMA_define.h. Referenced by SUMA_display(), SUMA_input(), and SUMA_MarkLineSurfaceIntersect(). |
|
Click location in World coordinates, at z = 1.0 (far clip plane) Definition at line 1389 of file SUMA_define.h. Referenced by SUMA_display(), SUMA_input(), and SUMA_MarkLineSurfaceIntersect(). |
|
lists of points on screen in world coordinates at z = 0 it holds N/3 points where N is the array length At the moment, all I need is one point, the lower left Should more be needed, I will add them to the list and document them here. Definition at line 1392 of file SUMA_define.h. Referenced by SUMA_display(). |
|
polygon viewing mode, SRM_Fill, SRM_Line, SRM_Points There is a similar field for each surface object to allow independent control for each surface. If the rendering mode is specified for a certain surface, it takes precedence over the one specified here Definition at line 1358 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_context_Init(), SUMA_DrawMesh(), SUMA_input(), SUMA_LoadVisualState(), SUMA_SaveVisualState(), and SUMA_SurfaceViewer_StructInfo(). |
|
Why has a redisplay been requested Definition at line 1416 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_display(), SUMA_expose(), SUMA_mapStateChanged(), SUMA_resize(), and SUMA_SetcSV(). |
|
Set record mode Definition at line 1334 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_display(), SUMA_input(), SUMA_UpdateViewerTitle(), and SUMA_UpdateViewerTitle_old(). |
|
RegisteredDO[i] (i=0..N_DO) contains Object indices into DOv for DOs visible in the surface viewer Definition at line 1332 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_display(), SUMA_Engine(), SUMA_Free_SurfaceViewer_Struct(), SUMA_GetEyeAxis(), SUMA_input(), SUMA_isVisibleSO(), SUMA_NewSurfaceGeometry(), SUMA_RedisplayAllShowing(), SUMA_RegisterDO(), SUMA_RegisteredSOs(), SUMA_SetLocalRemixFlag(), SUMA_SetRemixFlag(), SUMA_SurfaceViewer_StructInfo(), SUMA_UnRegisterDO(), SUMA_UpdateRotaCenter(), SUMA_UpdateViewPoint(), and SUMA_VisibleSOs(). |
|
YUP if you need to run the function that resets the Eye Axis before display. see functions SUMA_display and SUMA_OpenGLStateReset for more info Definition at line 1409 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_display(), SUMA_Engine(), SUMA_expose(), SUMA_input(), SUMA_JumpFocusFace(), SUMA_JumpFocusNode(), SUMA_JumpIndex(), SUMA_JumpXYZ(), SUMA_LoadSegDO(), SUMA_mapStateChanged(), SUMA_process_NIML_data(), SUMA_SetcSV(), and SUMA_SwitchGroups(). |
|
Flag for showing/not showing background colors Definition at line 1382 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_Engine(), SUMA_input(), SUMA_Overlays_2_GLCOLAR4(), SUMA_SaveVisualState(), and SUMA_SwitchState(). |
|
ShowCrossHair Definition at line 1380 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_display(), SUMA_Engine(), SUMA_LoadVisualState(), SUMA_SaveVisualState(), SUMA_SurfaceViewer_StructInfo(), and SUMA_X_SurfaceViewer_Create(). |
|
ShowEyeAxis Definition at line 1376 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_display(), SUMA_input(), SUMA_LoadVisualState(), SUMA_SaveVisualState(), and SUMA_SurfaceViewer_StructInfo(). |
|
Flag for showing/not showing foreground colors Definition at line 1381 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_Engine(), SUMA_input(), SUMA_LoadVisualState(), SUMA_Overlays_2_GLCOLAR4(), SUMA_SaveVisualState(), and SUMA_SwitchState(). |
|
Show left side surfaces Definition at line 1335 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_display(), SUMA_input(), SUMA_isVisibleSO(), SUMA_SurfaceViewer_StructInfo(), SUMA_UpdateViewerTitle(), SUMA_UpdateViewerTitle_old(), and SUMA_VisibleSOs(). |
|
ShowMeshAxis (attached to each surface) Definition at line 1377 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_display(), SUMA_input(), SUMA_LoadVisualState(), SUMA_SaveVisualState(), and SUMA_SurfaceViewer_StructInfo(). |
|
Show right side surfaces Definition at line 1336 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_display(), SUMA_input(), SUMA_isVisibleSO(), SUMA_SurfaceViewer_StructInfo(), SUMA_UpdateViewerTitle(), SUMA_UpdateViewerTitle_old(), and SUMA_VisibleSOs(). |
|
ShowWorldAxis Definition at line 1378 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_display(), SUMA_DrawAxis(), SUMA_input(), SUMA_LoadVisualState(), SUMA_SaveVisualState(), and SUMA_SurfaceViewer_StructInfo(). |
|
The current state of the viewer. This variable should no be freed since it points to locations within VSv Definition at line 1402 of file SUMA_define.h. Referenced by SUMA_cb_createViewerCont(), SUMA_Free_SurfaceViewer_Struct(), SUMA_input(), SUMA_NextState(), SUMA_PrevState(), SUMA_SetupSVforDOs(), SUMA_SurfaceViewer_StructInfo(), and SUMA_SwitchState(). |
|
|
Flag for using patch based dimensions (rather than entire nodelist) Definition at line 1383 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_UpdateRotaCenter(), and SUMA_UpdateViewPoint(). |
|
Verbosity of viewer Definition at line 1345 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), and SUMA_SurfaceViewer_StructInfo(). |
|
Vector of Viewing State Structures Definition at line 1400 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_BestStandardView(), SUMA_Free_SurfaceViewer_Struct(), SUMA_input(), SUMA_New_ViewState(), SUMA_NextState(), SUMA_PrevState(), SUMA_RegisterSpecSO(), SUMA_SetupSVforDOs(), SUMA_SurfaceViewer_StructInfo(), SUMA_SwitchState(), and SUMA_WhichState(). |
|
Pointer to world axis Definition at line 1398 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_display(), SUMA_Free_SurfaceViewer_Struct(), SUMA_input(), SUMA_NewGeometryInViewer(), SUMA_SetupSVforDOs(), SUMA_SurfaceViewer_StructInfo(), SUMA_SwitchSO(), and SUMA_SwitchState(). |
|
Height of window Definition at line 1352 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_display(), SUMA_input(), SUMA_LoadVisualState(), SUMA_resize(), SUMA_SaveVisualState(), SUMA_SortedAxisSegmentList(), SUMA_SurfaceViewer_StructInfo(), and SUMA_World2ScreenCoords(). |
|
Width of window Definition at line 1351 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_display(), SUMA_input(), SUMA_LoadVisualState(), SUMA_resize(), SUMA_SaveVisualState(), SUMA_SurfaceViewer_StructInfo(), and SUMA_World2ScreenCoords(). |
|
pointer to world coordinate axis Definition at line 1379 of file SUMA_define.h. |
|
|
Compensate mouse movements by zoom factor Definition at line 1353 of file SUMA_define.h. Referenced by SUMA_Alloc_SurfaceViewer_Struct(), SUMA_input(), and SUMA_SurfaceViewer_StructInfo(). |
The documentation for this struct was generated from the following file: