OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
EntityResultBase.h
Go to the documentation of this file.
1#pragma once
2#pragma warning(disable : 4251)
3
4#include "OldTreeIcon.h"
5
6#include <list>
7#include <vector>
8
9class __declspec(dllexport) EntityResultBase
10{
11public:
12 enum tResultType
13 {
14 UNKNOWN = 0,
15 CARTESIAN_EDGES_3D = 1,
16 CARTESIAN_FACES_3D = 2,
17 CARTESIAN_DUAL_EDGES_3D = 3,
18 CARTESIAN_DUAL_FACES_3D = 4,
19 CARTESIAN_NODE_VECTORS = 5,
20 CARTESIAN_DUAL_NODE_VECTORS = 6,
21 UNSTRUCTURED_SCALAR = 7,
22 UNSTRUCTURED_VECTOR = 8
23 };
24
25 EntityResultBase() : resultType(UNKNOWN) {};
26 virtual ~EntityResultBase() {};
27
28 void setResultType(tResultType type) { resultType = type; }
29 tResultType getResultType(void) { return resultType; }
30
31private:
32 tResultType resultType;
33};
34
35