//--------------------------------------------------------- CSG_Distance_Weighting::CSG_Distance_Weighting(void) { m_Weighting = SG_DISTWGHT_None; m_IDW_Power = 1.0; m_IDW_bOffset = true; m_Bandwidth = 1.0; m_pParameters = new CSG_Parameters(NULL, _TL("Distance Weighting"), _TL(""), SG_T("DISTANCE_WEIGHTING")); Create_Parameters(m_pParameters); }
//--------------------------------------------------------- CWKSP_PointCloud::CWKSP_PointCloud(CSG_PointCloud *pPointCloud) : CWKSP_Layer(pPointCloud) { m_pPointCloud = pPointCloud; m_Edit_Attributes.Destroy(); m_Edit_Attributes.Add_Field(LNG("[CAP] Name") , SG_DATATYPE_String); m_Edit_Attributes.Add_Field(LNG("[CAP] Value"), SG_DATATYPE_String); Create_Parameters(); //----------------------------------------------------- m_Parameters("COLORS_TYPE") ->Set_Value(CLASSIFY_METRIC); m_Parameters("COLORS_ATTRIB") ->Set_Value(2); On_Parameter_Changed(&m_Parameters, m_Parameters("COLORS_ATTRIB")); Parameters_Changed(); }
//--------------------------------------------------------- CWKSP_Shapes_Points::CWKSP_Shapes_Points(CSG_Shapes *pShapes) : CWKSP_Shapes_Point(pShapes) { Create_Parameters(); }