# Visualization
TKV3d
AIS

# AIS_LocalContext Class Reference

Defines a specific context for selection.
It becomes possible to:
+ Load InteractiveObjects with a mode to be
activated + associate InteractiveObjects with a
set of temporary selectable Objects.... + +
activate StandardMode of selection for Entities
inheriting BasicShape from AIS (Selection Of
vertices, edges, wires,faces... + Add Filters
acting on detected owners of sensitive primitives
- automatically highlight shapes and
InteractiveObjects (highlight of detected shape +
highlight of detected selectable...
.

`#include <AIS_LocalContext.hxx>`

## Public Member Functions

Standard_EXPORT | AIS_LocalContext ()
Standard_EXPORT | AIS_LocalContext (const Handle(AIS_InteractiveContext)&aCtx, const Standard_Integer anIndex, const Standard_Boolean LoadDisplayed=Standard_True, const Standard_Boolean AcceptStandardModes=Standard_True, const Standard_Boolean AcceptErase=Standard_False, const Standard_Boolean UseBothViewers=Standard_False)
| Constructor By Default, the displayed objects are automatically loaded. .
void | AcceptErase (const Standard_Boolean aStatus)
| authorize or not others contexts to erase temporary displayed objects here;
Standard_Boolean | AcceptErase () const
Standard_EXPORT void | SetContext (const Handle(AIS_InteractiveContext)&aCtx)
const TCollection_AsciiString & | SelectionName () const
Standard_EXPORT void | Terminate (const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT Standard_Boolean | HasSameProjector (const Select3D_Projector &aPrj) const
| compares the current projector of the localContext with <aprj> returns True if the projectors are identical. (no need to update projection of selection primitives when closing the local context)....
Standard_EXPORT void | Reactivate ()
| to be called when a upper local context was closed... useful to put pack the right projector...
Standard_EXPORT Standard_Boolean | Display (const Handle(AIS_InteractiveObject)&anInteractive, const Standard_Integer DisplayMode=0, const Standard_Boolean AllowShapeDecomposition=Standard_True, const Standard_Integer ActivationMode=0)
| returns true if done...
Standard_EXPORT Standard_Boolean | Load (const Handle(AIS_InteractiveObject)&anInteractive, const Standard_Boolean AllowShapeDecomposition=Standard_True, const Standard_Integer ActivationMode=0)
| loads <aninteractive> with nodisplay... returns true if done
Standard_EXPORT Standard_Boolean | Erase (const Handle(AIS_InteractiveObject)&anInteractive)
| returns true if done...
Standard_EXPORT Standard_Boolean | Remove (const Handle(AIS_InteractiveObject)&aSelectable)
Standard_EXPORT Standard_Boolean | ClearPrs (const Handle(AIS_InteractiveObject)&anInteractive, const Standard_Integer aMode)
Standard_EXPORT void | SetShapeDecomposition (const Handle(AIS_InteractiveObject)&aStoredObject, const Standard_Boolean aStatus)
| allows or forbids the shape decomposition into Activated Standard Mode for <astoredobject> does nothing if the object doesn't inherits BasicShape from AIS
Standard_EXPORT void | Clear (const AIS_ClearMode atype=AIS_CM_All)
| according to <atype> , clears the different parts of the selector (filters, modeof activation, objects...)
Standard_EXPORT void | ActivateMode (const Handle(AIS_InteractiveObject)&aSelectable, const Standard_Integer aMode)
| optional : activation of a mode which is not 0 for a selectable...
Standard_EXPORT void | DeactivateMode (const Handle(AIS_InteractiveObject)&aSelectable, const Standard_Integer aMode)
Standard_EXPORT void | Deactivate (const Handle(AIS_InteractiveObject)&aSelectable)
Standard_EXPORT void | ActivateStandardMode (const TopAbs_ShapeEnum aType)
| decomposition of shapes into <atype>
Standard_EXPORT void | DeactivateStandardMode (const TopAbs_ShapeEnum aType)
const TColStd_ListOfInteger & | StandardModes () const
Standard_EXPORT void | AddFilter (const Handle(SelectMgr_Filter)&aFilter)
Standard_EXPORT void | RemoveFilter (const Handle(SelectMgr_Filter)&aFilter)
const SelectMgr_ListOfFilter & | ListOfFilter () const
const Handle_SelectMgr_OrFilter & | Filter () const
void | SetAutomaticHilight (const Standard_Boolean aStatus)
| if <astatus> = True , the shapes or subshapes detected by the selector will be automatically hilighted in the main viewer. Else the user has to manage the detected shape outside the Shape Selector....
Standard_Boolean | AutomaticHilight () const
Standard_EXPORT AIS_StatusOfDetection | MoveTo (const Standard_Integer Xpix, const Standard_Integer Ypix, const Handle(V3d_View)&aview)
Standard_Boolean | HasNextDetected () const
| returns True if more than one entity was detected at the last Mouse position.
Standard_EXPORT Standard_Integer | HilightNextDetected (const Handle(V3d_View)&aView)
| returns True if last detected. the next detected will be first one (endless loop)
Standard_EXPORT Standard_Integer | HilightPreviousDetected (const Handle(V3d_View)&aView)
Standard_EXPORT Standard_Boolean | UnhilightLastDetected (const Handle(V3d_View)&aView)
| returns True if something was done...
Standard_EXPORT AIS_StatusOfPick | Select (const Standard_Boolean updateviewer=Standard_True)
| returns the number of selected
Standard_EXPORT AIS_StatusOfPick | ShiftSelect (const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT AIS_StatusOfPick | Select (const Standard_Integer XPMin, const Standard_Integer YPMin, const Standard_Integer XPMax, const Standard_Integer YPMax, const Handle(V3d_View)&aView, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT AIS_StatusOfPick | ShiftSelect (const Standard_Integer XPMin, const Standard_Integer YPMin, const Standard_Integer XPMax, const Standard_Integer YPMax, const Handle(V3d_View)&aView, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT AIS_StatusOfPick | Select (const TColgp_Array1OfPnt2d &Polyline, const Handle(V3d_View)&aView, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT AIS_StatusOfPick | ShiftSelect (const TColgp_Array1OfPnt2d &Polyline, const Handle(V3d_View)&aView, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void | HilightPicked (const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void | UnhilightPicked (const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void | UpdateSelected (const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void | UpdateSelected (const Handle(AIS_InteractiveObject)&anobj, const Standard_Boolean updateviewer=Standard_True)
| Part of advanced selection highlighting mechanism. If no owners belonging to anobj are selected, calls anobj->ClearSelected(), otherwise calls anobj->HilightSelected(). This method can be used to avoid redrawing the whole selection belonging to several Selectable Objects. .
Standard_EXPORT void | SetSelected (const Handle(AIS_InteractiveObject)&anobj, const Standard_Boolean updateviewer=Standard_True)
| useful to update selection with objects coming from Collector or stack
Standard_EXPORT void | AddOrRemoveSelected (const Handle(AIS_InteractiveObject)&anobj, const Standard_Boolean updateviewer=Standard_True)
| useful to update selection with objects coming from Collector or stack
Standard_EXPORT void | AddOrRemoveSelected (const TopoDS_Shape &aShape, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void | AddOrRemoveSelected (const Handle(SelectMgr_EntityOwner)&Ownr, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void | ClearSelected (const Standard_Boolean updateviewer=Standard_True)
Standard_Boolean | HasDetected () const
Standard_EXPORT void | InitDetected ()
Standard_EXPORT Standard_Boolean | MoreDetected () const
Standard_EXPORT void | NextDetected ()
Standard_EXPORT const TopoDS_Shape & | DetectedCurrentShape () const
Standard_EXPORT Handle_AIS_InteractiveObject | DetectedCurrentObject () const
Standard_EXPORT Standard_Boolean | HasDetectedShape () const
Standard_EXPORT const TopoDS_Shape & | DetectedShape () const
Standard_EXPORT Handle_AIS_InteractiveObject | DetectedInteractive () const
Standard_EXPORT Handle_SelectMgr_EntityOwner | DetectedOwner () const
Standard_EXPORT void | InitSelected ()
Standard_EXPORT Standard_Boolean | MoreSelected () const
Standard_EXPORT void | NextSelected ()
Standard_EXPORT Standard_Boolean | HasShape () const
| returns TRUE if the detected entity is a shape coming from a Decomposition of an element.
Standard_EXPORT const TopoDS_Shape & | SelectedShape () const
Standard_EXPORT Handle_SelectMgr_EntityOwner | SelectedOwner () const
Standard_EXPORT Standard_Boolean | IsSelected (const Handle(AIS_InteractiveObject)&aniobj) const
Standard_EXPORT Standard_Boolean | IsSelected (const Handle(SelectMgr_EntityOwner)&anOwner) const
Standard_EXPORT Handle_AIS_InteractiveObject | SelectedInteractive () const
Standard_EXPORT Standard_Boolean | HasApplicative () const
| returns TRUE if an interactive element was associated with the current picked entity.
Standard_EXPORT const Handle_Standard_Transient & | SelectedApplicative () const
Standard_EXPORT void | SetDisplayPriority (const Handle(AIS_InteractiveObject)&anObject, const Standard_Integer Prior)
Standard_EXPORT Standard_Integer | DisplayedObjects (TColStd_MapOfTransient &theMapToFill) const
Standard_EXPORT Standard_Boolean | IsIn (const Handle(AIS_InteractiveObject)&anObject) const
Standard_EXPORT Standard_Boolean | IsDisplayed (const Handle(AIS_InteractiveObject)&anObject) const
Standard_EXPORT Standard_Boolean | IsDisplayed (const Handle(AIS_InteractiveObject)&anObject, const Standard_Integer aMode) const
Standard_EXPORT const TColStd_ListOfInteger & | SelectionModes (const Handle(AIS_InteractiveObject)&anObject) const
Standard_EXPORT void | SubIntensityOn (const Handle(AIS_InteractiveObject)&anObject)
Standard_EXPORT void | SubIntensityOff (const Handle(AIS_InteractiveObject)&anObject)
Standard_EXPORT void | Hilight (const Handle(AIS_InteractiveObject)&anObject)
Standard_EXPORT void | Hilight (const Handle(AIS_InteractiveObject)&anObject, const Quantity_NameOfColor aCol)
Standard_EXPORT void | Unhilight (const Handle(AIS_InteractiveObject)&anObject)
Standard_EXPORT Standard_Boolean | IsHilighted (const Handle(AIS_InteractiveObject)&anObject) const
Standard_EXPORT Standard_Boolean | IsHilighted (const Handle(AIS_InteractiveObject)&anObject, Standard_Boolean &WithColor, Quantity_NameOfColor &HiCol) const
Standard_EXPORT void | SetSensitivity (const Standard_Real aPrecision)
| Define the current selection sensitivity for this local context according to the view size. .
Standard_EXPORT void | SetSensitivity (const Standard_Integer aPrecision=2)
| Define the current selection sensitivity for this local context according to the view size. .
Standard_EXPORT Standard_Boolean | BeginImmediateDraw ()
| initializes the list of presentations to be displayed returns False if No Local COnte
Standard_EXPORT Standard_Boolean | ImmediateAdd (const Handle(AIS_InteractiveObject)&anIObj, const Standard_Integer aMode=0)
| returns True if <aniobj> has been stored in the list.
Standard_EXPORT Standard_Boolean | ImmediateRemove (const Handle(AIS_InteractiveObject)&anIObj, const Standard_Integer aMode=0)
| returns True if <aniobj> has been removed from the list.
Standard_EXPORT Standard_Boolean | EndImmediateDraw (const Handle(V3d_View)&aView, const Standard_Boolean DoubleBuf=Standard_False)
| returns True if the immediate display has been done.
Standard_EXPORT Standard_Boolean | IsImmediateModeOn () const
Standard_EXPORT void | UpdateConversion ()
Standard_EXPORT void | UpdateSort ()
Standard_EXPORT void | LoadContextObjects ()
Standard_EXPORT void | UnloadContextObjects ()
Standard_EXPORT void | DisplayAreas (const Handle(V3d_View)&aviou)
Standard_EXPORT void | ClearAreas (const Handle(V3d_View)&aView)
Standard_EXPORT void | DisplaySensitive (const Handle(V3d_View)&aView)
Standard_EXPORT void | ClearSensitive (const Handle(V3d_View)&aView)
const Handle_StdSelect_ViewerSelector3d & | MainSelector () const
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const

## Private Member Functions

Standard_EXPORT TCollection_AsciiString | Status () const
Standard_EXPORT const Handle_AIS_LocalStatus & | Status (const Handle(AIS_InteractiveObject)&anObject) const
Standard_EXPORT void | Process (const Handle(SelectMgr_SelectableObject)&anObject, const Standard_Boolean WithProj=Standard_True)
Standard_EXPORT void | Process (const Standard_Boolean WithProj=Standard_True)
Standard_EXPORT void | ActivateStandardModes (const Handle(SelectMgr_SelectableObject)&anObject, const Standard_Boolean WithProj=Standard_True)
Standard_EXPORT void | ManageDetected (const Handle(SelectMgr_EntityOwner)&aPickOwner, const Handle(V3d_View)&aview)
Standard_Integer | DetectedIndex ()
| returns 0 if the detected entity was Not FilterOK...
Standard_EXPORT void | Hilight (const Handle(SelectMgr_EntityOwner)&Own, const Handle(V3d_View)&aview)
Standard_EXPORT void | Unhilight (const Handle(SelectMgr_EntityOwner)&Ownr, const Handle(V3d_View)&aview)
Standard_EXPORT void | ClearObjects ()
Standard_EXPORT void | ClearDetected ()
Standard_EXPORT Standard_Boolean | IsDecompositionOn () const
Standard_EXPORT Standard_Boolean | IsShape (const Standard_Integer anIndex) const
Standard_EXPORT Standard_Boolean | IsValidForSelection (const Handle(AIS_InteractiveObject)&anIObj) const
Standard_Boolean | IsValidIndex (const Standard_Integer anIndex) const
Standard_EXPORT Standard_Boolean | ComesFromDecomposition (const Standard_Integer aPickedIndex) const
Standard_EXPORT Standard_Boolean | HasFilters (const TopAbs_ShapeEnum aType) const
Standard_EXPORT void | HilightTriangle (const Standard_Integer Rank, const Handle(V3d_View)&aViou)
Standard_EXPORT Handle_SelectMgr_EntityOwner | FindSelectedOwnerFromIO (const Handle(AIS_InteractiveObject)&anIObj) const
Standard_EXPORT Handle_SelectMgr_EntityOwner | FindSelectedOwnerFromShape (const TopoDS_Shape &aShape) const

## Private Attributes

Handle_AIS_InteractiveContext | myCTX
Standard_Boolean | myLoadDisplayed
Standard_Boolean | myAcceptStdMode
Standard_Boolean | myAcceptErase
Handle_SelectMgr_SelectionManager | mySM
Handle_StdSelect_ViewerSelector3d | myMainVS
Handle_PrsMgr_PresentationManager3d | myMainPM
TCollection_AsciiString | mySelName
Handle_StdSelect_ViewerSelector3d | myCollVS
AIS_DataMapOfSelStat | myActiveObjects
Handle_SelectMgr_OrFilter | myFilters
TColStd_ListOfInteger | myListOfStandardMode
Handle_SelectMgr_Filter | myStdFilters [9]
Standard_Boolean | myAutoHilight
SelectMgr_IndexedMapOfOwner | myMapOfOwner
Standard_Integer | mylastindex
Standard_Integer | mylastgood
Standard_Integer | myCurrentOwner
TColStd_SequenceOfInteger | myDetectedSeq
Standard_Integer | myCurDetected
AIS_SequenceOfInteractive | myAISDetectedSeq
Standard_Integer | myAISCurDetected

## Friends

Standard_EXPORT Standard_Boolean | AIS_InteractiveContext::KeepTemporary (const Handle(AIS_InteractiveObject)&anIObj, const Standard_Integer InWhichLocal)
| Changes the status of a temporary object. It will be kept at the neutral point, i.e. put in the list of displayed objects along withwith its temporary attributes. These include display mode and selection mode, for example. Returns true if done. inWhichLocal gives the local context in which anIObj is displayed. By default, the index -1 refers to the last Local Context opened. .

## Constructor & Destructor Documentation

Standard_EXPORT AIS_LocalContext::AIS_LocalContext | ( |  | ) |

Standard_EXPORT AIS_LocalContext::AIS_LocalContext | ( | const Handle(AIS_InteractiveContext)& | aCtx,
|  | const Standard_Integer | anIndex,
|  | const Standard_Boolean | LoadDisplayed = `Standard_True`,
|  | const Standard_Boolean | AcceptStandardModes = `Standard_True`,
|  | const Standard_Boolean | AcceptErase = `Standard_False`,
|  | const Standard_Boolean | UseBothViewers = `Standard_False`
| ) |

## Member Function Documentation

Standard_Boolean AIS_LocalContext::AcceptErase | ( |  | ) | const`[inline]`

void AIS_LocalContext::AcceptErase | ( | const Standard_Boolean | aStatus | ) | `[inline]`

Standard_EXPORT void AIS_LocalContext::ActivateMode | ( | const Handle(AIS_InteractiveObject)& | aSelectable,
|  | const Standard_Integer | aMode
| ) |

Standard_EXPORT void AIS_LocalContext::ActivateStandardMode | ( | const TopAbs_ShapeEnum | aType | ) |

Standard_EXPORT void AIS_LocalContext::ActivateStandardModes | ( | const Handle(SelectMgr_SelectableObject)& | anObject,
|  | const Standard_Boolean | WithProj = `Standard_True`
| ) | `[private]`

Standard_EXPORT void AIS_LocalContext::AddFilter | ( | const Handle(SelectMgr_Filter)& | aFilter | ) |

Standard_EXPORT void AIS_LocalContext::AddOrRemoveSelected | ( | const Handle(SelectMgr_EntityOwner)& | Ownr,
|  | const Standard_Boolean | updateviewer = `Standard_True`
| ) |

Standard_EXPORT void AIS_LocalContext::AddOrRemoveSelected | ( | const TopoDS_Shape & | aShape,
|  | const Standard_Boolean | updateviewer = `Standard_True`
| ) |

Standard_EXPORT void AIS_LocalContext::AddOrRemoveSelected | ( | const Handle(AIS_InteractiveObject)& | anobj,
|  | const Standard_Boolean | updateviewer = `Standard_True`
| ) |

Standard_Boolean AIS_LocalContext::AutomaticHilight | ( |  | ) | const`[inline]`

Standard_EXPORT Standard_Boolean AIS_LocalContext::BeginImmediateDraw | ( |  | ) |

Standard_EXPORT void AIS_LocalContext::Clear | ( | const AIS_ClearMode | atype = `AIS_CM_All` | ) |

Standard_EXPORT void AIS_LocalContext::ClearAreas | ( | const Handle(V3d_View)& | aView | ) |

Standard_EXPORT void AIS_LocalContext::ClearDetected | ( |  | ) | `[private]`

Standard_EXPORT void AIS_LocalContext::ClearObjects | ( |  | ) | `[private]`

Standard_EXPORT Standard_Boolean AIS_LocalContext::ClearPrs | ( | const Handle(AIS_InteractiveObject)& | anInteractive,
|  | const Standard_Integer | aMode
| ) |

Standard_EXPORT void AIS_LocalContext::ClearSelected | ( | const Standard_Boolean | updateviewer = `Standard_True` | ) |

Standard_EXPORT void AIS_LocalContext::ClearSensitive | ( | const Handle(V3d_View)& | aView | ) |

Standard_EXPORT Standard_Boolean AIS_LocalContext::ComesFromDecomposition | ( | const Standard_Integer | aPickedIndex | ) | const`[private]`

Standard_EXPORT void AIS_LocalContext::Deactivate | ( | const Handle(AIS_InteractiveObject)& | aSelectable | ) |

Standard_EXPORT void AIS_LocalContext::DeactivateMode | ( | const Handle(AIS_InteractiveObject)& | aSelectable,
|  | const Standard_Integer | aMode
| ) |

Standard_EXPORT void AIS_LocalContext::DeactivateStandardMode | ( | const TopAbs_ShapeEnum | aType | ) |

Standard_EXPORT Handle_AIS_InteractiveObject AIS_LocalContext::DetectedCurrentObject | ( |  | ) | const

Standard_EXPORT const TopoDS_Shape& AIS_LocalContext::DetectedCurrentShape | ( |  | ) | const

Standard_Integer AIS_LocalContext::DetectedIndex | ( |  | ) | `[inline, private]`

Standard_EXPORT Handle_AIS_InteractiveObject AIS_LocalContext::DetectedInteractive | ( |  | ) | const

Standard_EXPORT Handle_SelectMgr_EntityOwner AIS_LocalContext::DetectedOwner | ( |  | ) | const

Standard_EXPORT const TopoDS_Shape& AIS_LocalContext::DetectedShape | ( |  | ) | const

Standard_EXPORT Standard_Boolean AIS_LocalContext::Display | ( | const Handle(AIS_InteractiveObject)& | anInteractive,
|  | const Standard_Integer | DisplayMode = `0`,
|  | const Standard_Boolean | AllowShapeDecomposition = `Standard_True`,
|  | const Standard_Integer | ActivationMode = `0`
| ) |

Standard_EXPORT void AIS_LocalContext::DisplayAreas | ( | const Handle(V3d_View)& | aviou | ) |

Standard_EXPORT Standard_Integer AIS_LocalContext::DisplayedObjects | ( | TColStd_MapOfTransient & | theMapToFill | ) | const

Standard_EXPORT void AIS_LocalContext::DisplaySensitive | ( | const Handle(V3d_View)& | aView | ) |

Standard_EXPORT Standard_Boolean AIS_LocalContext::EndImmediateDraw | ( | const Handle(V3d_View)& | aView,
|  | const Standard_Boolean | DoubleBuf = `Standard_False`
| ) |

Standard_EXPORT Standard_Boolean AIS_LocalContext::Erase | ( | const Handle(AIS_InteractiveObject)& | anInteractive | ) |

const Handle_SelectMgr_OrFilter& AIS_LocalContext::Filter | ( |  | ) | const

Standard_EXPORT Handle_SelectMgr_EntityOwner AIS_LocalContext::FindSelectedOwnerFromIO | ( | const Handle(AIS_InteractiveObject)& | anIObj | ) | const`[private]`

Standard_EXPORT Handle_SelectMgr_EntityOwner AIS_LocalContext::FindSelectedOwnerFromShape | ( | const TopoDS_Shape & | aShape | ) | const`[private]`

Standard_EXPORT const AIS_LocalContext::Handle | ( | Standard_Type |  | ) | const

Standard_EXPORT Standard_Boolean AIS_LocalContext::HasApplicative | ( |  | ) | const

Standard_Boolean AIS_LocalContext::HasDetected | ( |  | ) | const`[inline]`

Standard_EXPORT Standard_Boolean AIS_LocalContext::HasDetectedShape | ( |  | ) | const

Standard_EXPORT Standard_Boolean AIS_LocalContext::HasFilters | ( | const TopAbs_ShapeEnum | aType | ) | const`[private]`

Standard_Boolean AIS_LocalContext::HasNextDetected | ( |  | ) | const`[inline]`

Standard_EXPORT Standard_Boolean AIS_LocalContext::HasSameProjector | ( | const Select3D_Projector & | aPrj | ) | const

Standard_EXPORT Standard_Boolean AIS_LocalContext::HasShape | ( |  | ) | const

Standard_EXPORT void AIS_LocalContext::Hilight | ( | const Handle(SelectMgr_EntityOwner)& | Own,
|  | const Handle(V3d_View)& | aview
| ) | `[private]`

Standard_EXPORT void AIS_LocalContext::Hilight | ( | const Handle(AIS_InteractiveObject)& | anObject,
|  | const Quantity_NameOfColor | aCol
| ) |

Standard_EXPORT void AIS_LocalContext::Hilight | ( | const Handle(AIS_InteractiveObject)& | anObject | ) |

Standard_EXPORT Standard_Integer AIS_LocalContext::HilightNextDetected | ( | const Handle(V3d_View)& | aView | ) |

Standard_EXPORT void AIS_LocalContext::HilightPicked | ( | const Standard_Boolean | updateviewer = `Standard_True` | ) |

Standard_EXPORT Standard_Integer AIS_LocalContext::HilightPreviousDetected | ( | const Handle(V3d_View)& | aView | ) |

Standard_EXPORT void AIS_LocalContext::HilightTriangle | ( | const Standard_Integer | Rank,
|  | const Handle(V3d_View)& | aViou
| ) | `[private]`

Standard_EXPORT Standard_Boolean AIS_LocalContext::ImmediateAdd | ( | const Handle(AIS_InteractiveObject)& | anIObj,
|  | const Standard_Integer | aMode = `0`
| ) |

Standard_EXPORT Standard_Boolean AIS_LocalContext::ImmediateRemove | ( | const Handle(AIS_InteractiveObject)& | anIObj,
|  | const Standard_Integer | aMode = `0`
| ) |

Standard_EXPORT void AIS_LocalContext::InitDetected | ( |  | ) |

Standard_EXPORT void AIS_LocalContext::InitSelected | ( |  | ) |

Standard_EXPORT Standard_Boolean AIS_LocalContext::IsDecompositionOn | ( |  | ) | const`[private]`

Standard_EXPORT Standard_Boolean AIS_LocalContext::IsDisplayed | ( | const Handle(AIS_InteractiveObject)& | anObject,
|  | const Standard_Integer | aMode
| ) | const

Standard_EXPORT Standard_Boolean AIS_LocalContext::IsDisplayed | ( | const Handle(AIS_InteractiveObject)& | anObject | ) | const

Standard_EXPORT Standard_Boolean AIS_LocalContext::IsHilighted | ( | const Handle(AIS_InteractiveObject)& | anObject,
|  | Standard_Boolean & | WithColor,
|  | Quantity_NameOfColor & | HiCol
| ) | const

Standard_EXPORT Standard_Boolean AIS_LocalContext::IsHilighted | ( | const Handle(AIS_InteractiveObject)& | anObject | ) | const

Standard_EXPORT Standard_Boolean AIS_LocalContext::IsImmediateModeOn | ( |  | ) | const

Standard_EXPORT Standard_Boolean AIS_LocalContext::IsIn | ( | const Handle(AIS_InteractiveObject)& | anObject | ) | const

Standard_EXPORT Standard_Boolean AIS_LocalContext::IsSelected | ( | const Handle(SelectMgr_EntityOwner)& | anOwner | ) | const

Standard_EXPORT Standard_Boolean AIS_LocalContext::IsSelected | ( | const Handle(AIS_InteractiveObject)& | aniobj | ) | const

Standard_EXPORT Standard_Boolean AIS_LocalContext::IsShape | ( | const Standard_Integer | anIndex | ) | const`[private]`

Standard_EXPORT Standard_Boolean AIS_LocalContext::IsValidForSelection | ( | const Handle(AIS_InteractiveObject)& | anIObj | ) | const`[private]`

Standard_Boolean AIS_LocalContext::IsValidIndex | ( | const Standard_Integer | anIndex | ) | const`[inline, private]`

const SelectMgr_ListOfFilter & AIS_LocalContext::ListOfFilter | ( |  | ) | const`[inline]`

Standard_EXPORT Standard_Boolean AIS_LocalContext::Load | ( | const Handle(AIS_InteractiveObject)& | anInteractive,
|  | const Standard_Boolean | AllowShapeDecomposition = `Standard_True`,
|  | const Standard_Integer | ActivationMode = `0`
| ) |

Standard_EXPORT void AIS_LocalContext::LoadContextObjects | ( |  | ) |

const Handle_StdSelect_ViewerSelector3d& AIS_LocalContext::MainSelector | ( |  | ) | const

Standard_EXPORT void AIS_LocalContext::ManageDetected | ( | const Handle(SelectMgr_EntityOwner)& | aPickOwner,
|  | const Handle(V3d_View)& | aview
| ) | `[private]`

Standard_EXPORT Standard_Boolean AIS_LocalContext::MoreDetected | ( |  | ) | const

Standard_EXPORT Standard_Boolean AIS_LocalContext::MoreSelected | ( |  | ) | const

Standard_EXPORT AIS_StatusOfDetection AIS_LocalContext::MoveTo | ( | const Standard_Integer | Xpix,
|  | const Standard_Integer | Ypix,
|  | const Handle(V3d_View)& | aview
| ) |

Standard_EXPORT void AIS_LocalContext::NextDetected | ( |  | ) |

Standard_EXPORT void AIS_LocalContext::NextSelected | ( |  | ) |

Standard_EXPORT void AIS_LocalContext::Process | ( | const Standard_Boolean | WithProj = `Standard_True` | ) | `[private]`

Standard_EXPORT void AIS_LocalContext::Process | ( | const Handle(SelectMgr_SelectableObject)& | anObject,
|  | const Standard_Boolean | WithProj = `Standard_True`
| ) | `[private]`

Standard_EXPORT void AIS_LocalContext::Reactivate | ( |  | ) |

Standard_EXPORT Standard_Boolean AIS_LocalContext::Remove | ( | const Handle(AIS_InteractiveObject)& | aSelectable | ) |

Standard_EXPORT void AIS_LocalContext::RemoveFilter | ( | const Handle(SelectMgr_Filter)& | aFilter | ) |

Standard_EXPORT AIS_StatusOfPick AIS_LocalContext::Select | ( | const TColgp_Array1OfPnt2d & | Polyline,
|  | const Handle(V3d_View)& | aView,
|  | const Standard_Boolean | updateviewer = `Standard_True`
| ) |

Standard_EXPORT AIS_StatusOfPick AIS_LocalContext::Select | ( | const Standard_Integer | XPMin,
|  | const Standard_Integer | YPMin,
|  | const Standard_Integer | XPMax,
|  | const Standard_Integer | YPMax,
|  | const Handle(V3d_View)& | aView,
|  | const Standard_Boolean | updateviewer = `Standard_True`
| ) |

Standard_EXPORT AIS_StatusOfPick AIS_LocalContext::Select | ( | const Standard_Boolean | updateviewer = `Standard_True` | ) |

Standard_EXPORT const Handle_Standard_Transient& AIS_LocalContext::SelectedApplicative | ( |  | ) | const

Standard_EXPORT Handle_AIS_InteractiveObject AIS_LocalContext::SelectedInteractive | ( |  | ) | const

Standard_EXPORT Handle_SelectMgr_EntityOwner AIS_LocalContext::SelectedOwner | ( |  | ) | const

Standard_EXPORT const TopoDS_Shape& AIS_LocalContext::SelectedShape | ( |  | ) | const

Standard_EXPORT const TColStd_ListOfInteger& AIS_LocalContext::SelectionModes | ( | const Handle(AIS_InteractiveObject)& | anObject | ) | const

const TCollection_AsciiString & AIS_LocalContext::SelectionName | ( |  | ) | const`[inline]`

void AIS_LocalContext::SetAutomaticHilight | ( | const Standard_Boolean | aStatus | ) | `[inline]`

Standard_EXPORT void AIS_LocalContext::SetContext | ( | const Handle(AIS_InteractiveContext)& | aCtx | ) |

Standard_EXPORT void AIS_LocalContext::SetDisplayPriority | ( | const Handle(AIS_InteractiveObject)& | anObject,
|  | const Standard_Integer | Prior
| ) |

Standard_EXPORT void AIS_LocalContext::SetSelected | ( | const Handle(AIS_InteractiveObject)& | anobj,
|  | const Standard_Boolean | updateviewer = `Standard_True`
| ) |

Standard_EXPORT void AIS_LocalContext::SetSensitivity | ( | const Standard_Integer | aPrecision = `2` | ) |

Standard_EXPORT void AIS_LocalContext::SetSensitivity | ( | const Standard_Real | aPrecision | ) |

Standard_EXPORT void AIS_LocalContext::SetShapeDecomposition | ( | const Handle(AIS_InteractiveObject)& | aStoredObject,
|  | const Standard_Boolean | aStatus
| ) |

Standard_EXPORT AIS_StatusOfPick AIS_LocalContext::ShiftSelect | ( | const TColgp_Array1OfPnt2d & | Polyline,
|  | const Handle(V3d_View)& | aView,
|  | const Standard_Boolean | updateviewer = `Standard_True`
| ) |

Standard_EXPORT AIS_StatusOfPick AIS_LocalContext::ShiftSelect | ( | const Standard_Integer | XPMin,
|  | const Standard_Integer | YPMin,
|  | const Standard_Integer | XPMax,
|  | const Standard_Integer | YPMax,
|  | const Handle(V3d_View)& | aView,
|  | const Standard_Boolean | updateviewer = `Standard_True`
| ) |

Standard_EXPORT AIS_StatusOfPick AIS_LocalContext::ShiftSelect | ( | const Standard_Boolean | updateviewer = `Standard_True` | ) |

const TColStd_ListOfInteger & AIS_LocalContext::StandardModes | ( |  | ) | const`[inline]`

Standard_EXPORT const Handle_AIS_LocalStatus& AIS_LocalContext::Status | ( | const Handle(AIS_InteractiveObject)& | anObject | ) | const`[private]`

Standard_EXPORT TCollection_AsciiString AIS_LocalContext::Status | ( |  | ) | const`[private]`

Standard_EXPORT void AIS_LocalContext::SubIntensityOff | ( | const Handle(AIS_InteractiveObject)& | anObject | ) |

Standard_EXPORT void AIS_LocalContext::SubIntensityOn | ( | const Handle(AIS_InteractiveObject)& | anObject | ) |

Standard_EXPORT void AIS_LocalContext::Terminate | ( | const Standard_Boolean | updateviewer = `Standard_True` | ) |

Standard_EXPORT void AIS_LocalContext::Unhilight | ( | const Handle(SelectMgr_EntityOwner)& | Ownr,
|  | const Handle(V3d_View)& | aview
| ) | `[private]`

Standard_EXPORT void AIS_LocalContext::Unhilight | ( | const Handle(AIS_InteractiveObject)& | anObject | ) |

Standard_EXPORT Standard_Boolean AIS_LocalContext::UnhilightLastDetected | ( | const Handle(V3d_View)& | aView | ) |

Standard_EXPORT void AIS_LocalContext::UnhilightPicked | ( | const Standard_Boolean | updateviewer = `Standard_True` | ) |

Standard_EXPORT void AIS_LocalContext::UnloadContextObjects | ( |  | ) |

Standard_EXPORT void AIS_LocalContext::UpdateConversion | ( |  | ) |

Standard_EXPORT void AIS_LocalContext::UpdateSelected | ( | const Handle(AIS_InteractiveObject)& | anobj,
|  | const Standard_Boolean | updateviewer = `Standard_True`
| ) |

Standard_EXPORT void AIS_LocalContext::UpdateSelected | ( | const Standard_Boolean | updateviewer = `Standard_True` | ) |

Standard_EXPORT void AIS_LocalContext::UpdateSort | ( |  | ) |

## Friends And Related Function Documentation

Standard_EXPORT Standard_Boolean AIS_InteractiveContext::KeepTemporary | ( | const Handle(AIS_InteractiveObject)& | anIObj,
|  | const Standard_Integer | InWhichLocal
| ) | `[friend]`

## Field Documentation

Standard_Boolean AIS_LocalContext::myAcceptErase `[private]`

Standard_Boolean AIS_LocalContext::myAcceptStdMode `[private]`

AIS_DataMapOfSelStat AIS_LocalContext::myActiveObjects `[private]`

Standard_Integer AIS_LocalContext::myAISCurDetected `[private]`

AIS_SequenceOfInteractive AIS_LocalContext::myAISDetectedSeq `[private]`

Standard_Boolean AIS_LocalContext::myAutoHilight `[private]`

Handle_StdSelect_ViewerSelector3d AIS_LocalContext::myCollVS `[private]`

Handle_AIS_InteractiveContext AIS_LocalContext::myCTX `[private]`

Standard_Integer AIS_LocalContext::myCurDetected `[private]`

Standard_Integer AIS_LocalContext::myCurrentOwner `[private]`

TColStd_SequenceOfInteger AIS_LocalContext::myDetectedSeq `[private]`

Handle_SelectMgr_OrFilter AIS_LocalContext::myFilters `[private]`

Standard_Integer AIS_LocalContext::mylastgood `[private]`

Standard_Integer AIS_LocalContext::mylastindex `[private]`

TColStd_ListOfInteger AIS_LocalContext::myListOfStandardMode `[private]`

Standard_Boolean AIS_LocalContext::myLoadDisplayed `[private]`

Handle_PrsMgr_PresentationManager3d AIS_LocalContext::myMainPM `[private]`

Handle_StdSelect_ViewerSelector3d AIS_LocalContext::myMainVS `[private]`

SelectMgr_IndexedMapOfOwner AIS_LocalContext::myMapOfOwner `[private]`

TCollection_AsciiString AIS_LocalContext::mySelName `[private]`

Handle_SelectMgr_SelectionManager AIS_LocalContext::mySM `[private]`

Handle_SelectMgr_Filter AIS_LocalContext::myStdFilters[9]`[private]`

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

- AIS_LocalContext.hxx
- AIS_LocalContext.lxx