MeVisLab Resolution Independence API
Toggle main menu visibility
Loading...
Searching...
No Matches
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
{ \
34
public: \
35
_##initMethod##Class() \
36
{ \
37
initMethod(); \
38
} \
39
}; \
40
\
41
static _##initMethod##Class initClass;
42
43
#endif
44
// __XVBasics_H
MeVis
Foundation
Sources
MLInventorBinding
XVBasics.h
Generated by
1.18.0