Directory Structure

There are eight directories on the top level, each containing several sub-directories that contain the implementation. Thus, as far as code is concerned, the depth of the directory structure is limited to two. Classes in a sub-directory may reference classes in other sub-directories on the same level and in sub-directories that have already been mentioned, when you the following list from top to bottom:

Naming Conventions

If the classes within a sub-directory are implemented according to the mechanisms or on basis of a toolkit, the name of the sub-directory should start with the acronym of the toolkit. For example, if a registration algorithm uses itk, a reasonable directory name is itkRegistration. The classes within the directory need not be in the namespace of the toolkit (as in the case of itk-using classes), but they may, as in the case of directories containing mitk-core-classes. Typical acronyms are mitk, itk, vtk, ip and Qmitk (following the Qt-Naming Guidelines).

Naming Conventions

If a file contains a class that is within a namespace, the file name must begin with the namespace name, e.g. mitkImage.h and mitkImage.cpp contain the class mitk::Image. Namespace names are normally identical to toolkit acronyms. Consequently, name of the directory will begin with the acronym according to the previous section.

Conventions

Files created during compilation should be stored in a separate directory tree parallel to the source tree (e.g. mitkBinary). For mitk, cmake should be used.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines