Real time interactive rendering.
- Scripting is one of MRIcroGL’s most powerful features.
- New users can drag-and-drop the script files from MRIcroGL’s ‘script’ folder onto the program to learn about some of the useful features of this software.
- Advanced users can develop their own macros to automate repetitive tasks or create nice demos.
- Pascal is used as the scripting language. To write a script, simply select View/Scripting to open the script engine. Type your commands into the text window and select Script/Compile to execute your script. You can also save and open scripts using the File menu. Here is a very simple script. It does one thing, which is to open the file named ch256.
- Note that MRIcroGL is pretty intelligent. It will use files named ch256.nii, ch256.nii.gz, and ch256.hdr in the program folder and the script’s folder. If no file is found, a dialog box allows the user to find the file. You could also be more explicit by running “Loadimage(‘c:mridataset.hdr’)”, but this is not required.