OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
VtkDriverUnstructuredScalarSurface.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4#include <ctime>
5#include <vector>
6#include <list>
7#include <vtkAlgorithmOutput.h>
8#include <vtkDataSetMapper.h>
9
10#include "VtkDriver.h"
11#include "EntityResultBase.h"
15
16namespace osg {
17 class Node;
18}
19
21public:
24
25 virtual void setProperties(EntityVis2D3D* visEntity) override;
26 virtual std::string buildSceneNode(DataSourceManagerItem* dataItem) override;
27
28private:
29 PropertyBundleDataHandleScaling* scalingData = nullptr;
30 PropertyBundleDataHandleVisUnstructuredScalarSurface* visData = nullptr;
31 double* scalarRange = nullptr;
32
33 void AssembleNode(osg::Node* parent);
34
35 void AddNodeContour(osg::Node* parent);
36 void AddNodePoints(osg::Node* parent);
37 void SetColouring(vtkPolyDataMapper* mapper);
38 vtkAlgorithmOutput* GetPointSource(void);
39
40 void CheckForModelUpdates();
41 void DeletePropertyData(void);
42
44 vtkAlgorithmOutput* dataConnection;
45
46 std::list<vtkObject*> objectsToDelete;
47};
Definition DataSourceManagerItem.h:17
Definition DataSourceUnstructuredMesh.h:14
Definition VtkDriver.h:11
Definition VtkDriverUnstructuredScalarSurface.h:20
virtual std::string buildSceneNode(DataSourceManagerItem *dataItem) override
Definition VtkDriverUnstructuredScalarSurface.cpp:98
VtkDriverUnstructuredScalarSurface()
Definition VtkDriverUnstructuredScalarSurface.cpp:62
virtual ~VtkDriverUnstructuredScalarSurface()
Definition VtkDriverUnstructuredScalarSurface.cpp:64
virtual void setProperties(EntityVis2D3D *visEntity) override
Definition VtkDriverUnstructuredScalarSurface.cpp:373
Definition RubberbandOsgWrapper.h:22