5class _declspec(dllexport) PropertiesVisUnstructuredScalarSurface
8 enum class VisualizationType
10 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 GetNameShow2DMesh(
void) {
return nameShow2dMesh; }
17 const std::string GetName2DMeshColor(
void) {
return name2dMeshColor; }
18 const std::string GetNameShow2DIsolines(
void) {
return nameShow2dIsolines; }
19 const std::string GetName2DIsolineColor(
void) {
return name2dIsolineColor; }
21 const std::string GetValuePoints(
void) {
return valuePoints; }
22 const std::string GetValueContour2D(
void) {
return valueContour2D; }
24 const VisualizationType GetVisualizationType(
const std::string type)
const
26 VisualizationType returnVal;
27 visualizationTypeMapping.find(type) == visualizationTypeMapping.end() ? returnVal = VisualizationType::UNKNOWN : returnVal = visualizationTypeMapping.at(type);
32 const std::string nameVisType =
"Type";
33 const std::string nameMaxPoints =
"Max. Points";
34 const std::string namePointScale =
"Point Scale";
36 const std::string valuePoints =
"Points";
37 const std::string valueContour2D =
"2D Contour";
39 const std::string nameShow2dMesh =
"Show 2D Mesh";
40 const std::string name2dMeshColor =
"2D Mesh Color";
41 const std::string nameShow2dIsolines =
"Show Isolines";
42 const std::string name2dIsolineColor =
"Isoline Color";
44 std::map<std::string, VisualizationType> visualizationTypeMapping { {valuePoints,VisualizationType::Points},{valueContour2D,VisualizationType::Contour2D} };