_Create3DMovie, GetCurrentViewIndex, GetCurrentViewProjection, GetImageOriginalStatus, GetOpenedViewList, PictureMouseOperation, SyncLocus, Thumbnails, TranslateOriginalStatusToText
Description
_Create3DMovie();
This function displays the Create 3D Movie dialog window. AVI movie of rotation of the current Volume View / Surface View of a Z sequence can be created via this window.
Description
GetCurrentViewIndex();
Returns the (zero-based) index of the currently opened view (or job) as listed in the Main Menu > Window. If no view is opened, the function returns -1.
Description
GetCurrentViewProjection( int *pPrimaryProjection
, int *pSecondaryProjection
, int *pMinMaxIP
, int *pIPType
);
This function is used to find out what projection is used on the current view, whether Maximum/Minimum Intensity Projection is enabled and if so, on which axis. It can be used especially in Maximum/Minimum Intensity View, Slices View, and Tiled View.
Parameters
Description
int GetImageOriginalStatus(
int section
);
This function checks in the active document whether the required section is Original or Modified.
Parameters
section
Section.
Image attributes - basic metadata such as date, etc. | |
Text description - fulltext field description containing e.g. which camera was used for acquisition. | |
Custom metadata - field with custom metadata. | |
Image - image itself. | |
Timestamps - timestamps of single frames. | |
Experiment - metadata of the experiment / ND Acquisition, e.g. number of time loops. | |
Acquisition details - advanced metadata, e.g. OC details like camera, objective, etc. |
Description
GetOpenedViewList( char *OpenedViewList
, int *OpenedViewTypesList
, intMaxItems
, int *MaxPath
);
This function writes the list of opened Views to the buffer OpenedViewList and fills TypesList with the type of each view. Each View name will have the length of MaxPath (name of nth view starts at offset n * MaxPath starting from n=0, eg. char* thirdViewName = OpenedViewList[2 * Maxpath];). If MaxItems is lower than the number of opened views, the function returns a minus number of documents and the list is not filled. If MaxPath is insufficient, the function fails, returns a minus number of documents and the MaxPath will be set to minus length of the first encountered view with a too long name.
Parameters
Example: int numViews = 0; char views[24 * MAX_FILE_NAME] int maxChars = MAX_FILE_NAME; int types[24]; int i; char* fileName; numViews = GetOpenedViewList(views, types, 24, &maxChars); if (numViews < 0) { if (maxChars < 0) { // function failed, we need to increase maxChars to at least (-maxChars) maxChars = -maxChars; numViews = GetOpenedViewList(views, types, 24, &maxChars); } else { // function failed, we need to allocate bigger buffer // char views[48 * MAX_FILE_NAME]; // int types[48]; } } else { for (i = 0; i < numViews; ++i) { fileName = views + (i * MAX_FILE_NAME); int fileType = types[i]; } }
Description
PictureMouseOperation(
int MouseOp
);
This function turns switches between mouse operation modes (cursor types). Some operation modes are further divided to tools (e.g. manual measurement contains several measuring tools). Selection of these tools is not handled by this function, the most recently used tool is selected by default.
Parameters
Description
SyncLocus();
Synchronizes the observed data area from the active view to other views of the current document.
This function runs the View > Thumbnails menu command.
Description
Thumbnails();
This function displays all working images at reduced size.