OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
SceneNodePlot1DCurve.h
Go to the documentation of this file.
1#pragma once
2
3namespace osg
4{
5 class Node;
6 class Switch;
7}
8
9// OpenTwin header
10#include "OTCore/CoreTypes.h"
12#include "DataBase.h"
13#include "SceneNodeBase.h"
14
15// std header
16#include <string>
17#include <map>
18
19class Model;
20
23public:
25 virtual ~SceneNodePlot1DCurve();
26
27 virtual void setTransparent(bool _transparent) override;
28 virtual void setWireframe(bool _wireframe) override;
29 virtual void setVisible(bool _visible) override;
30 virtual void setHighlighted(bool _highlighted) override;
31
32 void setModelEntityVersion(ot::UID _version) { m_modelEntityVersion = _version; };
33 ot::UID getModelEntityVersion(void) { return m_modelEntityVersion; };
34
35 virtual bool isItem1D(void) { return true; };
36 virtual bool isItem3D(void) { return false; };
37
38private:
39 ot::UID m_modelEntityVersion;
40};
41
This file contains defines that may be used simplyfy class creation.
#define OT_DECL_NOCOPY(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:14
The Model class is the main interface to the model. There may be multiple instances of this class....
Definition Model.h:94
Definition SceneNodeBase.h:14
Definition SceneNodePlot1DCurve.h:21
virtual void setVisible(bool _visible) override
Definition SceneNodePlot1DCurve.cpp:31
virtual bool isItem1D(void)
Definition SceneNodePlot1DCurve.h:35
virtual bool isItem3D(void)
Definition SceneNodePlot1DCurve.h:36
SceneNodePlot1DCurve()
Definition SceneNodePlot1DCurve.cpp:7
virtual void setWireframe(bool _wireframe) override
Definition SceneNodePlot1DCurve.cpp:24
virtual ~SceneNodePlot1DCurve()
Definition SceneNodePlot1DCurve.cpp:13
virtual void setHighlighted(bool _highlighted) override
Definition SceneNodePlot1DCurve.cpp:38
virtual void setTransparent(bool _transparent) override
Definition SceneNodePlot1DCurve.cpp:17
void setModelEntityVersion(ot::UID _version)
Definition SceneNodePlot1DCurve.h:32
ot::UID getModelEntityVersion(void)
Definition SceneNodePlot1DCurve.h:33
Definition RubberbandOsgWrapper.h:22
unsigned long UID
Unique identifier (32 bit unsigned integer)
Definition CoreTypes.h:27