5class _declspec(dllexport) PropertiesVisUnstructuredScalar
8 enum class VisualizationType
10 Isosurface, Points, Contour2D, UNKNOWN
13 const std::string GetNameVisType(
void) {
return nameVisType; }
14 const std::string GetNameMaxPoints(
void) {
return nameMaxPoints; }
15 const std::string GetNamePointScale(
void) {
return namePointScale; }
16 const std::string GetNameNumberIsosurfaces(
void) {
return nameNumberIsosurfaces; }
17 const std::string GetNameShow2DMesh(
void) {
return nameShow2dMesh; }
18 const std::string GetName2DMeshColor(
void) {
return name2dMeshColor; }
19 const std::string GetNameShow2DIsolines(
void) {
return nameShow2dIsolines; }
20 const std::string GetName2DIsolineColor(
void) {
return name2dIsolineColor; }
22 const std::string GetValueIsosurface(
void) {
return valueIsosurface; }
23 const std::string GetValuePoints(
void) {
return valuePoints; }
24 const std::string GetValueContour2D(
void) {
return valueContour2D; }
26 const VisualizationType GetVisualizationType(
const std::string type)
const
28 VisualizationType returnVal;
29 visualizationTypeMapping.find(type) == visualizationTypeMapping.end() ? returnVal = VisualizationType::UNKNOWN : returnVal = visualizationTypeMapping.at(type);
34 const std::string nameVisType =
"Type";
35 const std::string nameMaxPoints =
"Max. Points";
36 const std::string namePointScale =
"Point Scale";
37 const std::string nameNumberIsosurfaces =
"Number Isosurfaces";
39 const std::string valueIsosurface =
"Isosurface";
40 const std::string valuePoints =
"Points";
41 const std::string valueContour2D =
"2D Contour";
43 const std::string nameShow2dMesh =
"Show 2D Mesh";
44 const std::string name2dMeshColor =
"2D Mesh Color";
45 const std::string nameShow2dIsolines =
"Show Isolines";
46 const std::string name2dIsolineColor =
"Isoline Color";
48 std::map<std::string, VisualizationType> visualizationTypeMapping { {valueIsosurface,VisualizationType::Isosurface},{valuePoints,VisualizationType::Points},{valueContour2D,VisualizationType::Contour2D} };