Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
vtkMRML.h
Go to the documentation of this file.
1/*=auto=========================================================================
2
3 Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved.
4
5 See COPYRIGHT.txt
6 or http://www.slicer.org/copyright/copyright.txt for details.
7
8 Program: MRML
9 Module: $RCSfile: vtkMRML.h,v $
10 Date: $Date$
11 Version: $Rev$
12
13=========================================================================auto=*/
14
15/*
16 * This is needed for loading mrml code as module.
17 */
18
19#ifndef vtkMRML_h
20#define vtkMRML_h
21
22#include "vtkMRMLExport.h"
23
24// Macro for MRML application version comparison in preprocessor macros.
25// Example:
26// #if MRML_APPLICATION_SUPPORT_VERSION < MRML_VERSION_CHECK(4, 4, 0)
27// ...
28// #endif
29#define MRML_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch))
30
31#endif