OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
VtkDriverUnstructuredScalarVolume.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 "vtkRectilinearGrid.h"
11#include "VtkDriver.h"
12#include "EntityResultBase.h"
17
18namespace osg {
19 class Node;
20}
21
23public:
26
27 virtual void setProperties(EntityVis2D3D* visEntity) override;
28 virtual std::string buildSceneNode(DataSourceManagerItem* dataItem) override;
29
30private:
31 PropertyBundleDataHandlePlane* planeData = nullptr;
32 PropertyBundleDataHandleScaling* scalingData = nullptr;
33 PropertyBundleDataHandleVisUnstructuredScalar* visData = nullptr;
34 double* scalarRange = nullptr;
35
36 vtkAlgorithmOutput* ApplyCutplane(osg::Node* parent);
37 void Assemble2DNode(osg::Node* parent);
38 void Assemble3DNode(osg::Node* parent);
39 void SetPlaneProperties(vtkPlane* plane);
40
41 void AddNodePoints(osg::Node* parent);
42 void AddIsosurfaces(osg::Node* parent);
43 void SetColouring(vtkPolyDataMapper* mapper);
44 vtkAlgorithmOutput* GetPointSource(void);
45
46 void CheckForModelUpdates();
47 void DeletePropertyData(void);
48
50 vtkAlgorithmOutput* dataConnection;
51
52 std::list<vtkObject*> objectsToDelete;
53};
Definition DataSourceManagerItem.h:17
Definition DataSourceUnstructuredMesh.h:14
Definition VtkDriver.h:11
Definition VtkDriverUnstructuredScalarVolume.h:22
VtkDriverUnstructuredScalarVolume()
Definition VtkDriverUnstructuredScalarVolume.cpp:61
virtual ~VtkDriverUnstructuredScalarVolume()
Definition VtkDriverUnstructuredScalarVolume.cpp:63
virtual std::string buildSceneNode(DataSourceManagerItem *dataItem) override
Definition VtkDriverUnstructuredScalarVolume.cpp:103
virtual void setProperties(EntityVis2D3D *visEntity) override
Definition VtkDriverUnstructuredScalarVolume.cpp:518
Definition RubberbandOsgWrapper.h:22