Coding Guide

This page is a loose collection of various coding guides and tips for FreeSurfer programmers.

VTK cvs commit Guidelines and Coding Standards

VTK has excellent cvs commit guidelines and coding standards, the following of which is highly recommended when working with the FreeSurfer code.

Code format style

The script ~nicks/bin/do-astyle-onefile will reformat a file to these conventions, making use of the 'astyle' utility.

MRI Cheat Sheet

MRI cheat sheet

Ever wonder when you should use MRIcopy() vs MRIclone()? DougGreve has drawn up a little cheat sheet for some of these MRI functions.

Naming Conventions

A page of naming convention suggestions.

DevelopersGuide/CodingGuide (last edited 2011-09-14 11:16:08 by NickSchmansky)