SAGA API
v9.6
|
#include <pointcloud.h>
Public Member Functions | |
CSG_PointCloud (void) | |
bool | Create (void) |
CSG_PointCloud (const CSG_PointCloud &PointCloud) | |
bool | Create (const CSG_PointCloud &PointCloud) |
CSG_PointCloud (const CSG_String &File) | |
bool | Create (const CSG_String &File) |
CSG_PointCloud (const char *File) | |
bool | Create (const char *File) |
CSG_PointCloud (const wchar_t *File) | |
bool | Create (const wchar_t *File) |
CSG_PointCloud (CSG_PointCloud *pTemplate) | |
bool | Create (CSG_PointCloud *pTemplate) |
virtual | ~CSG_PointCloud (void) |
virtual bool | Destroy (void) |
virtual TSG_Data_Object_Type | Get_ObjectType (void) const |
Returns the object type as defined by TSG_Data_Object_Type. Used for run time type checking. More... | |
virtual bool | Assign (CSG_Data_Object *pSource) |
virtual bool | Save (const CSG_String &File, int Format=0) |
virtual bool | Save (const char *File, int Format=0) |
virtual bool | Save (const wchar_t *File, int Format=0) |
void | Set_XYZ_Precision (bool bDouble) |
virtual bool | is_Valid (void) const |
bool | is_Compatible (CSG_PointCloud *pPointCloud) const |
virtual bool | Add_Field (const CSG_String &Name, TSG_Data_Type Type, int Field=-1) |
virtual bool | Del_Field (int Field) |
virtual bool | Mov_Field (int Field, int Position) |
virtual bool | Set_Field_Type (int Field, TSG_Data_Type Type) |
int | Get_Attribute_Count (void) const |
const SG_Char * | Get_Attribute_Name (int Field) const |
TSG_Data_Type | Get_Attribute_Type (int Field) const |
bool | Add_Point (double x, double y, double z) |
bool | Add_Point (const CSG_Point_3D &Point) |
bool | Del_Point (sLong Index) |
bool | Del_Points (void) |
bool | Set_Cursor (sLong Index) |
virtual bool | Set_Value (int Field, double Value) |
virtual double | Get_Value (int Field) const |
double | Get_X (void) const |
double | Get_Y (void) const |
double | Get_Z (void) const |
bool | Set_Attribute (int Field, double Value) |
double | Get_Attribute (int Field) const |
bool | Set_NoData (int Field) |
bool | is_NoData (int Field) const |
virtual bool | Set_Value (sLong Index, int Field, double Value) |
virtual double | Get_Value (sLong Index, int Field) const |
double | Get_X (sLong Index) const |
double | Get_Y (sLong Index) const |
double | Get_Z (sLong Index) const |
bool | Set_Attribute (sLong Index, int Field, double Value) |
double | Get_Attribute (sLong Index, int Field) const |
bool | Set_NoData (sLong Index, int Field) |
bool | is_NoData (sLong Index, int Field) const |
virtual bool | Set_Value (int Field, const SG_Char *Value) |
virtual bool | Get_Value (int Field, CSG_String &Value) const |
virtual bool | Set_Value (sLong Index, int Field, const SG_Char *Value) |
virtual bool | Get_Value (sLong Index, int Field, CSG_String &Value) const |
virtual bool | Set_Attribute (int Field, const SG_Char *Value) |
virtual bool | Get_Attribute (int Field, CSG_String &Value) const |
virtual bool | Set_Attribute (sLong Index, int Field, const SG_Char *Value) |
virtual bool | Get_Attribute (sLong Index, int Field, CSG_String &Value) const |
TSG_Point_3D | Get_Point (void) const |
TSG_Point_3D | Get_Point (sLong Index) const |
virtual bool | Set_Point (const TSG_Point_3D &Point) |
virtual bool | Set_Point (sLong Index, const TSG_Point_3D &Point) |
virtual void | Set_Modified (bool bModified=true) |
virtual CSG_Table_Record * | Get_Record (sLong Index) const |
virtual CSG_Shape * | Get_Shape (const CSG_Point &Point, double Epsilon=0.) |
virtual bool | Del_Record (sLong Index) |
virtual bool | Del_Shape (sLong Index) |
virtual bool | Del_Records (void) |
virtual bool | Del_Shapes (void) |
virtual CSG_Table_Record * | Ins_Record (sLong Index, CSG_Table_Record *pCopy=NULL) |
virtual CSG_Table_Record * | Add_Record (CSG_Table_Record *pCopy=NULL) |
virtual CSG_Shape * | Add_Shape (CSG_Table_Record *pCopy=NULL, TSG_ADD_Shape_Copy_Mode mCopy=SHAPE_COPY) |
virtual bool | Del_Shape (CSG_Shape *pShape) |
virtual bool | Select (sLong Index, bool bInvert=false) |
virtual bool | Select (CSG_Table_Record *pShape=NULL, bool bInvert=false) |
virtual bool | Select (const TSG_Rect &Extent, bool bInvert=false) |
virtual bool | Select (const TSG_Point &Point, bool bInvert=false) |
virtual bool | is_Selected (sLong Index) const |
virtual sLong | Del_Selection (void) |
virtual sLong | Inv_Selection (void) |
virtual CSG_Shape * | Get_Selection (sLong Index=0) |
virtual const CSG_Rect & | Get_Selection_Extent (void) |
Public Member Functions inherited from CSG_Shapes | |
CSG_Shapes (void) | |
CSG_Shapes (const CSG_Shapes &Shapes) | |
bool | Create (const CSG_Shapes &Shapes) |
CSG_Shapes (const char *File) | |
bool | Create (const char *File) |
CSG_Shapes (const wchar_t *File) | |
bool | Create (const wchar_t *File) |
CSG_Shapes (const CSG_String &File) | |
bool | Create (const CSG_String &File) |
CSG_Shapes (TSG_Shape_Type Type, const SG_Char *Name=NULL, CSG_Table *pTemplate=NULL, TSG_Vertex_Type Vertex_Type=SG_VERTEX_TYPE_XY) | |
bool | Create (TSG_Shape_Type Type, const SG_Char *Name=NULL, CSG_Table *pTemplate=NULL, TSG_Vertex_Type Vertex_Type=SG_VERTEX_TYPE_XY) |
virtual | ~CSG_Shapes (void) |
virtual TSG_Shape_Type | Get_Type (void) const |
TSG_Vertex_Type | Get_Vertex_Type (void) const |
virtual const CSG_Rect & | Get_Extent (void) |
double | Get_ZMin (void) |
double | Get_ZMax (void) |
double | Get_MMin (void) |
double | Get_MMax (void) |
virtual CSG_Shape * | Get_Shape (sLong Index) const |
virtual CSG_Shape * | Get_Shape_byIndex (sLong Index) const |
bool | Make_Clean (void) |
Public Member Functions inherited from CSG_Table | |
CSG_Table (void) | |
bool | Create (void) |
CSG_Table (const CSG_Table &Table) | |
bool | Create (const CSG_Table &Table) |
CSG_Table (const CSG_Table *pTemplate) | |
bool | Create (const CSG_Table *pTemplate) |
CSG_Table (const CSG_String &File, TSG_Table_File_Type Format=TABLE_FILETYPE_Undefined, int Encoding=SG_FILE_ENCODING_UNDEFINED) | |
bool | Create (const CSG_String &File, TSG_Table_File_Type Format=TABLE_FILETYPE_Undefined, int Encoding=SG_FILE_ENCODING_UNDEFINED) |
CSG_Table (const char *File, TSG_Table_File_Type Format=TABLE_FILETYPE_Undefined, int Encoding=SG_FILE_ENCODING_UNDEFINED) | |
bool | Create (const char *File, TSG_Table_File_Type Format=TABLE_FILETYPE_Undefined, int Encoding=SG_FILE_ENCODING_UNDEFINED) |
CSG_Table (const wchar_t *File, TSG_Table_File_Type Format=TABLE_FILETYPE_Undefined, int Encoding=SG_FILE_ENCODING_UNDEFINED) | |
bool | Create (const wchar_t *File, TSG_Table_File_Type Format=TABLE_FILETYPE_Undefined, int Encoding=SG_FILE_ENCODING_UNDEFINED) |
CSG_Table (const CSG_String &File, TSG_Table_File_Type Format, const SG_Char Separator, int Encoding=SG_FILE_ENCODING_UNDEFINED) | |
bool | Create (const CSG_String &File, TSG_Table_File_Type Format, const SG_Char Separator, int Encoding=SG_FILE_ENCODING_UNDEFINED) |
CSG_Table (const char *File, TSG_Table_File_Type Format, const SG_Char Separator, int Encoding=SG_FILE_ENCODING_UNDEFINED) | |
bool | Create (const char *File, TSG_Table_File_Type Format, const SG_Char Separator, int Encoding=SG_FILE_ENCODING_UNDEFINED) |
CSG_Table (const wchar_t *File, TSG_Table_File_Type Format, const SG_Char Separator, int Encoding=SG_FILE_ENCODING_UNDEFINED) | |
bool | Create (const wchar_t *File, TSG_Table_File_Type Format, const SG_Char Separator, int Encoding=SG_FILE_ENCODING_UNDEFINED) |
virtual | ~CSG_Table (void) |
CSG_Table & | operator= (const CSG_Table &Table) |
bool | Assign_Values (const CSG_Table &Table) |
bool | Assign_Values (CSG_Table *pTable) |
bool | Assign_Values (const SG_Char *File) |
bool | Load (const CSG_String &File, int Format, SG_Char Separator, int Encoding=SG_FILE_ENCODING_UNDEFINED) |
virtual bool | Save (const CSG_String &File, int Format, SG_Char Separator, int Encoding=SG_FILE_ENCODING_UNDEFINED) |
virtual bool | Save (const char *File, int Format, SG_Char Separator, int Encoding=SG_FILE_ENCODING_UNDEFINED) |
virtual bool | Save (const wchar_t *File, int Format, SG_Char Separator, int Encoding=SG_FILE_ENCODING_UNDEFINED) |
bool | Set_File_Encoding (int Encoding) |
int | Get_File_Encoding (void) const |
bool | Serialize (CSG_File &Stream, bool bSave) |
bool | is_Compatible (const CSG_Table &Table, bool bExactMatch=false) const |
bool | is_Compatible (CSG_Table *pTable, bool bExactMatch=false) const |
virtual bool | Add_Field (const char *Name, TSG_Data_Type Type, int Position=-1) |
virtual bool | Add_Field (const wchar_t *Name, TSG_Data_Type Type, int Position=-1) |
int | Get_Field_Count (void) const |
const SG_Char * | Get_Field_Name (int iField) const |
TSG_Data_Type | Get_Field_Type (int iField) const |
int | Get_Field_Length (int iField, int Encoding=SG_FILE_ENCODING_UNDEFINED) const |
int | Get_Field (const CSG_String &Name) const |
int | Get_Field (const char *Name) const |
int | Get_Field (const wchar_t *Name) const |
bool | Set_Field_Name (int iField, const SG_Char *Name) |
int | Find_Field (const CSG_String &Name) const |
int | Find_Field (const char *Name) const |
int | Find_Field (const wchar_t *Name) const |
bool | Find_Field (const CSG_String &Name, int &Index) const |
bool | Find_Field (const char *Name, int &Index) const |
bool | Find_Field (const wchar_t *Name, int &Index) const |
sLong | Get_N (int iField) const |
double | Get_Minimum (int iField) const |
double | Get_Maximum (int iField) const |
double | Get_Range (int iField) const |
double | Get_Sum (int iField) const |
double | Get_Mean (int iField) const |
double | Get_StdDev (int iField) const |
double | Get_Variance (int iField) const |
const CSG_Simple_Statistics & | Get_Statistics (int iField) const |
virtual bool | Set_Record (sLong Index, CSG_Table_Record *pCopy) |
virtual bool | Set_Count (sLong nRecords) |
sLong | Get_Count (void) const |
virtual CSG_Table_Record & | operator[] (sLong Index) const |
sLong | Get_Index (sLong Index) const |
CSG_Table_Record * | Get_Record_byIndex (sLong Index) const |
virtual bool | Find_Record (sLong &Index, int iField, const CSG_String &Value, bool bCreateIndex=false) |
virtual CSG_Table_Record * | Find_Record (int iField, const CSG_String &Value, bool bCreateIndex=false) |
virtual bool | Find_Record (sLong &Index, int iField, double Value, bool bCreateIndex=false) |
virtual CSG_Table_Record * | Find_Record (int iField, double Value, bool bCreateIndex=false) |
virtual bool | Get_Value (sLong Index, int iField, double &Value) const |
sLong | Get_Selection_Count (void) const |
sLong | Get_Selection_Index (sLong Index=0) const |
virtual CSG_Table_Record * | Get_Selection (sLong Index=0) const |
bool | Set_Index (CSG_Index &Index, int Field, bool bAscending=true) const |
bool | Set_Index (CSG_Index &Index, int Fields[], int nFields, bool bAscending=true) const |
bool | Set_Index (CSG_Index &Index, const CSG_Array_Int &Fields, bool bAscending=true) const |
bool | is_Indexed (void) const |
bool | Set_Index (int Field_1, TSG_Table_Index_Order Order_1=TABLE_INDEX_Ascending, int Field_2=-1, TSG_Table_Index_Order Order_2=TABLE_INDEX_None, int Field_3=-1, TSG_Table_Index_Order Order_3=TABLE_INDEX_None) |
bool | Del_Index (void) |
bool | Toggle_Index (int iField) |
int | Get_Index_Field (int i) const |
TSG_Table_Index_Order | Get_Index_Order (int i) const |
int | Get_Index_Field (size_t i) const |
TSG_Table_Index_Order | Get_Index_Order (size_t i) const |
Public Member Functions inherited from CSG_Data_Object | |
CSG_Data_Object (void) | |
virtual | ~CSG_Data_Object (void) |
int | Get_RefID (void) const |
Returns the object's reference id (unique). More... | |
int | Get_Managed (void) const |
bool | Reload (void) |
If there is an associated file data can be reloaded with this command. More... | |
bool | Delete (void) |
Deletes all files associated with this data object if possible. Works only with native SAGA files. Returns true on success. More... | |
void | Set_File_Name (const CSG_String &FileName) |
const SG_Char * | Get_File_Name (bool bNative=true) const |
int | Get_File_Type (void) const |
bool | is_File_Native (void) const |
void | Set_Name (const CSG_String &Name) |
void | Set_Name (const char *Name) |
void | Set_Name (const wchar_t *Name) |
void | Fmt_Name (const char *Format,...) |
void | Fmt_Name (const wchar_t *Format,...) |
const SG_Char * | Get_Name (void) const |
void | Set_Description (const CSG_String &Description) |
const SG_Char * | Get_Description (void) const |
virtual bool | is_Modified (void) const |
bool | Update (bool bForce=false) |
CSG_Data_Object * | Get_Owner (void) const |
void | Set_Owner (CSG_Data_Object *pOwner) |
CSG_MetaData & | Get_MetaData (void) const |
CSG_MetaData & | Get_MetaData_DB (void) const |
CSG_MetaData & | Get_History (void) |
const CSG_MetaData & | Get_History (void) const |
CSG_Projection & | Get_Projection (void) |
const CSG_Projection & | Get_Projection (void) const |
class CSG_Table * | asTable (bool bPolymorph=false) const |
class CSG_Shapes * | asShapes (bool bPolymorph=false) const |
class CSG_TIN * | asTIN (bool bPolymorph=false) const |
class CSG_PointCloud * | asPointCloud (bool bPolymorph=false) const |
class CSG_Grid * | asGrid (bool bPolymorph=false) const |
class CSG_Grids * | asGrids (bool bPolymorph=false) const |
virtual bool | Set_NoData_Value (double Value) |
virtual bool | Set_NoData_Value_Range (double Lower, double Upper) |
double | Get_NoData_Value (bool bUpper=false) const |
bool | is_NoData_Value (double Value) const |
bool | Save_History_to_Model (const CSG_String &File) const |
virtual bool | Set_Max_Samples (sLong Max_Samples) |
sLong | Get_Max_Samples (void) const |
Static Public Member Functions | |
static bool | Get_Header_Content (const CSG_String &FileName, CSG_MetaData &Header) |
Static Public Member Functions inherited from CSG_Data_Object | |
static void | Track (bool Track=true, bool Offset=false) |
Activate/deactivate lifetime tracking (data object construction/destruction). Needs compiler flag WITH_LIFETIME_TRACKER being defined. More... | |
Protected Member Functions | |
virtual bool | On_Update (void) |
virtual bool | On_Reload (void) |
virtual bool | On_Delete (void) |
virtual void | _On_Construction (void) |
virtual bool | _Stats_Update (int Field) const |
Protected Member Functions inherited from CSG_Shapes | |
virtual CSG_Table_Record * | _Get_New_Record (sLong Index) |
Protected Member Functions inherited from CSG_Table | |
bool | _Add_Selection (sLong Index) |
bool | _Set_Selection (sLong Index, sLong Selected) |
bool | _Del_Selection (sLong Index) |
bool | _Stats_Invalidate (void) const |
bool | _Stats_Invalidate (int iField) const |
bool | _Save_Text (const CSG_String &File, bool bHeadline, const SG_Char Separator) |
bool | _Save_DBase (const CSG_String &File) |
virtual bool | On_NoData_Changed (void) |
Protected Member Functions inherited from CSG_Data_Object | |
void | Set_File_Name (const CSG_String &FileName, bool bNative) |
void | Set_File_Type (int Type) |
bool | Load_MetaData (const CSG_String &FileName) |
bool | Load_MetaData (CSG_File &Stream) |
bool | Save_MetaData (const CSG_String &FileName) |
bool | Save_MetaData (CSG_File &Stream) |
void | Set_Update_Flag (bool bOn=true) |
bool | Get_Update_Flag (void) |
Additional Inherited Members | |
Protected Attributes inherited from CSG_Shapes | |
double | m_ZMin |
double | m_ZMax |
double | m_MMin |
double | m_MMax |
TSG_Shape_Type | m_Type |
TSG_Vertex_Type | m_Vertex_Type |
CSG_Rect | m_Extent_Selected |
Protected Attributes inherited from CSG_Table | |
int | m_nFields |
int | m_Encoding |
sLong | m_nRecords |
sLong | m_nBuffer |
TSG_Data_Type * | m_Field_Type |
CSG_String ** | m_Field_Name |
CSG_Simple_Statistics ** | m_Field_Stats |
CSG_Array | m_Selection |
CSG_Rect | m_Extent |
Protected Attributes inherited from CSG_Data_Object | |
CSG_Data_Object * | m_pOwner |
Definition at line 104 of file pointcloud.h.
CSG_PointCloud::CSG_PointCloud | ( | void | ) |
Definition at line 109 of file pointcloud.cpp.
References _On_Construction(), and Create().
CSG_PointCloud::CSG_PointCloud | ( | const CSG_PointCloud & | PointCloud | ) |
Definition at line 127 of file pointcloud.cpp.
References _On_Construction(), Create(), and CSG_Data_Manager::PointCloud().
CSG_PointCloud::CSG_PointCloud | ( | const CSG_String & | File | ) |
Definition at line 141 of file pointcloud.cpp.
References _On_Construction(), and Create().
CSG_PointCloud::CSG_PointCloud | ( | const char * | File | ) |
Definition at line 139 of file pointcloud.cpp.
CSG_PointCloud::CSG_PointCloud | ( | const wchar_t * | File | ) |
Definition at line 140 of file pointcloud.cpp.
CSG_PointCloud::CSG_PointCloud | ( | CSG_PointCloud * | pTemplate | ) |
Definition at line 155 of file pointcloud.cpp.
References _On_Construction(), and Create().
|
virtual |
Definition at line 212 of file pointcloud.cpp.
References Destroy().
|
protectedvirtual |
Reimplemented from CSG_Shapes.
Definition at line 179 of file pointcloud.cpp.
References CSG_Array::Create(), CSG_Shapes::Create(), CSG_Table::Get_Count(), CSG_Table::m_Field_Name, CSG_Table::m_Field_Stats, CSG_Table::m_Field_Type, CSG_Table::m_nFields, CSG_Table::m_nRecords, CSG_Shapes::m_Type, CSG_Shapes::m_Vertex_Type, CSG_Table::Set_Count(), CSG_Data_Object::Set_NoData_Value(), CSG_Data_Object::Set_Update_Flag(), SG_OMP_Get_Max_Num_Procs(), SG_VERTEX_TYPE_XYZ, and SHAPE_TYPE_Point.
Referenced by CSG_PointCloud(), and Destroy().
|
protectedvirtual |
Reimplemented from CSG_Table.
Definition at line 1241 of file pointcloud.cpp.
References CSG_Simple_Statistics::Evaluate(), CSG_Simple_Statistics::Get_Count(), CSG_Data_Object::Get_Max_Samples(), Get_Value(), CSG_Simple_Statistics::is_Evaluated(), CSG_Data_Object::is_NoData_Value(), CSG_Table::m_Field_Stats, CSG_Table::m_nFields, CSG_Table::m_nRecords, and CSG_Simple_Statistics::Set_Count().
Referenced by On_Update().
|
virtual |
Reimplemented from CSG_Table.
Definition at line 659 of file pointcloud.cpp.
References CSG_Table::m_nFields, SG_DATATYPE_Double, SG_DATATYPE_Float, and SG_T.
Referenced by Create(), Mov_Field(), and Set_Field_Type().
bool CSG_PointCloud::Add_Point | ( | const CSG_Point_3D & | Point | ) |
Definition at line 1107 of file pointcloud.cpp.
References Add_Point(), SSG_Point_3D::x, SSG_Point_3D::y, and SSG_Point_3D::z.
bool CSG_PointCloud::Add_Point | ( | double | x, |
double | y, | ||
double | z | ||
) |
Definition at line 1088 of file pointcloud.cpp.
References CSG_Table::_Stats_Invalidate(), Set_Modified(), and CSG_Data_Object::Set_Update_Flag().
Referenced by Add_Point(), and Add_Shape().
|
virtual |
Reimplemented from CSG_Table.
Definition at line 1436 of file pointcloud.cpp.
References Add_Shape(), and SHAPE_COPY.
|
virtual |
Reimplemented from CSG_Shapes.
Definition at line 1442 of file pointcloud.cpp.
References Add_Point(), CSG_Table_Record::asDouble(), CSG_Table_Record::asString(), CSG_Table::Get_Field_Count(), CSG_Table::Get_Field_Type(), CSG_Table_Record::Get_Table(), CSG_Table::m_nFields, CSG_Table::m_nRecords, Set_Value(), SG_Data_Type_is_Numeric(), SHAPE_COPY, and SHAPE_COPY_ATTR.
Referenced by Add_Record().
|
virtual |
Reimplemented from CSG_Shapes.
Definition at line 598 of file pointcloud.cpp.
References CSG_Data_Object::asPointCloud(), CSG_Data_Object::Assign(), CSG_String::c_str(), CSG_Projection::Create(), CSG_Data_Object::Get_Projection(), CSG_Table::m_Field_Name, CSG_Table::m_Field_Type, CSG_Table::m_nFields, and CSG_Table::m_nRecords.
Referenced by Create().
bool CSG_PointCloud::Create | ( | const char * | File | ) |
Definition at line 147 of file pointcloud.cpp.
References Create().
bool CSG_PointCloud::Create | ( | const CSG_PointCloud & | PointCloud | ) |
Definition at line 133 of file pointcloud.cpp.
References Assign(), and CSG_Data_Manager::PointCloud().
bool CSG_PointCloud::Create | ( | const CSG_String & | File | ) |
Definition at line 149 of file pointcloud.cpp.
bool CSG_PointCloud::Create | ( | const wchar_t * | File | ) |
Definition at line 148 of file pointcloud.cpp.
References Create().
bool CSG_PointCloud::Create | ( | CSG_PointCloud * | pTemplate | ) |
Definition at line 161 of file pointcloud.cpp.
References Destroy(), CSG_Table::Get_Field_Name(), CSG_Table::Get_Field_Type(), and CSG_Table::m_nFields.
bool CSG_PointCloud::Create | ( | void | ) |
Definition at line 117 of file pointcloud.cpp.
References Add_Field(), Destroy(), and SG_DATATYPE_Undefined.
Referenced by Create(), CSG_PointCloud(), and On_Reload().
|
virtual |
Reimplemented from CSG_Table.
Definition at line 746 of file pointcloud.cpp.
References CSG_Table::Del_Field(), CSG_Table::m_Field_Name, m_Field_Size, CSG_Table::m_Field_Stats, CSG_Table::m_Field_Type, CSG_Table::m_nFields, CSG_Table::m_nRecords, PC_GET_NBYTES, Set_Modified(), and SG_Realloc().
Referenced by Mov_Field(), and Set_Field_Type().
bool CSG_PointCloud::Del_Point | ( | sLong | Index | ) |
Definition at line 1113 of file pointcloud.cpp.
References CSG_Table::_Stats_Invalidate(), is_Selected(), CSG_Table::m_nRecords, Select(), Set_Modified(), and CSG_Data_Object::Set_Update_Flag().
bool CSG_PointCloud::Del_Points | ( | void | ) |
Definition at line 1146 of file pointcloud.cpp.
References CSG_Table::_Stats_Invalidate(), CSG_Array::Destroy(), CSG_Table::m_nRecords, CSG_Table::m_Selection, CSG_Array::Set_Array(), Set_Modified(), CSG_Data_Object::Set_Update_Flag(), and SG_Free().
Referenced by Destroy().
|
inlinevirtual |
Reimplemented from CSG_Table.
Definition at line 208 of file pointcloud.h.
|
inlinevirtual |
Reimplemented from CSG_Table.
Definition at line 210 of file pointcloud.h.
|
virtual |
Reimplemented from CSG_Table.
Definition at line 1606 of file pointcloud.cpp.
References CSG_Table::_Stats_Invalidate(), CSG_Table::Get_Selection_Count(), CSG_Table::m_nRecords, CSG_Table::m_Selection, CSG_Array::Set_Array(), Set_Modified(), CSG_Data_Object::Set_Update_Flag(), SG_Free(), and SG_TABLE_REC_FLAG_Selected.
|
inlinevirtual |
Reimplemented from CSG_Shapes.
Definition at line 216 of file pointcloud.h.
|
inlinevirtual |
Reimplemented from CSG_Shapes.
Definition at line 209 of file pointcloud.h.
|
inlinevirtual |
Reimplemented from CSG_Shapes.
Definition at line 211 of file pointcloud.h.
|
virtual |
Reimplemented from CSG_Shapes.
Definition at line 217 of file pointcloud.cpp.
References _On_Construction(), Del_Points(), CSG_Data_Object::Destroy(), CSG_Table::m_Field_Name, CSG_Table::m_Field_Stats, CSG_Table::m_Field_Type, CSG_Table::m_nFields, and SG_Free().
Referenced by Create(), and ~CSG_PointCloud().
|
inline |
Definition at line 170 of file pointcloud.h.
References CSG_Table::Get_Value().
|
inlinevirtual |
Definition at line 189 of file pointcloud.h.
References CSG_Table::Get_Value().
|
inline |
Definition at line 180 of file pointcloud.h.
References CSG_Table::Get_Value().
|
inlinevirtual |
Definition at line 191 of file pointcloud.h.
References CSG_Table::Get_Value().
|
inline |
Definition at line 152 of file pointcloud.h.
|
inline |
Definition at line 153 of file pointcloud.h.
|
inline |
Definition at line 154 of file pointcloud.h.
References SG_DATATYPE_Undefined.
|
static |
Definition at line 416 of file pointcloud.cpp.
References CSG_File_Zip::Get_File(), CSG_MetaData::Load(), SG_File_Cmp_Extension(), SG_File_Get_Name(), SG_FILE_R, and SG_T.
|
inlinevirtual |
Returns the object type as defined by TSG_Data_Object_Type. Used for run time type checking.
Reimplemented from CSG_Shapes.
Definition at line 128 of file pointcloud.h.
References SG_DATAOBJECT_TYPE_PointCloud.
TSG_Point_3D CSG_PointCloud::Get_Point | ( | sLong | Index | ) | const |
Definition at line 1037 of file pointcloud.cpp.
References CSG_Table::m_nRecords, SSG_Point_3D::x, SSG_Point_3D::y, and SSG_Point_3D::z.
TSG_Point_3D CSG_PointCloud::Get_Point | ( | void | ) | const |
Definition at line 1018 of file pointcloud.cpp.
References SSG_Point_3D::x, SSG_Point_3D::y, and SSG_Point_3D::z.
|
virtual |
Reimplemented from CSG_Table.
Definition at line 1386 of file pointcloud.cpp.
Reimplemented from CSG_Shapes.
Definition at line 1566 of file pointcloud.cpp.
References CSG_Table::Get_Selection_Count(), and CSG_Table::Get_Selection_Index().
|
virtual |
Reimplemented from CSG_Shapes.
Definition at line 1572 of file pointcloud.cpp.
References CSG_Rect::Assign(), CSG_Table::Get_Selection_Count(), CSG_Table::Get_Selection_Index(), Get_X(), Get_Y(), CSG_Shapes::m_Extent_Selected, Set_Cursor(), SSG_Rect::xMax, SSG_Rect::xMin, SSG_Rect::yMax, and SSG_Rect::yMin.
Reimplemented from CSG_Shapes.
Definition at line 1399 of file pointcloud.cpp.
References CSG_Rect::Contains(), CSG_Shapes::Get_Extent(), CSG_Shapes::Get_Shape(), Get_X(), Get_Y(), INTERSECTION_None, CSG_Rect::Intersects(), CSG_Table::m_nRecords, Set_Cursor(), SG_Get_Distance(), SSG_Point::x, and SSG_Point::y.
Referenced by CSG_Parameters_Point_Search_KDTree_2D::Get_Point().
|
inlinevirtual |
Definition at line 165 of file pointcloud.h.
Referenced by _Stats_Update(), and Set_Field_Type().
|
inlinevirtual |
Definition at line 185 of file pointcloud.h.
|
inlinevirtual |
Definition at line 175 of file pointcloud.h.
|
inlinevirtual |
Reimplemented from CSG_Table.
Definition at line 187 of file pointcloud.h.
|
inline |
Definition at line 176 of file pointcloud.h.
|
inline |
Definition at line 166 of file pointcloud.h.
Referenced by Get_Selection_Extent(), Get_Shape(), and Select().
|
inline |
Definition at line 177 of file pointcloud.h.
|
inline |
Definition at line 167 of file pointcloud.h.
Referenced by Get_Selection_Extent(), Get_Shape(), and Select().
|
inline |
Definition at line 178 of file pointcloud.h.
|
inline |
Definition at line 168 of file pointcloud.h.
|
virtual |
Reimplemented from CSG_Table.
Definition at line 1430 of file pointcloud.cpp.
|
virtual |
Reimplemented from CSG_Table.
Definition at line 1644 of file pointcloud.cpp.
References CSG_Table::_Set_Selection(), CSG_Table::Get_Selection_Count(), CSG_Table::m_nRecords, CSG_Table::m_Selection, CSG_Array::Set_Array(), and SG_TABLE_REC_FLAG_Selected.
bool CSG_PointCloud::is_Compatible | ( | CSG_PointCloud * | pPointCloud | ) | const |
Definition at line 633 of file pointcloud.cpp.
References CSG_Table::Get_Field_Type(), and CSG_Table::m_nFields.
|
inline |
Definition at line 172 of file pointcloud.h.
References CSG_Table::Get_Value(), and CSG_Data_Object::is_NoData_Value().
|
inline |
Definition at line 182 of file pointcloud.h.
References CSG_Table::Get_Value(), and CSG_Data_Object::is_NoData_Value().
|
virtual |
Reimplemented from CSG_Table.
Definition at line 1555 of file pointcloud.cpp.
References CSG_Table::m_nRecords, and SG_TABLE_REC_FLAG_Selected.
Referenced by Del_Point().
|
inlinevirtual |
Reimplemented from CSG_Shapes.
Definition at line 141 of file pointcloud.h.
|
virtual |
Reimplemented from CSG_Table.
Definition at line 801 of file pointcloud.cpp.
References Add_Field(), Del_Field(), CSG_Table::Get_Field_Name(), CSG_Table::Get_Field_Type(), CSG_Table::m_Field_Type, CSG_Table::m_nFields, CSG_Table::m_nRecords, and PC_GET_NBYTES.
|
protectedvirtual |
Reimplemented from CSG_Shapes.
Definition at line 1305 of file pointcloud.cpp.
References CSG_Data_Object::Get_File_Name(), and SG_File_Delete().
|
protectedvirtual |
Reimplemented from CSG_Shapes.
Definition at line 1299 of file pointcloud.cpp.
References Create(), and CSG_Data_Object::Get_File_Name().
|
protectedvirtual |
Reimplemented from CSG_Shapes.
Definition at line 1213 of file pointcloud.cpp.
References _Stats_Update(), CSG_Rect::Assign(), CSG_Table::Get_Maximum(), CSG_Simple_Statistics::Get_Maximum(), CSG_Table::Get_Minimum(), CSG_Simple_Statistics::Get_Minimum(), CSG_Simple_Statistics::Invalidate(), CSG_Table::m_Extent, CSG_Table::m_Field_Stats, CSG_Table::m_nFields, CSG_Shapes::m_ZMax, and CSG_Shapes::m_ZMin.
|
inlinevirtual |
Reimplemented from CSG_Shapes.
Definition at line 133 of file pointcloud.h.
References Save().
Referenced by Save().
|
virtual |
Reimplemented from CSG_Shapes.
Definition at line 322 of file pointcloud.cpp.
References _TL, CSG_File_Zip::Add_File(), CSG_String::c_str(), CSG_String::Format(), CSG_Data_Object::Get_Projection(), POINTCLOUD_FILE_FORMAT_Compressed, POINTCLOUD_FILE_FORMAT_Normal, POINTCLOUD_FILE_FORMAT_Undefined, CSG_MetaData::Save(), CSG_Projection::Save(), CSG_Data_Object::Save_MetaData(), CSG_Data_Object::Set_File_Name(), Set_Modified(), SG_File_Cmp_Extension(), SG_File_Get_Name(), SG_File_Make_Path(), SG_File_Set_Extension(), SG_FILE_W, SG_UI_Msg_Add(), SG_UI_MSG_STYLE_FAILURE, SG_UI_MSG_STYLE_SUCCESS, and SG_UI_Process_Set_Ready().
|
inlinevirtual |
Reimplemented from CSG_Shapes.
Definition at line 134 of file pointcloud.h.
References Save().
Referenced by Save().
|
virtual |
Reimplemented from CSG_Shapes.
Definition at line 1544 of file pointcloud.cpp.
References Select(), SSG_Point::x, and SSG_Point::y.
|
virtual |
Reimplemented from CSG_Shapes.
Definition at line 1519 of file pointcloud.cpp.
References CSG_Shapes::Get_Extent(), CSG_Table::Get_Selection_Count(), Get_X(), Get_Y(), INTERSECTION_None, CSG_Table::m_nRecords, Select(), Set_Cursor(), SSG_Rect::xMax, SSG_Rect::xMin, SSG_Rect::yMax, and SSG_Rect::yMin.
|
virtual |
Reimplemented from CSG_Shapes.
Definition at line 1513 of file pointcloud.cpp.
References CSG_Table::Select().
|
virtual |
Reimplemented from CSG_Shapes.
Definition at line 1475 of file pointcloud.cpp.
References CSG_Table::_Add_Selection(), CSG_Table::_Del_Selection(), CSG_Array::Destroy(), CSG_Table::Get_Selection_Count(), CSG_Table::Get_Selection_Index(), CSG_Table::m_Selection, Set_Cursor(), and SG_TABLE_REC_FLAG_Selected.
Referenced by Del_Point(), and Select().
|
inlinevirtual |
Definition at line 188 of file pointcloud.h.
References CSG_Table::Set_Value().
|
inline |
Definition at line 169 of file pointcloud.h.
References CSG_Table::Set_Value().
|
inlinevirtual |
Definition at line 190 of file pointcloud.h.
References CSG_Table::Set_Value().
|
inline |
Definition at line 179 of file pointcloud.h.
References CSG_Table::Set_Value().
|
inline |
Definition at line 163 of file pointcloud.h.
Referenced by Get_Selection_Extent(), Get_Shape(), and Select().
|
virtual |
Reimplemented from CSG_Table.
Definition at line 856 of file pointcloud.cpp.
References Add_Field(), Del_Field(), CSG_Table::Get_Field_Name(), Get_Value(), CSG_Table::m_Field_Type, CSG_Table::m_nFields, CSG_Table::m_nRecords, CSG_Table::Set_Field_Type(), Set_Modified(), and Set_Value().
|
inlinevirtual |
Reimplemented from CSG_Table.
Definition at line 198 of file pointcloud.h.
References CSG_Data_Object::Set_Modified().
Referenced by Add_Point(), Del_Field(), Del_Point(), Del_Points(), Del_Selection(), Save(), and Set_Field_Type().
|
inline |
Definition at line 171 of file pointcloud.h.
References CSG_Data_Object::Get_NoData_Value(), and CSG_Table::Set_Value().
|
inline |
Definition at line 181 of file pointcloud.h.
References CSG_Data_Object::Get_NoData_Value(), and CSG_Table::Set_Value().
|
virtual |
Definition at line 1058 of file pointcloud.cpp.
References SSG_Point_3D::x, SSG_Point_3D::y, and SSG_Point_3D::z.
|
virtual |
Definition at line 1067 of file pointcloud.cpp.
References CSG_Table::m_nRecords, SSG_Point_3D::x, SSG_Point_3D::y, and SSG_Point_3D::z.
|
inlinevirtual |
Definition at line 184 of file pointcloud.h.
|
inlinevirtual |
Definition at line 164 of file pointcloud.h.
Referenced by Add_Shape(), and Set_Field_Type().
|
inlinevirtual |
Reimplemented from CSG_Table.
Definition at line 186 of file pointcloud.h.
|
inlinevirtual |
Reimplemented from CSG_Table.
Definition at line 174 of file pointcloud.h.
|
inline |
Definition at line 136 of file pointcloud.h.