MeVisLab Toolbox Reference
SoMetaInformationMap.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2013, 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 SO_META_INFORMATION_MAP_H
14#define SO_META_INFORMATION_MAP_H
15
17#include <ThirdPartyWarningsDisable.h>
18#include <Inventor/nodes/SoSubNode.h>
19#include <string>
20#include <ThirdPartyWarningsRestore.h>
21
27{
28public:
31
34 virtual void set(const char* key, float value) = 0;
35 virtual void set(const char* key, double value) = 0;
36 virtual void set(const char* key, int value) = 0;
37 virtual void set(const char* key, const std::string& value) = 0;
38 virtual void set(const char* key, const SbString& value) = 0;
39 virtual void set(const char* key, const SbVec2f& value) = 0;
40 virtual void set(const char* key, const SbVec3f& value) = 0;
41 virtual void set(const char* key, const SbVec4f& value) = 0;
42 virtual void set(const char* key, const SbMatrix& value) = 0;
43 virtual void set(const char* key, const char* data, size_t size) = 0;
45
46};
47
48#endif
#define INVENTORWRAPPER_API
Library initialization and export macros for platform independecy of project.
SoMetaInformationMap allows to record information on the current render state.
virtual void set(const char *key, const SbVec2f &value)=0
virtual void set(const char *key, int value)=0
virtual void set(const char *key, const char *data, size_t size)=0
virtual void set(const char *key, const SbVec3f &value)=0
virtual void set(const char *key, float value)=0
virtual void set(const char *key, const SbMatrix &value)=0
virtual void set(const char *key, double value)=0
virtual void set(const char *key, const SbString &value)=0
virtual ~SoMetaInformationMap()
virtual void set(const char *key, const std::string &value)=0
virtual void set(const char *key, const SbVec4f &value)=0
Target mlrange_cast(Source arg)
Generic version of checked ML casts.