// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _AIS2D_InteractiveContext_HeaderFile #define _AIS2D_InteractiveContext_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_AIS2D_InteractiveContext_HeaderFile #include #endif #ifndef _Handle_V2d_Viewer_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _AIS2D_DataMapOfIOStatus_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Handle_AIS2D_InteractiveObject_HeaderFile #include #endif #ifndef _Handle_AIS2D_HSequenceOfIO_HeaderFile #include #endif #ifndef _AIS2D_TypeOfDetection_HeaderFile #include #endif #ifndef _Graphic2d_PickMode_HeaderFile #include #endif #ifndef _Quantity_NameOfColor_HeaderFile #include #endif #ifndef _AIS2D_DataMapOfLC_HeaderFile #include #endif #ifndef _Handle_V2d_View_HeaderFile #include #endif #ifndef _Handle_Aspect_GenericColorMap_HeaderFile #include #endif #ifndef _Handle_Aspect_TypeMap_HeaderFile #include #endif #ifndef _Handle_Aspect_WidthMap_HeaderFile #include #endif #ifndef _Handle_Aspect_MarkMap_HeaderFile #include #endif #ifndef _Handle_Aspect_FontMap_HeaderFile #include #endif #ifndef _MMgt_TShared_HeaderFile #include #endif #ifndef _AIS2D_StatusOfDetection_HeaderFile #include #endif #ifndef _Handle_Graphic2d_DisplayList_HeaderFile #include #endif #ifndef _AIS2D_StatusOfPick_HeaderFile #include #endif #ifndef _Handle_MMgt_TShared_HeaderFile #include #endif #ifndef _AIS2D_DisplayStatus_HeaderFile #include #endif #ifndef _AIS2D_PToListOfInt_HeaderFile #include #endif #ifndef _Aspect_TypeOfLine_HeaderFile #include #endif #ifndef _Aspect_WidthOfLine_HeaderFile #include #endif #ifndef _Aspect_TypeOfMarker_HeaderFile #include #endif #ifndef _Handle_Graphic2d_TransientManager_HeaderFile #include #endif #ifndef _Handle_Graphic2d_Primitive_HeaderFile #include #endif class V2d_Viewer; class AIS2D_InteractiveObject; class AIS2D_HSequenceOfIO; class V2d_View; class Aspect_GenericColorMap; class Aspect_TypeMap; class Aspect_WidthMap; class Aspect_MarkMap; class Aspect_FontMap; class AIS2D_LocalContext; class Graphic2d_DisplayList; class MMgt_TShared; class TCollection_ExtendedString; class AIS2D_ListOfIO; class Quantity_Color; class Aspect_FontStyle; class Graphic2d_TransientManager; class Graphic2d_Primitive; //! The InteractiveContext class allows you to manage
//! graphic behavior and selection of Interactive Objects
//! in one or more viewers.
class AIS2D_InteractiveContext : public MMgt_TShared { public: //! Initiates
Standard_EXPORT AIS2D_InteractiveContext(const Handle(V2d_Viewer)& MainViewer); //! Initiates the principal viewer and Collector(trash) viewer together
Standard_EXPORT AIS2D_InteractiveContext(const Handle(V2d_Viewer)& MainViewer,const Handle(V2d_Viewer)& aCollector); //! Display when no local context is opened.
//! if has no proper display mode, the defaut
//! display mode of the session is used
//! Same for the selection Mode (by default =0)
Standard_EXPORT void Display(const Handle(AIS2D_InteractiveObject)& anIObj,const Standard_Boolean UpdateVwr = Standard_True) ; //! Use only if a local context is opened. Displays the
//! the presentation of interactive object,
//! activates the selection mode if
//! = Standard_False, the object is
//! displayed but no viewer will be updated; CONVENTION :
//! = -1 means no activation for
//! : it will be displayed but not selectable. (Option
//! only available for local context...)
//! = true means that is
//! able to have subshapes detected by selection mechanisms.
//! 2 conditions: must be able to give a shape
//! selection modes fit the AIS2D_Shape
//! selection modes ( 1->vertex, 2->edges, 3->wires...)
Standard_EXPORT void Display(const Handle(AIS2D_InteractiveObject)& anIObj,const Standard_Integer aDispMode,const Standard_Integer aSelectMode,const Standard_Boolean UpdateVwr = Standard_True,const Standard_Boolean AllowDecomp = Standard_True) ; //! Available when opened local contexts only;
//! option to load in the selector objects which will
//! be selectable but not displayed. Nevertheless, they
//! will be hilighted when detected by the selector.
//! ex : be able to select center of a line without
//! displaying all centers before selection process
Standard_EXPORT void Load(const Handle(AIS2D_InteractiveObject)& anIObj,const Standard_Integer SelMode = -1,const Standard_Boolean AllowDecomp = Standard_False) ; //! Erases presentations in current local context,
//! or failing that, in other local contexts which allow erasing.
//! If is false, the object is erased but
//! not put in the Collector.
Standard_EXPORT void Erase(const Handle(AIS2D_InteractiveObject)& anIObj,const Standard_Boolean UpdateVwr = Standard_True,const Standard_Boolean PutInCollector = Standard_True) ; //! Selects an erase mode. Used only if more than one
//! mode is displayed in the main viewer. If aMode is
//! the Prs used by default, no erase mode is selected.
Standard_EXPORT void EraseMode(const Handle(AIS2D_InteractiveObject)& anIObj,const Standard_Integer aMode,const Standard_Boolean UpdateVwr = Standard_True) ; //! Every erased object goes into the Collector viewer
Standard_EXPORT void EraseAll(const Standard_Boolean PutInCollector = Standard_True,const Standard_Boolean updateVwr = Standard_True) ; //! Displays all erased objects, in other words,
//! all objects in the Collector viewer.
Standard_EXPORT void DisplayAll(const Standard_Boolean OnlyFromCollector = Standard_True,const Standard_Boolean updateVwr = Standard_True) ; //! Erases selected objects if a local context is open.
//! Erases current objects if there is no active local context.
//! If a local context is open and if equals
//! Standard_False, the presentation of the Interactive Object
//! activates the selection mode; the object is displayed but
//! no viewer will be updated.
Standard_EXPORT void EraseSelected(const Standard_Boolean PutInCollector = Standard_True,const Standard_Boolean updateVwr = Standard_True) ; //! Displays or erases selected objects if a local
//! context is open. If no active local context is found,
//! only current objects can be displayed or erased.
Standard_EXPORT void DisplaySelected(const Standard_Boolean updateVwr = Standard_True) ; //! Changes the status of a temporary object it will be --
//! kept at the neutral point, i.e. put in the list of
//! displayed objects, with its temporary attributes
//! (displaymode,selection mode) returns true if done --
//! inWhichLocal means that gives the local context in
//! which is displayed. By default, -1 means the
//! last opened one
Standard_EXPORT Standard_Boolean KeepTemporary(const Handle(AIS2D_InteractiveObject)& anIObj,const Standard_Integer InWhichLocal = -1) ; //! Forces Recompute of the seen presentations of the object;
//! if = True -> recomputes all the
//! presentations .
Standard_EXPORT void Redisplay(const Handle(AIS2D_InteractiveObject)& anIObj,const Standard_Boolean updateVwr = Standard_True,const Standard_Boolean allModes = Standard_False) ; //! Finds the current selected entity in Neutral Point.
Standard_EXPORT Standard_Boolean IsCurrent(const Handle(AIS2D_InteractiveObject)& anIObj) const; //! Confirms selection. Returns true if is selected in the interactive context
Standard_EXPORT Standard_Boolean IsSelected(const Handle(AIS2D_InteractiveObject)& anIObj) const; //! Updates the display in the viewer to take dynamic detection
//! into account.
//! If a local context is open and if equals Standard_False,
//! the presentation of the Interactive Object activates the selection
//! mode; the object is displayed but no viewer will be updated.
Standard_EXPORT void Highlight(const Handle(AIS2D_InteractiveObject)& anIObj,const Standard_Boolean updateVwr = Standard_True) ; //! Changes the color of the object in view .
//! It paints this object the color passed as the argument
//! If a local context is open and if equals Standard_False,
//! the presentation of the Interactive Object activates the selection
//! mode; the object is displayed but no viewer will be updated.
Standard_EXPORT void HighlightWithColor(const Handle(AIS2D_InteractiveObject)& anIObj,const Quantity_NameOfColor aCol,const Standard_Boolean updateVwr = Standard_True) ; //! Removes hilighting from the entity . Updates the viewer.
//! If a local context is open and if equals Standard_False,
//! the presentation of the Interactive Object activates the selection
//! mode; the object is displayed but no viewer will be updated.
Standard_EXPORT void Unhighlight(const Handle(AIS2D_InteractiveObject)& anIObj,const Standard_Boolean updateVwr = Standard_True) ; //! Sets the precision of detection
void SetPrecision(const Standard_Integer aPrec) ; //! Returns the precision of detection
Standard_Integer DetectPrecision() const; //! Places object to the pixel position (XPix, YPix)
//! in the view is using TransientManager.
//! It's possible to use without preliminary application of Display method.
Standard_EXPORT void Place(const Standard_Integer XPix,const Standard_Integer YPix,const Handle(V2d_View)& aView,const Handle(AIS2D_InteractiveObject)& anIO,const Standard_Boolean isTemporary = Standard_False) ; //! Places selected objects to the pixel position (XPix, YPix)
//! in the view . If is True, is used TransientManager.
Standard_EXPORT void Drag(const Standard_Integer XPix,const Standard_Integer YPix,const Handle(V2d_View)& aView,const Standard_Boolean isTemporary = Standard_True) ; //! Relays mouse position in pixels XPix and YPix to the
//! interactive context selectors. This is done by the view
//! passing this position to the main viewer and updating it.
//! Functions in both Neutral Point and local contexts.
Standard_EXPORT AIS2D_StatusOfDetection MoveTo(const Standard_Integer XPix,const Standard_Integer YPix,const Handle(V2d_View)& aView) ; //! Relays mouse position in circle and to the
//! interactive context selectors. This is done by the view
//! passing this position to the main viewer and updating it.
//! Functions in both Neutral Point and local contexts.
Standard_EXPORT AIS2D_StatusOfDetection MoveCircleTo(const Standard_Integer XPix,const Standard_Integer YPix,const Standard_Integer Radius,const Handle(V2d_View)& aView) ; //! Relays mouse position in rectangle Xmin, Ymin, Xmax, Ymax to the
//! interactive context selectors. This is done by the view
//! passing this position to the main viewer and updating it.
//! Functions in both Neutral Point and local contexts.
Standard_EXPORT AIS2D_StatusOfDetection MoveTo(const Standard_Integer Xmin,const Standard_Integer Ymin,const Standard_Integer Xmax,const Standard_Integer Ymax,const Handle(V2d_View)& aView) ; //! Stores and hilights the previous detected; Unhilights
//! the previous picked.
Standard_EXPORT AIS2D_StatusOfPick Select(const Standard_Boolean UpdateVwr = Standard_True) ; //! adds the last detected to the list of previous picked.
//! if the last detected was already declared as picked,
//! removes it from the Picked List.
Standard_EXPORT AIS2D_StatusOfPick ShiftSelect(const Standard_Boolean UpdateVwr = Standard_True) ; //! rectangle of selection ; adds new detected entities into the
//! picked list, removes the detected entities that were already stored...
Standard_EXPORT AIS2D_StatusOfPick ShiftSelect(const Standard_Integer XPMin,const Standard_Integer YPMin,const Standard_Integer XPMax,const Standard_Integer YPMax,const Handle(V2d_View)& aView,const Standard_Boolean UpdateVwr = Standard_True) ; //! Allows to set the color used to show highlighted entities,
//! that is, entities picked out by the mouse.
Standard_EXPORT void SetHighlightColor(const Quantity_NameOfColor aCol) ; //! Sets the color used to show selected entities
Standard_EXPORT void SetSelectionColor(const Quantity_NameOfColor aCol) ; //! Allows you to set the color used to show that an object
//! is not currently selected
Standard_EXPORT void SetSubIntensityColor(const Quantity_NameOfColor aCol) ; //! Returns the display mode setting
Standard_Integer DisplayMode() const; //! Returns the name of the color used to show highlighted entities,
//! that is, entities picked out by the mouse
Quantity_NameOfColor HighlightColor() const; //! Returns the name of the color used to show selected entities.
Quantity_NameOfColor SelectionColor() const; //! Returns the name of the color used to show
//! that an object is not currently selected.
Quantity_NameOfColor SubIntensityColor() const; //! Highlights, and removes highlights from, the displayed object
//! which is displayed at Neutral Point with subintensity
//! color; available only for active local context.
//! There is no effect if there is no local context.
Standard_EXPORT void SubIntensityOn(const Handle(AIS2D_InteractiveObject)& anIObj,const Standard_Boolean UpdateVwr = Standard_True) ; //! Removes the subintensity option for the entity .
Standard_EXPORT void SubIntensityOff(const Handle(AIS2D_InteractiveObject)& anIObj,const Standard_Boolean UpdateVwr = Standard_True) ; Standard_Boolean IsCollectorClosed() const; //! Allows to close Collector
void CloseCollector() ; //! Allows to open Collector
Standard_EXPORT void OpenCollector() ; //! Opens a local context of display and selection
//! returns the index of new opened local context.
//! Must be stored and used to close the local context.
Standard_EXPORT Standard_Integer OpenLocalContext(const Standard_Boolean UseDispObj = Standard_True,const Standard_Boolean AllowDecomposit = Standard_True,const Standard_Boolean AcceptEraseOfObj = Standard_False) ; //! close the current opened local context.
//! Use to be sure to close the local context you Opened !
//! if == -1 the current local context is closed
//! WITHOUT VERIFICATION.
//! if is greater than the current opened local context,
//! nothing is done.
Standard_EXPORT void CloseLocalContext(const Standard_Integer ind = -1,const Standard_Boolean updateVwr = Standard_True) ; //! returns -1 if no opened local context.
Standard_EXPORT Standard_Integer IndexOfCurrentLocal() const; //! Allows to close all local contexts at one go and return to
//! Neutral Point.
Standard_EXPORT void CloseAllContext(const Standard_Boolean updateVwr = Standard_True) ; //! Updates the view of the current object in open context.
//! Objects selected when there is no open local context
//! are called current objects; those selected in open local context,
//! selected objects.
Standard_EXPORT void SetCurrentObject(const Handle(AIS2D_InteractiveObject)& anIObj,const Standard_Boolean UpdateVwr = Standard_True) ; //! Allows to add a current object to the list of current objects
//! or remove it from that list.
//! Objects selected when there is no open local context are called
//! current objects; those selected in open local context,
//! selected objects.
Standard_EXPORT void AddOrRemoveCurObject(const Handle(AIS2D_InteractiveObject)& anIObj,const Standard_Boolean UpdateVwr = Standard_True) ; //! updates the list of current objects
//! i.e. hilights new current objects,
//! unhighlights old current objects
//!
Standard_EXPORT void UpdateCurrent() ; //! Returns the first current object in the list of current objects.
Standard_EXPORT void SetOkCurrent() ; //! Highlights current objects.
Standard_EXPORT void HighlightCurrent(const Standard_Boolean UpdateVwr = Standard_True) ; //! Unhighlights current objects.
Standard_EXPORT void UnhighlightCurrent(const Standard_Boolean UpdateVwr = Standard_True) ; //! Empties previous current objects in order to get the current
//! objects detected by the selector using UpdateCurrent.
Standard_EXPORT void ClearCurrent(const Standard_Boolean UpdateVwr = Standard_True) ; //! Puts the selected in the current objects list.
Standard_EXPORT void SetSelected(const Handle(AIS2D_InteractiveObject)& anIObj,const Standard_Boolean UpdateVwr = Standard_True) ; //! Puts the selected list in the current objects list.
Standard_EXPORT void SetSelectedCurrent() ; //! Updates the list of selected objects, i.e. hilights
//! new selected objects, removes hilighting from former
//! selected objects.
Standard_EXPORT void UpdateSelected(const Standard_Boolean UpdateVwr = Standard_True) ; //! Allows you to add a selected object to the list of selected
//! objects or remove it from that list.
Standard_EXPORT void AddOrRemoveSelected(const Handle(AIS2D_InteractiveObject)& anIObj,const Standard_Boolean UpdateVwr = Standard_True) ; //! Highlights selected objects.
Standard_EXPORT void HighlightSelected(const Standard_Boolean UpdateVwr = Standard_True) ; //! UnHighlights selected objects.
Standard_EXPORT void UnhighlightSelected(const Standard_Boolean UpdateVwr = Standard_True) ; //! Empties previous selected objects in order to get
//! the selected objects detected by the selector using UpdateSelected.
Standard_EXPORT void ClearSelected(const Standard_Boolean UpdateVwr = Standard_True) ; //! Returns number of objects selected in
//! local context ( if opened ) or in neutral context
Standard_EXPORT Standard_Integer NbSelected() const; //! Iteration
Standard_EXPORT void InitSelected() ; //! Iteration
Standard_EXPORT Standard_Boolean MoreSelected() const; //! Iteration
Standard_EXPORT void NextSelected() ; //! Returns current selected object ( see InitSelected() .. )
//! The object type depends on highlight mode
//! ( OBJECT, PRIMITIVE etc )
Standard_EXPORT Handle_MMgt_TShared SelectedObject() const; //! Returns the display status of the entity .
Standard_EXPORT AIS2D_DisplayStatus DisplayStatus(const Handle(AIS2D_InteractiveObject)& anIObj) const; //! Returns the list of active display modes for the entity
Standard_EXPORT AIS2D_PToListOfInt DisplayedModes(const Handle(AIS2D_InteractiveObject)& anIObj) const; //! Returns true if is displayed in the interactive context
Standard_EXPORT Standard_Boolean IsDisplayed(const Handle(AIS2D_InteractiveObject)& anIObj) const; //! Returns true if is displayed in the interactive context with display mode
Standard_EXPORT Standard_Boolean IsDisplayed(const Handle(AIS2D_InteractiveObject)& anIObj,const Standard_Integer aMode) const; //! Returns true if the Interactive Object
//! is highlighted in the interactive context.
Standard_EXPORT Standard_Boolean IsHighlighted(const Handle(AIS2D_InteractiveObject)& anIObj) const; //! if is highlighted with a specific color
//! will be returned TRUE
//! gives the name of the hilightcolor
Standard_EXPORT Standard_Boolean IsHighlighted(const Handle(AIS2D_InteractiveObject)& anIObj,Standard_Boolean& WithColor,Quantity_NameOfColor& theHiCol) const; //! Returns true if the entity is in the Collector viewer.
Standard_EXPORT Standard_Boolean IsInCollector(const Handle(AIS2D_InteractiveObject)& anIObj) const; //! Modified the status of the entity
Standard_EXPORT void Status(const Handle(AIS2D_InteractiveObject)& anIObj,TCollection_ExtendedString& aStatus) const; //! Updates the current viewer, the viewer in Neutral Point.
Standard_EXPORT void UpdateCurrentViewer() ; //! Updates the Collector viewer
Standard_EXPORT void UpdateCollector() ; //! Returns the current viewer.
Handle_V2d_Viewer CurrentViewer() const; //! Returns true if there is an open context.
Standard_Boolean HasOpenedContext() const; //! gives the list of displayed objects in the main viewer.
Standard_EXPORT void DisplayedObjects(AIS2D_ListOfIO& aListOfIO,const Standard_Boolean OnlyFromNeutral = Standard_False) const; //! Allows to provide settings for pick mode.
void SetPickMode(const Graphic2d_PickMode aMode) ; //! Returns the pick mode
Graphic2d_PickMode GetPickMode() const; Standard_EXPORT Standard_Integer HighestIndex() const; //! Initialize in the color map
Standard_EXPORT Standard_Integer InitializeColor(const Quantity_Color& aColor) ; //! Initialize in the type map
Standard_EXPORT Standard_Integer InitializeStyle(const Aspect_TypeOfLine aType) ; //! Initialize in the width map
Standard_EXPORT Standard_Integer InitializeWidth(const Aspect_WidthOfLine aWidth) ; //! Initialize in the mark map
Standard_EXPORT Standard_Integer InitializeMarker(const Aspect_TypeOfMarker aMark) ; //! Initialize in the font map
Standard_EXPORT Standard_Integer InitializeFont(const Aspect_FontStyle& aFont) ; //! to be used only with no opened
//! local context.. displays and activates objects in their
//! original state before local contexts were opened...
Standard_EXPORT void ResetOriginalState(const Standard_Boolean updateVwr = Standard_True) ; //! switches on immediate mode
Standard_EXPORT void BeginImmediateDraw(const Handle(V2d_View)& aView) ; //! draws object into immediate mode
Standard_EXPORT void ImmediateDraw(const Handle(AIS2D_InteractiveObject)& anIObj,const Handle(V2d_View)& aView) ; //! switches of immediate mode
Standard_EXPORT void EndImmediateDraw(const Handle(V2d_View)& aView) ; //! returns true if immediate mode is on
Standard_EXPORT Standard_Boolean IsImmediateModeOn(const Handle(V2d_View)& aView) const; Standard_EXPORT void SetDetectionMode(const AIS2D_TypeOfDetection mode) ; friend class AIS2D_LocalContext; DEFINE_STANDARD_RTTI(AIS2D_InteractiveContext) protected: Handle_Aspect_GenericColorMap myColorMap; Handle_Aspect_TypeMap myTypeMap; Handle_Aspect_WidthMap myWidthMap; Handle_Aspect_MarkMap myMarkMap; Handle_Aspect_FontMap myFontMap; private: Standard_EXPORT AIS2D_StatusOfDetection Detect(const Handle(Graphic2d_DisplayList)& dList,const Handle(V2d_View)& aView) ; //! Returns display, highlight and selection modes of the
Standard_EXPORT void GetDefModes(const Handle(AIS2D_InteractiveObject)& anIObj,Standard_Integer& Dmode,AIS2D_TypeOfDetection& HiMod,Standard_Integer& SelMode) const; Standard_EXPORT void EraseGlobal(const Handle(AIS2D_InteractiveObject)& anIObj,const Standard_Boolean UpdateVwr = Standard_True,const Standard_Boolean PutInCollector = Standard_True) ; Standard_EXPORT void DrawObject(const Handle(AIS2D_InteractiveObject)& anObj,const Standard_Integer aDispMode) ; Standard_EXPORT Standard_Boolean AvailableToDetect(const Handle(AIS2D_InteractiveObject)& anObj) const; Standard_EXPORT void DoDetectObject(const Handle(AIS2D_InteractiveObject)& anObj,const Handle(Graphic2d_TransientManager)& aDrawer) ; Standard_EXPORT Standard_Boolean IsIOPicked(const Handle(AIS2D_InteractiveObject)& anObj) const; Standard_EXPORT Standard_Boolean IsPrimPicked(const Handle(AIS2D_InteractiveObject)& anObj,const Handle(Graphic2d_Primitive)& aPrim) const; Standard_EXPORT Standard_Boolean IsElemPicked(const Handle(AIS2D_InteractiveObject)& anObj,const Handle(Graphic2d_Primitive)& aPrim,const Standard_Integer ind) const; Standard_EXPORT Standard_Boolean IsElemSelected(const Handle(AIS2D_InteractiveObject)& anObj,const Handle(Graphic2d_Primitive)& aPrim,const Standard_Integer ind) const; Standard_EXPORT Standard_Boolean IsIOSelected(const Handle(AIS2D_InteractiveObject)& anObj) const; Standard_EXPORT Standard_Boolean IsPrimSelected(const Handle(AIS2D_InteractiveObject)& anObj,const Handle(Graphic2d_Primitive)& aPrim) const; Handle_V2d_Viewer myMainVwr; Handle_V2d_Viewer myCollectorVwr; Standard_Boolean myIsCollClosed; AIS2D_DataMapOfIOStatus myObjects; Standard_Integer myDetectPrecision; Standard_Boolean myResetDetect; Handle_AIS2D_InteractiveObject myLastPicked; Handle_AIS2D_InteractiveObject myLastinMain; Handle_AIS2D_InteractiveObject myLastinColl; Handle_AIS2D_HSequenceOfIO mySeqOfDetIO; Handle_AIS2D_HSequenceOfIO mySeqOfSelIO; AIS2D_TypeOfDetection myCurDetectMode; Standard_Boolean myWasLastMain; Graphic2d_PickMode myPickMode; Quantity_NameOfColor myHighlightColor; Quantity_NameOfColor mySelectionColor; Quantity_NameOfColor mySubIntensity; Standard_Integer myDisplayMode; AIS2D_DataMapOfLC myLocalContexts; Standard_Integer myCurLocalIndex; Handle_V2d_View myLastMoveView; Standard_Integer myCurSelected; Standard_Integer myMaxSelected; }; #include // other Inline functions and methods (like "C++: function call" methods) #endif