//--------------------------------------------------------- CSG_Shapes::CSG_Shapes(const CSG_String &File_Name) : CSG_Table() { _On_Construction(); Create(File_Name); }
//--------------------------------------------------------- CVIEW_ScatterPlot::CVIEW_ScatterPlot(CWKSP_Data_Item *pItem) : CVIEW_Base(pItem, ID_VIEW_SCATTERPLOT, wxString::Format("%s: %s", _TL("Scatterplot"), pItem->Get_Object()->Get_Name()), ID_IMG_WND_SCATTERPLOT, false) { m_pItem = pItem; m_pGrid = NULL; m_pGrids = NULL; m_pTable = NULL; switch( m_pItem->Get_Type() ) { case WKSP_ITEM_Grid : m_pGrid = pItem->Get_Object()->asGrid (); break; case WKSP_ITEM_Grids : m_pGrids = pItem->Get_Object()->asGrids (); break; case WKSP_ITEM_Shapes : m_pTable = pItem->Get_Object()->asShapes (); break; case WKSP_ITEM_PointCloud: m_pTable = pItem->Get_Object()->asPointCloud(); break; default : m_pTable = pItem->Get_Object()->asTable (); break; } m_Parameters.Set_Name(CSG_String::Format("%s: %s", _TL("Scatterplot"), m_pItem->Get_Object()->Get_Name())); _On_Construction(); if( DLG_Parameters(&m_Parameters) ) { _Update_Data(); Do_Show(); } else { Destroy(); } }
//--------------------------------------------------------- CSG_Shapes::CSG_Shapes(const CSG_Shapes &Shapes) : CSG_Table() { _On_Construction(); Create(Shapes); }
//--------------------------------------------------------- CSG_PointCloud::CSG_PointCloud(const CSG_String &File_Name) : CSG_Shapes() { _On_Construction(); Create(File_Name); }
//--------------------------------------------------------- CSG_PointCloud::CSG_PointCloud(CSG_PointCloud *pStructure) : CSG_Shapes() { _On_Construction(); Create(pStructure); }
//--------------------------------------------------------- CSG_PointCloud::CSG_PointCloud(const CSG_PointCloud &PointCloud) : CSG_Shapes() { _On_Construction(); Create(PointCloud); }
//--------------------------------------------------------- CSG_PointCloud::CSG_PointCloud(void) : CSG_Shapes() { _On_Construction(); Create(); }
//--------------------------------------------------------- CSG_Shapes::CSG_Shapes(TSG_Shape_Type Type, const SG_Char *Name, CSG_Table *pStructure, TSG_Vertex_Type Vertex_Type) : CSG_Table() { _On_Construction(); Create(Type, Name, pStructure, Vertex_Type); }
bool CSG_PointCloud::Destroy(void) { Del_Points(); if( m_nFields > 0 ) { for(int i=0; i<m_nFields; i++) { delete(m_Field_Name [i]); delete(m_Field_Stats[i]); } SG_Free(m_Field_Name); SG_Free(m_Field_Type); SG_Free(m_Field_Stats); SG_Free(m_Field_Offset); _On_Construction(); } CSG_Data_Object::Destroy(); return( true ); }
//--------------------------------------------------------- CSG_Module_Library::CSG_Module_Library(void) { _On_Construction(); }
//--------------------------------------------------------- CSG_Network::CSG_Network(CSG_Shapes *pLines) { _On_Construction(); Create(pLines); }
//--------------------------------------------------------- CSG_Network::CSG_Network(void) { _On_Construction(); Create(); }
//--------------------------------------------------------- CSG_MetaData::CSG_MetaData(const CSG_MetaData &MetaData) { _On_Construction(); Create(MetaData); }
//--------------------------------------------------------- CSG_MetaData::CSG_MetaData(void) { _On_Construction(); }
//--------------------------------------------------------- CSG_Matrix::CSG_Matrix(const CSG_Matrix &Matrix) { _On_Construction(); Create(Matrix); }
//--------------------------------------------------------- CSG_MetaData::CSG_MetaData(const CSG_String &File, const SG_Char *Extension) { _On_Construction(); Create(File, Extension); }
//--------------------------------------------------------- CSG_Matrix::CSG_Matrix(int nx, int ny, double *Data) { _On_Construction(); Create(nx, ny, Data); }
//--------------------------------------------------------- CSG_Module_Library::CSG_Module_Library(const CSG_String &File_Name) { _On_Construction(); Create(File_Name); }
//--------------------------------------------------------- CSG_Shapes::CSG_Shapes(void) : CSG_Table() { _On_Construction(); }
//--------------------------------------------------------- CSG_Shapes_Search::CSG_Shapes_Search(CSG_Shapes *pPoints) { _On_Construction(); Create(pPoints); }
//--------------------------------------------------------- CSG_MetaData::CSG_MetaData(CSG_File &Stream) { _On_Construction(); Create(Stream); }
//--------------------------------------------------------- CSG_Matrix::CSG_Matrix(void) { _On_Construction(); }
//--------------------------------------------------------- CSG_MetaData::CSG_MetaData(CSG_MetaData *pParent) { _On_Construction(); m_pParent = pParent; }
//--------------------------------------------------------- CSG_Shapes_Search::CSG_Shapes_Search(void) { _On_Construction(); }