SAGA API  v9.6
CSG_PointCloud Class Reference

#include <pointcloud.h>

Inheritance diagram for CSG_PointCloud:
CSG_Shapes CSG_Table CSG_Data_Object

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_CharGet_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_RecordGet_Record (sLong Index) const
 
virtual CSG_ShapeGet_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_RecordIns_Record (sLong Index, CSG_Table_Record *pCopy=NULL)
 
virtual CSG_Table_RecordAdd_Record (CSG_Table_Record *pCopy=NULL)
 
virtual CSG_ShapeAdd_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_ShapeGet_Selection (sLong Index=0)
 
virtual const CSG_RectGet_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_RectGet_Extent (void)
 
double Get_ZMin (void)
 
double Get_ZMax (void)
 
double Get_MMin (void)
 
double Get_MMax (void)
 
virtual CSG_ShapeGet_Shape (sLong Index) const
 
virtual CSG_ShapeGet_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_Tableoperator= (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_CharGet_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_StatisticsGet_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_Recordoperator[] (sLong Index) const
 
sLong Get_Index (sLong Index) const
 
CSG_Table_RecordGet_Record_byIndex (sLong Index) const
 
virtual bool Find_Record (sLong &Index, int iField, const CSG_String &Value, bool bCreateIndex=false)
 
virtual CSG_Table_RecordFind_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_RecordFind_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_RecordGet_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_CharGet_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_CharGet_Name (void) const
 
void Set_Description (const CSG_String &Description)
 
const SG_CharGet_Description (void) const
 
virtual bool is_Modified (void) const
 
bool Update (bool bForce=false)
 
CSG_Data_ObjectGet_Owner (void) const
 
void Set_Owner (CSG_Data_Object *pOwner)
 
CSG_MetaDataGet_MetaData (void) const
 
CSG_MetaDataGet_MetaData_DB (void) const
 
CSG_MetaDataGet_History (void)
 
const CSG_MetaDataGet_History (void) const
 
CSG_ProjectionGet_Projection (void)
 
const CSG_ProjectionGet_Projection (void) const
 
class CSG_TableasTable (bool bPolymorph=false) const
 
class CSG_ShapesasShapes (bool bPolymorph=false) const
 
class CSG_TINasTIN (bool bPolymorph=false) const
 
class CSG_PointCloudasPointCloud (bool bPolymorph=false) const
 
class CSG_GridasGrid (bool bPolymorph=false) const
 
class CSG_GridsasGrids (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_Typem_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_Objectm_pOwner
 

Detailed Description

Definition at line 104 of file pointcloud.h.

Constructor & Destructor Documentation

◆ CSG_PointCloud() [1/6]

CSG_PointCloud::CSG_PointCloud ( void  )

Definition at line 109 of file pointcloud.cpp.

References _On_Construction(), and Create().

◆ CSG_PointCloud() [2/6]

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() [3/6]

CSG_PointCloud::CSG_PointCloud ( const CSG_String File)

Definition at line 141 of file pointcloud.cpp.

References _On_Construction(), and Create().

◆ CSG_PointCloud() [4/6]

CSG_PointCloud::CSG_PointCloud ( const char *  File)

Definition at line 139 of file pointcloud.cpp.

◆ CSG_PointCloud() [5/6]

CSG_PointCloud::CSG_PointCloud ( const wchar_t *  File)

Definition at line 140 of file pointcloud.cpp.

◆ CSG_PointCloud() [6/6]

CSG_PointCloud::CSG_PointCloud ( CSG_PointCloud pTemplate)

Definition at line 155 of file pointcloud.cpp.

References _On_Construction(), and Create().

◆ ~CSG_PointCloud()

CSG_PointCloud::~CSG_PointCloud ( void  )
virtual

Definition at line 212 of file pointcloud.cpp.

References Destroy().

Member Function Documentation

◆ _On_Construction()

◆ _Stats_Update()

◆ Add_Field()

bool CSG_PointCloud::Add_Field ( const CSG_String Name,
TSG_Data_Type  Type,
int  Field = -1 
)
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().

◆ Add_Point() [1/2]

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.

◆ Add_Point() [2/2]

bool CSG_PointCloud::Add_Point ( double  x,
double  y,
double  z 
)

◆ Add_Record()

CSG_Table_Record * CSG_PointCloud::Add_Record ( CSG_Table_Record pCopy = NULL)
virtual

Reimplemented from CSG_Table.

Definition at line 1436 of file pointcloud.cpp.

References Add_Shape(), and SHAPE_COPY.

◆ Add_Shape()

◆ Assign()

◆ Create() [1/6]

bool CSG_PointCloud::Create ( const char *  File)

Definition at line 147 of file pointcloud.cpp.

References Create().

◆ Create() [2/6]

bool CSG_PointCloud::Create ( const CSG_PointCloud PointCloud)

Definition at line 133 of file pointcloud.cpp.

References Assign(), and CSG_Data_Manager::PointCloud().

◆ Create() [3/6]

bool CSG_PointCloud::Create ( const CSG_String File)

Definition at line 149 of file pointcloud.cpp.

◆ Create() [4/6]

bool CSG_PointCloud::Create ( const wchar_t *  File)

Definition at line 148 of file pointcloud.cpp.

References Create().

◆ Create() [5/6]

bool CSG_PointCloud::Create ( CSG_PointCloud pTemplate)

◆ Create() [6/6]

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().

◆ Del_Field()

bool CSG_PointCloud::Del_Field ( int  Field)
virtual

◆ Del_Point()

bool CSG_PointCloud::Del_Point ( sLong  Index)

◆ Del_Points()

◆ Del_Record()

virtual bool CSG_PointCloud::Del_Record ( sLong  Index)
inlinevirtual

Reimplemented from CSG_Table.

Definition at line 208 of file pointcloud.h.

◆ Del_Records()

virtual bool CSG_PointCloud::Del_Records ( void  )
inlinevirtual

Reimplemented from CSG_Table.

Definition at line 210 of file pointcloud.h.

◆ Del_Selection()

◆ Del_Shape() [1/2]

virtual bool CSG_PointCloud::Del_Shape ( CSG_Shape pShape)
inlinevirtual

Reimplemented from CSG_Shapes.

Definition at line 216 of file pointcloud.h.

◆ Del_Shape() [2/2]

virtual bool CSG_PointCloud::Del_Shape ( sLong  Index)
inlinevirtual

Reimplemented from CSG_Shapes.

Definition at line 209 of file pointcloud.h.

◆ Del_Shapes()

virtual bool CSG_PointCloud::Del_Shapes ( void  )
inlinevirtual

Reimplemented from CSG_Shapes.

Definition at line 211 of file pointcloud.h.

◆ Destroy()

bool CSG_PointCloud::Destroy ( void  )
virtual

◆ Get_Attribute() [1/4]

double CSG_PointCloud::Get_Attribute ( int  Field) const
inline

Definition at line 170 of file pointcloud.h.

References CSG_Table::Get_Value().

◆ Get_Attribute() [2/4]

virtual bool CSG_PointCloud::Get_Attribute ( int  Field,
CSG_String Value 
) const
inlinevirtual

Definition at line 189 of file pointcloud.h.

References CSG_Table::Get_Value().

◆ Get_Attribute() [3/4]

double CSG_PointCloud::Get_Attribute ( sLong  Index,
int  Field 
) const
inline

Definition at line 180 of file pointcloud.h.

References CSG_Table::Get_Value().

◆ Get_Attribute() [4/4]

virtual bool CSG_PointCloud::Get_Attribute ( sLong  Index,
int  Field,
CSG_String Value 
) const
inlinevirtual

Definition at line 191 of file pointcloud.h.

References CSG_Table::Get_Value().

◆ Get_Attribute_Count()

int CSG_PointCloud::Get_Attribute_Count ( void  ) const
inline

Definition at line 152 of file pointcloud.h.

◆ Get_Attribute_Name()

const SG_Char* CSG_PointCloud::Get_Attribute_Name ( int  Field) const
inline

Definition at line 153 of file pointcloud.h.

◆ Get_Attribute_Type()

TSG_Data_Type CSG_PointCloud::Get_Attribute_Type ( int  Field) const
inline

Definition at line 154 of file pointcloud.h.

References SG_DATATYPE_Undefined.

◆ Get_Header_Content()

bool CSG_PointCloud::Get_Header_Content ( const CSG_String FileName,
CSG_MetaData Header 
)
static

◆ Get_ObjectType()

virtual TSG_Data_Object_Type CSG_PointCloud::Get_ObjectType ( void  ) const
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.

◆ Get_Point() [1/2]

TSG_Point_3D CSG_PointCloud::Get_Point ( sLong  Index) const

◆ Get_Point() [2/2]

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.

◆ Get_Record()

CSG_Table_Record * CSG_PointCloud::Get_Record ( sLong  Index) const
virtual

Reimplemented from CSG_Table.

Definition at line 1386 of file pointcloud.cpp.

◆ Get_Selection()

CSG_Shape * CSG_PointCloud::Get_Selection ( sLong  Index = 0)
virtual

Reimplemented from CSG_Shapes.

Definition at line 1566 of file pointcloud.cpp.

References CSG_Table::Get_Selection_Count(), and CSG_Table::Get_Selection_Index().

◆ Get_Selection_Extent()

const CSG_Rect & CSG_PointCloud::Get_Selection_Extent ( void  )
virtual

◆ Get_Shape()

◆ Get_Value() [1/4]

virtual double CSG_PointCloud::Get_Value ( int  Field) const
inlinevirtual

Definition at line 165 of file pointcloud.h.

Referenced by _Stats_Update(), and Set_Field_Type().

◆ Get_Value() [2/4]

virtual bool CSG_PointCloud::Get_Value ( int  Field,
CSG_String Value 
) const
inlinevirtual

Definition at line 185 of file pointcloud.h.

◆ Get_Value() [3/4]

virtual double CSG_PointCloud::Get_Value ( sLong  Index,
int  Field 
) const
inlinevirtual

Definition at line 175 of file pointcloud.h.

◆ Get_Value() [4/4]

virtual bool CSG_PointCloud::Get_Value ( sLong  Index,
int  Field,
CSG_String Value 
) const
inlinevirtual

Reimplemented from CSG_Table.

Definition at line 187 of file pointcloud.h.

◆ Get_X() [1/2]

double CSG_PointCloud::Get_X ( sLong  Index) const
inline

Definition at line 176 of file pointcloud.h.

◆ Get_X() [2/2]

double CSG_PointCloud::Get_X ( void  ) const
inline

Definition at line 166 of file pointcloud.h.

Referenced by Get_Selection_Extent(), Get_Shape(), and Select().

◆ Get_Y() [1/2]

double CSG_PointCloud::Get_Y ( sLong  Index) const
inline

Definition at line 177 of file pointcloud.h.

◆ Get_Y() [2/2]

double CSG_PointCloud::Get_Y ( void  ) const
inline

Definition at line 167 of file pointcloud.h.

Referenced by Get_Selection_Extent(), Get_Shape(), and Select().

◆ Get_Z() [1/2]

double CSG_PointCloud::Get_Z ( sLong  Index) const
inline

Definition at line 178 of file pointcloud.h.

◆ Get_Z() [2/2]

double CSG_PointCloud::Get_Z ( void  ) const
inline

Definition at line 168 of file pointcloud.h.

◆ Ins_Record()

CSG_Table_Record * CSG_PointCloud::Ins_Record ( sLong  Index,
CSG_Table_Record pCopy = NULL 
)
virtual

Reimplemented from CSG_Table.

Definition at line 1430 of file pointcloud.cpp.

◆ Inv_Selection()

sLong CSG_PointCloud::Inv_Selection ( void  )
virtual

◆ is_Compatible()

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.

◆ is_NoData() [1/2]

bool CSG_PointCloud::is_NoData ( int  Field) const
inline

Definition at line 172 of file pointcloud.h.

References CSG_Table::Get_Value(), and CSG_Data_Object::is_NoData_Value().

◆ is_NoData() [2/2]

bool CSG_PointCloud::is_NoData ( sLong  Index,
int  Field 
) const
inline

Definition at line 182 of file pointcloud.h.

References CSG_Table::Get_Value(), and CSG_Data_Object::is_NoData_Value().

◆ is_Selected()

bool CSG_PointCloud::is_Selected ( sLong  Index) const
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().

◆ is_Valid()

virtual bool CSG_PointCloud::is_Valid ( void  ) const
inlinevirtual

Reimplemented from CSG_Shapes.

Definition at line 141 of file pointcloud.h.

◆ Mov_Field()

bool CSG_PointCloud::Mov_Field ( int  Field,
int  Position 
)
virtual

◆ On_Delete()

bool CSG_PointCloud::On_Delete ( void  )
protectedvirtual

Reimplemented from CSG_Shapes.

Definition at line 1305 of file pointcloud.cpp.

References CSG_Data_Object::Get_File_Name(), and SG_File_Delete().

◆ On_Reload()

bool CSG_PointCloud::On_Reload ( void  )
protectedvirtual

Reimplemented from CSG_Shapes.

Definition at line 1299 of file pointcloud.cpp.

References Create(), and CSG_Data_Object::Get_File_Name().

◆ On_Update()

◆ Save() [1/3]

virtual bool CSG_PointCloud::Save ( const char *  File,
int  Format = 0 
)
inlinevirtual

Reimplemented from CSG_Shapes.

Definition at line 133 of file pointcloud.h.

References Save().

Referenced by Save().

◆ Save() [2/3]

◆ Save() [3/3]

virtual bool CSG_PointCloud::Save ( const wchar_t *  File,
int  Format = 0 
)
inlinevirtual

Reimplemented from CSG_Shapes.

Definition at line 134 of file pointcloud.h.

References Save().

Referenced by Save().

◆ Select() [1/4]

bool CSG_PointCloud::Select ( const TSG_Point Point,
bool  bInvert = false 
)
virtual

Reimplemented from CSG_Shapes.

Definition at line 1544 of file pointcloud.cpp.

References Select(), SSG_Point::x, and SSG_Point::y.

◆ Select() [2/4]

bool CSG_PointCloud::Select ( const TSG_Rect Extent,
bool  bInvert = false 
)
virtual

◆ Select() [3/4]

bool CSG_PointCloud::Select ( CSG_Table_Record pShape = NULL,
bool  bInvert = false 
)
virtual

Reimplemented from CSG_Shapes.

Definition at line 1513 of file pointcloud.cpp.

References CSG_Table::Select().

◆ Select() [4/4]

bool CSG_PointCloud::Select ( sLong  Index,
bool  bInvert = false 
)
virtual

◆ Set_Attribute() [1/4]

virtual bool CSG_PointCloud::Set_Attribute ( int  Field,
const SG_Char Value 
)
inlinevirtual

Definition at line 188 of file pointcloud.h.

References CSG_Table::Set_Value().

◆ Set_Attribute() [2/4]

bool CSG_PointCloud::Set_Attribute ( int  Field,
double  Value 
)
inline

Definition at line 169 of file pointcloud.h.

References CSG_Table::Set_Value().

◆ Set_Attribute() [3/4]

virtual bool CSG_PointCloud::Set_Attribute ( sLong  Index,
int  Field,
const SG_Char Value 
)
inlinevirtual

Definition at line 190 of file pointcloud.h.

References CSG_Table::Set_Value().

◆ Set_Attribute() [4/4]

bool CSG_PointCloud::Set_Attribute ( sLong  Index,
int  Field,
double  Value 
)
inline

Definition at line 179 of file pointcloud.h.

References CSG_Table::Set_Value().

◆ Set_Cursor()

bool CSG_PointCloud::Set_Cursor ( sLong  Index)
inline

Definition at line 163 of file pointcloud.h.

Referenced by Get_Selection_Extent(), Get_Shape(), and Select().

◆ Set_Field_Type()

bool CSG_PointCloud::Set_Field_Type ( int  Field,
TSG_Data_Type  Type 
)
virtual

◆ Set_Modified()

virtual void CSG_PointCloud::Set_Modified ( bool  bModified = true)
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().

◆ Set_NoData() [1/2]

bool CSG_PointCloud::Set_NoData ( int  Field)
inline

Definition at line 171 of file pointcloud.h.

References CSG_Data_Object::Get_NoData_Value(), and CSG_Table::Set_Value().

◆ Set_NoData() [2/2]

bool CSG_PointCloud::Set_NoData ( sLong  Index,
int  Field 
)
inline

Definition at line 181 of file pointcloud.h.

References CSG_Data_Object::Get_NoData_Value(), and CSG_Table::Set_Value().

◆ Set_Point() [1/2]

bool CSG_PointCloud::Set_Point ( const TSG_Point_3D Point)
virtual

Definition at line 1058 of file pointcloud.cpp.

References SSG_Point_3D::x, SSG_Point_3D::y, and SSG_Point_3D::z.

◆ Set_Point() [2/2]

bool CSG_PointCloud::Set_Point ( sLong  Index,
const TSG_Point_3D Point 
)
virtual

◆ Set_Value() [1/4]

virtual bool CSG_PointCloud::Set_Value ( int  Field,
const SG_Char Value 
)
inlinevirtual

Definition at line 184 of file pointcloud.h.

◆ Set_Value() [2/4]

virtual bool CSG_PointCloud::Set_Value ( int  Field,
double  Value 
)
inlinevirtual

Definition at line 164 of file pointcloud.h.

Referenced by Add_Shape(), and Set_Field_Type().

◆ Set_Value() [3/4]

virtual bool CSG_PointCloud::Set_Value ( sLong  Index,
int  Field,
const SG_Char Value 
)
inlinevirtual

Reimplemented from CSG_Table.

Definition at line 186 of file pointcloud.h.

◆ Set_Value() [4/4]

virtual bool CSG_PointCloud::Set_Value ( sLong  Index,
int  Field,
double  Value 
)
inlinevirtual

Reimplemented from CSG_Table.

Definition at line 174 of file pointcloud.h.

◆ Set_XYZ_Precision()

void CSG_PointCloud::Set_XYZ_Precision ( bool  bDouble)
inline

Definition at line 136 of file pointcloud.h.


The documentation for this class was generated from the following files: