#include <c4d_baseselect.h>
 | 
| Int32  | GetCount () const | 
|   | 
| Int32  | GetSegments () const | 
|   | 
| Bool  | Select (Int32 num) | 
|   | 
| Bool  | SelectAll (Int32 min, Int32 max, Bool deselectAll=true) | 
|   | 
| Bool  | Deselect (Int32 num) | 
|   | 
| Bool  | DeselectAll () | 
|   | 
| Bool  | Toggle (Int32 num) | 
|   | 
| Bool  | ToggleAll (Int32 min, Int32 max) | 
|   | 
| Bool  | GetRange (Int32 seg, Int32 maxElements, Int32 *a, Int32 *b) const | 
|   | 
| Bool  | IsSelected (Int32 num) const | 
|   | 
| Bool  | CopyTo (BaseSelect *dest, Bool alwaysDirty=true) const | 
|   | 
| BaseSelect *  | GetClone () const | 
|   | 
| Bool  | Merge (const BaseSelect *src) | 
|   | 
| Bool  | Deselect (const BaseSelect *src) | 
|   | 
| Bool  | Cross (const BaseSelect *src) | 
|   | 
| Bool  | FromArray (UChar *selection, Int32 count) | 
|   | 
| UChar *  | ToArray (Int32 count) const | 
|   | 
| Bool  | ToBitSet (Int32 count, maxon::BaseBitSet< maxon::DefaultAllocator, UInt > &bitSet) const | 
|   | 
| Bool  | FromBitSet (const maxon::BaseBitSet< maxon::DefaultAllocator, UInt > &bitSet) | 
|   | 
| Bool  | Read (HyperFile *hf) | 
|   | 
| void  | Write (HyperFile *hf) const | 
|   | 
| Bool  | FindSegment (Int32 num, Int32 *segment) const | 
|   | 
| Int32  | GetDirty () const | 
|   | 
| maxon::HashInt  | GetHashCode () const | 
|   | 
| Int32  | GetLastElement () const | 
|   | 
| Bool  | IsAllSelected (Int32 num) const | 
|   | 
| Bool  | IsNothingSelected () const | 
|   | 
| Bool  | IsEqual (const BaseSelect &other) const | 
|   | 
| const maxon::Block< const BaseSelectData >  | GetData () const | 
|   | 
| Bool  | Set (const maxon::Block< const BaseSelectData > &data) | 
|   | 
| Bool  | MoveSet (maxon::BaseArray< BaseSelectData > &&values) | 
|   | 
| static BaseSelect *  | Alloc () | 
|   | 
| static void  | Free (BaseSelect *&bs) | 
|   | 
◆ EdgeBaseSelect()
◆ ~EdgeBaseSelect()
◆ Alloc()
Allocates a edge base selection. Destroy the allocated edge base selection with Free(). Use AutoAlloc to automate the allocation and destruction based on scope. 
- Returns
 - The allocated edge base selection, or nullptr if the allocation failed. 
 
 
 
◆ Free()
Destructs edge base selections allocated with Alloc(). Use AutoAlloc to automate the allocation and destruction based on scope. 
- Parameters
 - 
  
    | [in,out] | bs | The edge base selection to destruct. If the pointer is nullptr nothing happens. The pointer is assigned nullptr afterwards.  | 
  
   
 
 
◆ FromArrayCompact()
Gets a number of selected elements from an array. There is one byte per polygon in the array. The bits 0 to 3 of each byte define which edge of the polygon is selected. 
- Warning
 - The old selection will completely be overridden. 
 
- Parameters
 - 
  
    | [in] | selection | An array of elements to select. The caller owns the pointed array.  | 
    | [in] | count | The number of elements in the array. This is usually the polygon count.  | 
  
   
- Returns
 - true if the elements from the array were selected successfully, otherwise false. 
 
 
 
◆ ToArrayCompact()
Gets an array of selected elements. There is one byte per polygon in the array. The bits 0 to 3 of each byte define which edge of the polygon is selected. 
- Warning
 - The array is created with NewMemClear() and must be freed with DeleteMem() afterward. 
 
- Parameters
 - 
  
    | [in] | count | The number of elements to place into the array. This is usually the polygon count.  | 
  
   
- Returns
 - The array containing the selected elements or nullptr if failed. The caller owns the pointed array.