#pragma once #include class VtkSceneParameterSettings { public: VtkSceneParameterSettings() { SysFreeString(m_wellTypeColors); m_wellTypeColors = nullptr; } //general bool m_showAxies = false; bool m_showScalarBar = false; bool m_showMeshLinearExtrusion = false; bool m_ShowCoordinateGridLine = false; bool m_ShowMeshEdgeColorGradient = false; int m_zScale = 1; //background double m_background_color_r = 0.0; double m_background_color_g = 0.0; double m_background_color_b = 0.0; //camera double m_camera_distance = 0.0; double m_camera_position_x = 0.0; double m_camera_position_y = 0.0; double m_camera_position_z = 0.0; double m_camera_focalPoint_x = 0.0; double m_camera_focalPoint_y = 0.0; double m_camera_focalPoint_z = 0.0; double m_camera_viewUp_x = 0.0; double m_camera_viewUp_y = 0.0; double m_camera_viewUp_z = 0.0; double m_camera_azimuth = 0.0; double m_camera_elevation = 0.0; double m_camera_roll = 0.0; double m_camera_viewAngle = 0.0; double m_camera_clippingRange_0 = 0.0; double m_camera_clippingRange_1 = 0.0; //actor double m_actor_ambientColor_r = 0.0; double m_actor_ambientColor_g = 0.0; double m_actor_ambientColor_b = 0.0; double m_actor_diffuseColor_r = 0.0; double m_actor_diffuseColor_g = 0.0; double m_actor_diffuseColor_b = 0.0; double m_actor_specularColor_r = 0.0; double m_actor_specularColor_g = 0.0; double m_actor_specularColor_b = 0.0; double m_actor_ambient = 0.0; double m_actor_diffuse = 0.0; double m_actor_specular = 0.0; //light int m_light_mode = 0; double m_light_intensity = 0.0; double m_light_color_r = 0.0; double m_light_color_g = 0.0; double m_light_color_b = 0.0; double m_light_ambientColor_r = 0.0; double m_light_ambientColor_g = 0.0; double m_light_ambientColor_b = 0.0; double m_light_diffuseColor_r = 0.0; double m_light_diffuseColor_g = 0.0; double m_light_diffuseColor_b = 0.0; double m_light_specularColor_r = 0.0; double m_light_specularColor_g = 0.0; double m_light_specularColor_b = 0.0; double m_light_position_x = 0.0; double m_light_position_y = 0.0; double m_light_position_z = 0.0; double m_light_focalPoint_x = 0.0; double m_light_focalPoint_y = 0.0; double m_light_focalPoint_z = 0.0; double m_light_azimuth = 0.0; double m_light_elevation = 0.0; //vtk mesh edge color double m_mesh_edge_color_r = 0.0; double m_mesh_edge_color_g = 0.0; double m_mesh_edge_color_b = 0.0; int32_t m_mesh_edge_mode = 0; // bool m_singularValueFilterFlag = false; int32_t m_singularThreshold = 65; // 垂直比例 double m_zMaxScale = 50.0; // 业务参数 int32_t m_thickness = 0; /**** 井显示参数 ***/ int32_t m_wellMode = 0; // 显示模式 double m_wellColumnHeight = 100.0; // 井柱高亮 double m_wellColumnRadius = 10; // 井住半径 uint32_t m_wellColumnColor = 0; // 井柱颜色 uint32_t m_wellColumnNameColor = 0; // 井名颜色 int32_t m_wellColumnNameSize = 15; // 井名大小 int32_t m_wellColumnNameGap = 0; // 井柱半径 int32_t m_faultModeEnum = 0; // 井显示模式 BSTR m_wellTypeColors = nullptr; // 井别颜色,为了 C++ 结构体能够直接映射到 C# 结构体,这里使用了 BSTR 这个指针类型,使用 CString 无法做到这一点 bool m_wellColumnThrough = false; };