SAGA API  v9.5
CSG_Shapes Class Reference

#include <shapes.h>

Inheritance diagram for CSG_Shapes:
CSG_Table CSG_Data_Object CSG_PointCloud

Public Member Functions

 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 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 *pObject)
 
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)
 
virtual bool is_Valid (void) const
 
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_ShapeAdd_Shape (CSG_Table_Record *pCopy=NULL, TSG_ADD_Shape_Copy_Mode mCopy=SHAPE_COPY)
 
virtual bool Del_Shape (sLong Index)
 
virtual bool Del_Shape (CSG_Shape *pShape)
 
virtual bool Del_Shapes (void)
 
virtual CSG_ShapeGet_Shape (const CSG_Point &Point, double Epsilon=0.)
 
virtual CSG_ShapeGet_Shape (sLong Index) const
 
virtual CSG_ShapeGet_Shape_byIndex (sLong Index) const
 
bool Make_Clean (void)
 
virtual const CSG_RectGet_Selection_Extent (void)
 
virtual CSG_ShapeGet_Selection (sLong Index=0)
 
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)
 
- 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 CSG_String &Name, TSG_Data_Type Type, int Position=-1)
 
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)
 
virtual bool Del_Field (int iField)
 
virtual bool Mov_Field (int iField, int Position)
 
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)
 
virtual bool Set_Field_Type (int iField, TSG_Data_Type Type)
 
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 CSG_Table_RecordAdd_Record (CSG_Table_Record *pCopy=NULL)
 
virtual CSG_Table_RecordIns_Record (sLong Index, CSG_Table_Record *pCopy=NULL)
 
virtual bool Set_Record (sLong Index, CSG_Table_Record *pCopy)
 
virtual bool Del_Record (sLong Index)
 
virtual bool Del_Records (void)
 
virtual bool Set_Count (sLong nRecords)
 
sLong Get_Count (void) const
 
virtual CSG_Table_RecordGet_Record (sLong Index) 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 Set_Value (sLong Index, int iField, const SG_Char *Value)
 
virtual bool Set_Value (sLong Index, int iField, double Value)
 
virtual bool Get_Value (sLong Index, int iField, CSG_String &Value) const
 
virtual bool Get_Value (sLong Index, int iField, double &Value) const
 
virtual void Set_Modified (bool bModified=true)
 
sLong Get_Selection_Count (void) const
 
sLong Get_Selection_Index (sLong Index=0) const
 
virtual CSG_Table_RecordGet_Selection (sLong Index=0) const
 
virtual bool is_Selected (sLong Index) const
 
virtual sLong Del_Selection (void)
 
virtual sLong Inv_Selection (void)
 
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
 

Protected Member Functions

virtual bool On_Update (void)
 
virtual bool On_Reload (void)
 
virtual bool On_Delete (void)
 
virtual void _On_Construction (void)
 
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
 
virtual bool _Stats_Update (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)
 

Protected Attributes

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
 

Friends

class CSG_Shape
 

Additional Inherited Members

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

Detailed Description

Definition at line 774 of file shapes.h.

Constructor & Destructor Documentation

◆ CSG_Shapes() [1/6]

CSG_Shapes::CSG_Shapes ( void  )

Definition at line 151 of file shapes.cpp.

References _On_Construction().

◆ CSG_Shapes() [2/6]

CSG_Shapes::CSG_Shapes ( const CSG_Shapes Shapes)

Definition at line 158 of file shapes.cpp.

References _On_Construction(), and CSG_Table::Create().

◆ CSG_Shapes() [3/6]

CSG_Shapes::CSG_Shapes ( const char *  File)

Definition at line 165 of file shapes.cpp.

◆ CSG_Shapes() [4/6]

CSG_Shapes::CSG_Shapes ( const wchar_t *  File)

Definition at line 166 of file shapes.cpp.

◆ CSG_Shapes() [5/6]

CSG_Shapes::CSG_Shapes ( const CSG_String File)

Definition at line 167 of file shapes.cpp.

References _On_Construction(), and CSG_Table::Create().

◆ CSG_Shapes() [6/6]

CSG_Shapes::CSG_Shapes ( TSG_Shape_Type  Type,
const SG_Char Name = NULL,
CSG_Table pTemplate = NULL,
TSG_Vertex_Type  Vertex_Type = SG_VERTEX_TYPE_XY 
)

Definition at line 174 of file shapes.cpp.

References _On_Construction(), and CSG_Table::Create().

