OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
VtkDriverCartesianVectorfield.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"
16#include "DataSourceResult3D.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 PropertyBundleDataHandleVis2D3D * vis2D3DData = nullptr;
34 double * scalarRange = nullptr;
35
36 vtkAlgorithmOutput* ApplyCutplane(DataSourceResult3D *source, osg::Node *parent);
37 void AssembleNode (vtkAlgorithmOutput * input, osg::Node *parent);
38 vtkAlgorithmOutput* AddNodeVectors(vtkAlgorithmOutput* input);
39 vtkAlgorithmOutput* SetScalarValues(vtkAlgorithmOutput* input);
40 void SetColouring(vtkPolyDataMapper* mapper);
41
42 void CheckForModelUpdates();
43 void DeletePropertyData(void);
44};
Definition DataSourceManagerItem.h:17
Definition DataSourceResult3D.h:13
Definition VtkDriverCartesianVectorfield.h:22
virtual ~VtkDriverCartesianVectorfield()
Definition VtkDriverCartesianVectorfield.cpp:59
virtual std::string buildSceneNode(DataSourceManagerItem *dataItem) override
Definition VtkDriverCartesianVectorfield.cpp:93
virtual void setProperties(EntityVis2D3D *visEntity) override
Definition VtkDriverCartesianVectorfield.cpp:504
VtkDriverCartesianVectorfield()
Definition VtkDriverCartesianVectorfield.cpp:57
Definition VtkDriver.h:11
Definition RubberbandOsgWrapper.h:22