MeVisLab Resolution Independence API
XVBasics.h
Go to the documentation of this file.
1
/*************************************************************************************
2
**
3
** Copyright 2007, MeVis Medical Solutions AG
4
**
5
** The user may use this file in accordance with the license agreement provided with
6
** the Software or, alternatively, in accordance with the terms contained in a
7
** written agreement between the user and MeVis Medical Solutions AG.
8
**
9
** For further information use the contact form at https://www.mevislab.de/contact
10
**
11
**************************************************************************************/
12
13
#ifndef XVBASICS_H
14
#define XVBASICS_H
15
17
18
#ifdef WIN32
19
#include "ThirdPartyWarningsDisable.h"
20
#include "windows.h"
21
#include "ThirdPartyWarningsRestore.h"
22
#endif
23
26
#define SONODE_IS_A(node,type) (node?node->isOfType(SoType::fromName(#type)):FALSE)
27
31
#define XV_INIT_LIBRARY(initMethod) \
32
class _##initMethod##Class { \
33
public: \
34
_##initMethod##Class() { \
35
initMethod(); \
36
} \
37
}; \
38
\
39
static _##initMethod##Class initClass;
40
41
#endif
42
// __XVBasics_H
MeVis
Foundation
Sources
MLInventorBinding
XVBasics.h
Generated by
1.10.0