◆ ~CSG_Shapes()

CSG_Shapes::~CSG_Shapes ( void  )
virtual

Definition at line 341 of file shapes.cpp.

References Destroy().

Member Function Documentation

◆ _Get_New_Record()

CSG_Table_Record * CSG_Shapes::_Get_New_Record ( sLong  Index)
protectedvirtual

◆ _On_Construction()

void CSG_Shapes::_On_Construction ( void  )
protectedvirtual

◆ Add_Shape()

CSG_Shape * CSG_Shapes::Add_Shape ( CSG_Table_Record pCopy = NULL,
TSG_ADD_Shape_Copy_Mode  mCopy = SHAPE_COPY 
)
virtual

Reimplemented in CSG_PointCloud.

Definition at line 418 of file shapes.cpp.

References CSG_Table::Add_Record(), CSG_Shape::Assign(), and SHAPE_NO_COPY.

Referenced by Assign(), CSG_TIN::Save(), and SG_Get_Projected().

◆ Assign()

◆ Create() [1/5]

bool CSG_Shapes::Create ( const char *  File)

Definition at line 210 of file shapes.cpp.

References CSG_Table::Create().

◆ Create() [2/5]

bool CSG_Shapes::Create ( const CSG_Shapes Shapes)

Definition at line 204 of file shapes.cpp.

References Assign().

Referenced by CSG_PointCloud::_On_Construction(), CSG_TIN::Save(), and SG_Get_Projected().

◆ Create() [3/5]

◆ Create() [4/5]

bool CSG_Shapes::Create ( const wchar_t *  File)

Definition at line 211 of file shapes.cpp.

References CSG_Table::Create().

◆ Create() [5/5]

bool CSG_Shapes::Create ( TSG_Shape_Type  Type,
const SG_Char Name = NULL,
CSG_Table pTemplate = NULL,
TSG_Vertex_Type  Vertex_Type = SG_VERTEX_TYPE_XY 
)

◆ Del_Shape() [1/2]

bool CSG_Shapes::Del_Shape ( CSG_Shape pShape)
virtual

Reimplemented in CSG_PointCloud.

Definition at line 431 of file shapes.cpp.

References CSG_Table::Del_Record(), and CSG_Table_Record::Get_Index().

◆ Del_Shape() [2/2]

bool CSG_Shapes::Del_Shape ( sLong  Index)
virtual

Reimplemented in CSG_PointCloud.

Definition at line 436 of file shapes.cpp.

References CSG_Table::Del_Record().

Referenced by Create().

◆ Del_Shapes()

virtual bool CSG_Shapes::Del_Shapes ( void  )
inlinevirtual

Reimplemented in CSG_PointCloud.

Definition at line 824 of file shapes.h.

References CSG_Table::Del_Records().

◆ Destroy()

bool CSG_Shapes::Destroy ( void  )
virtual

Reimplemented from CSG_Table.

Reimplemented in CSG_PointCloud.

Definition at line 347 of file shapes.cpp.

References CSG_Table::Destroy(), m_Type, and SHAPE_TYPE_Undefined.

Referenced by Create(), and ~CSG_Shapes().

◆ Get_Extent()

◆ Get_MMax()

double CSG_Shapes::Get_MMax ( void  )
inline

Definition at line 818 of file shapes.h.

References CSG_Data_Object::Update().

Referenced by On_Update().

◆ Get_MMin()

double CSG_Shapes::Get_MMin ( void  )
inline

Definition at line 817 of file shapes.h.

References CSG_Data_Object::Update().

◆ Get_ObjectType()

virtual TSG_Data_Object_Type CSG_Shapes::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_Table.

Reimplemented in CSG_PointCloud.

Definition at line 799 of file shapes.h.

References SG_DATAOBJECT_TYPE_Shapes.

Referenced by SG_Create_Shapes().

◆ Get_Selection()

virtual CSG_Shape* CSG_Shapes::Get_Selection ( sLong  Index = 0)
inlinevirtual

Reimplemented in CSG_PointCloud.

Definition at line 835 of file shapes.h.

References CSG_Table::Get_Selection().

Referenced by Get_Selection_Extent().

◆ Get_Selection_Extent()

const CSG_Rect & CSG_Shapes::Get_Selection_Extent ( void  )
virtual

◆ Get_Shape() [1/2]

◆ Get_Shape() [2/2]

virtual CSG_Shape* CSG_Shapes::Get_Shape ( sLong  Index) const
inlinevirtual

