MeVisLab Resolution Independence API
Toggle main menu visibility
Loading...
Searching...
No Matches
SoMetaInformationMapQt.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_QT_H
14
#define SO_META_INFORMATION_MAP_QT_H
15
16
#include "
InventorGUIWrapperDllInit.h
"
17
18
#include "
SoMetaInformationMap.h
"
19
20
#include <QVariantMap>
21
23
class
INVENTORGUIWRAPPER_API
SoMetaInformationMapQt
:
public
SoMetaInformationMap
24
{
25
public
:
28
void
set
(
const
char
* key,
float
value)
override
;
29
void
set
(
const
char
* key,
double
value)
override
;
30
void
set
(
const
char
* key,
int
value)
override
;
31
void
set
(
const
char
* key,
const
std::string& value)
override
;
32
void
set
(
const
char
* key,
const
SbString& value)
override
;
33
void
set
(
const
char
* key,
const
SbVec2f& value)
override
;
34
void
set
(
const
char
* key,
const
SbVec3f& value)
override
;
35
void
set
(
const
char
* key,
const
SbVec4f& value)
override
;
36
void
set
(
const
char
* key,
const
SbMatrix& value)
override
;
37
void
set
(
const
char
* key,
const
char
* data,
size_t
size)
override
;
39
41
void
clear
();
42
44
const
QVariantMap&
getValues
();
45
46
private
:
47
QVariantMap _values;
48
};
49
50
#endif
InventorGUIWrapperDllInit.h
INVENTORGUIWRAPPER_API
#define INVENTORGUIWRAPPER_API
Definition
InventorGUIWrapperDllInit.h:20
SoMetaInformationMap.h
SoMetaInformationMapQt
Implements the SoMetaInformationMap using a QVariantMap as underlying storage.
Definition
SoMetaInformationMapQt.h:24
SoMetaInformationMapQt::set
void set(const char *key, double value) override
SoMetaInformationMapQt::set
void set(const char *key, const char *data, size_t size) override
SoMetaInformationMapQt::clear
void clear()
Clears previous render state.
SoMetaInformationMapQt::set
void set(const char *key, const SbMatrix &value) override
SoMetaInformationMapQt::set
void set(const char *key, const SbVec2f &value) override
SoMetaInformationMapQt::set
void set(const char *key, const std::string &value) override
SoMetaInformationMapQt::set
void set(const char *key, const SbVec3f &value) override
SoMetaInformationMapQt::getValues
const QVariantMap & getValues()
Returns the current render state.
SoMetaInformationMapQt::set
void set(const char *key, float value) override
SoMetaInformationMapQt::set
void set(const char *key, int value) override
SoMetaInformationMapQt::set
void set(const char *key, const SbString &value) override
SoMetaInformationMapQt::set
void set(const char *key, const SbVec4f &value) override
SoMetaInformationMap::SoMetaInformationMap
SoMetaInformationMap()
MeVis
Foundation
Sources
MLInventorGUIBinding
SoMetaInformationMapQt.h
Generated by
1.18.0