FormIt C++ API v25.0.0 (2025.0.0)
Loading...
Searching...
No Matches
FormIt::Selection Namespace Reference

Functions

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