Definition at line 827 of file shapes.h.

◆ Get_Shape_byIndex()

virtual CSG_Shape* CSG_Shapes::Get_Shape_byIndex ( sLong  Index) const
inlinevirtual

Definition at line 828 of file shapes.h.

References CSG_Table::Get_Record_byIndex().

◆ Get_Type()

virtual TSG_Shape_Type CSG_Shapes::Get_Type ( void  ) const
inlinevirtual

Definition at line 809 of file shapes.h.

Referenced by Assign(), CSG_Data_Manager::Get_Summary(), Select(), and SG_Create_Shapes().

◆ Get_Vertex_Type()

TSG_Vertex_Type CSG_Shapes::Get_Vertex_Type ( void  ) const
inline

Definition at line 811 of file shapes.h.

Referenced by Assign(), and SG_Create_Shapes().

◆ Get_ZMax()

double CSG_Shapes::Get_ZMax ( void  )
inline

Definition at line 816 of file shapes.h.

References CSG_Data_Object::Update().

Referenced by On_Update().

◆ Get_ZMin()

double CSG_Shapes::Get_ZMin ( void  )
inline

Definition at line 815 of file shapes.h.

References CSG_Data_Object::Update().

◆ is_Valid()

virtual bool CSG_Shapes::is_Valid ( void  ) const
inlinevirtual

Reimplemented from CSG_Table.

Reimplemented in CSG_PointCloud.

Definition at line 807 of file shapes.h.

References CSG_Table::Get_Count(), and SHAPE_TYPE_Undefined.

Referenced by Create(), CSG_TIN::Create(), CSG_PRQuadTree::Create(), SG_Create_Shapes(), and SG_Get_Projected().

◆ Make_Clean()

◆ On_Delete()

bool CSG_Shapes::On_Delete ( void  )
protectedvirtual

Reimplemented from CSG_Table.

Reimplemented in CSG_PointCloud.

Definition at line 72 of file shapes_io.cpp.

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

◆ On_Reload()

bool CSG_Shapes::On_Reload ( void  )
protectedvirtual

Reimplemented from CSG_Table.

Reimplemented in CSG_PointCloud.

Definition at line 66 of file shapes_io.cpp.

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

◆ On_Update()

◆ Save() [1/3]

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

Reimplemented from CSG_Table.

Reimplemented in CSG_PointCloud.

Definition at line 804 of file shapes.h.

References Save().

Referenced by Save().

◆ Save() [2/3]

◆ Save() [3/3]

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

Reimplemented from CSG_Table.

Reimplemented in CSG_PointCloud.

Definition at line 805 of file shapes.h.

References Save().

Referenced by Save().

◆ Select() [1/4]

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

◆ Select() [2/4]

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

◆ Select() [3/4]

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

Reimplemented from CSG_Table.

Reimplemented in CSG_PointCloud.

Definition at line 69 of file shapes_selection.cpp.

References CSG_Table::Select().

◆ Select() [4/4]

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

Reimplemented from CSG_Table.

Reimplemented in CSG_PointCloud.

Definition at line 63 of file shapes_selection.cpp.

References CSG_Table::Select().

Referenced by Select().

Friends And Related Function Documentation

◆ CSG_Shape

friend class CSG_Shape
friend

Definition at line 776 of file shapes.h.

Member Data Documentation

◆ m_Extent_Selected

CSG_Rect CSG_Shapes::m_Extent_Selected
protected

Definition at line 851 of file shapes.h.

Referenced by CSG_PointCloud::Get_Selection_Extent(), and Get_Selection_Extent().

◆ m_MMax

double CSG_Shapes::m_MMax
protected

Definition at line 845 of file shapes.h.

Referenced by On_Update().

◆ m_MMin

double CSG_Shapes::m_MMin
protected

Definition at line 845 of file shapes.h.

Referenced by On_Update().

◆ m_Type

TSG_Shape_Type CSG_Shapes::m_Type
protected

◆ m_Vertex_Type

TSG_Vertex_Type CSG_Shapes::m_Vertex_Type
protected

◆ m_ZMax

double CSG_Shapes::m_ZMax
protected

Definition at line 845 of file shapes.h.

Referenced by CSG_PointCloud::On_Update(), and On_Update().

◆ m_ZMin

double CSG_Shapes::m_ZMin
protected

Definition at line 845 of file shapes.h.

Referenced by CSG_PointCloud::On_Update(), and On_Update().


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