Defines

QmitkNumberPropertyEditor.cpp File Reference

#include "QmitkNumberPropertyEditor.h"
#include <mitkRenderingManager.h>
#include <QTextStream>

Go to the source code of this file.

Defines

#define DT_SHORT   1
#define DT_INT   2
#define DT_FLOAT   3
#define DT_DOUBLE   4
#define ROUND(x)   (((x) > 0) ? int((x) + 0.5) : int((x) - 0.5))
#define ROUND_SHORT(x)   (((x) > 0) ? short((x) + 0.5) : short((x) - 0.5))

Define Documentation

#define DT_DOUBLE   4
#define DT_FLOAT   3
#define DT_INT   2
#define DT_SHORT   1

Definition at line 21 of file QmitkNumberPropertyEditor.cpp.

#define ROUND (   x )    (((x) > 0) ? int((x) + 0.5) : int((x) - 0.5))
#define ROUND_SHORT (   x )    (((x) > 0) ? short((x) + 0.5) : short((x) - 0.5))

Definition at line 27 of file QmitkNumberPropertyEditor.cpp.

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