FormIt C++ API  v23.0.0 (2023.0.0)
FormIt::Selection Namespace Reference

Functions

FORMIT_CORE_EXPORT void SetObjectTypeFilter (const WSM::Utils::ObjectTypeFilter &filter)
 SetObjectTypeFilter() function. More...
 
FORMIT_CORE_EXPORT WSM::Utils::ObjectTypeFilter GetObjectTypeFilter ()
 GetObjectTypeFilter() function. More...
 
FORMIT_CORE_EXPORT void ClearPreSelections ()
 ClearPreSelections() function. More...
 
FORMIT_CORE_EXPORT void ClearSelections ()
 ClearSelections() function. More...
 
FORMIT_CORE_EXPORT const ::vector< WSM::GroupInstancePath > & GetPreSelections ()
 GetPreSelections() function. More...
 
FORMIT_CORE_EXPORT const ::vector< WSM::GroupInstancePath > & GetSelections ()
 GetSelections() function. More...
 
FORMIT_CORE_EXPORT bool HasPreSelections ()
 HasPreSelections() function. More...
 
FORMIT_CORE_EXPORT bool HasSelections ()
 HasSelections() function. More...
 
FORMIT_CORE_EXPORT bool IsSelected (WSM::GroupInstancePath const &path)
 Is this GroupInstancePath in the selections. More...
 
FORMIT_CORE_EXPORT void AddSelections (const 1::vector< WSM::GroupInstancePath > &objectIDs)
 Add a vector of GroupInstancePath to the selection. More...
 
FORMIT_CORE_EXPORT void SetSelections (const 1::vector< WSM::GroupInstancePath > &objectIDs)
 SetSelections() function. More...
 
FORMIT_CORE_EXPORT void SetPreSelections (const 1::vector< WSM::GroupInstancePath > &objectIDs)
 SetPreSelections sets the pre-selected objects in the SelectionSet. More...
 
FORMIT_CORE_EXPORT void SetPreSelections (const WSM::GroupInstancePath &firstPreselection, const 1::vector< WSM::GroupInstancePath > &allPreselections)
 SetPreSelections() function. More...
 
FORMIT_CORE_EXPORT void CommitPreselections ()
 Sets the selection using the current pre-selection. More...
 
FORMIT_CORE_EXPORT const WSM::GroupInstancePathGetFirstPreSelectedObject ()
 Get the first pre-selected object. More...
 
FORMIT_CORE_EXPORT const WSM::GroupInstancePathGetFirstSelectedObject ()
 Get the first selected object. More...
 
FORMIT_CORE_EXPORT const ::vector< WSM::GroupInstancePath > & GetPreSelectedObjects ()
 Get the pre-selected objects. More...
 
FORMIT_CORE_EXPORT void ToggleObjects (const 1::vector< WSM::GroupInstancePath > &objectIDs)
 ToggleObjects toggles the object selection- If they're in the list, it removes them, else it adds them. More...
 
FORMIT_CORE_EXPORT void SelectAll ()
 Sets the selection to all visible Objects. More...
 
FORMIT_CORE_EXPORT const WSM::GroupInstancePathGetContextMenuObject (WSM::Point2d *pickPoint)
 Get the object selected by the context menu click. More...