Logo Search packages:      
Sourcecode: opencascade version File versions  Download package

AIS_InteractiveContext Class Reference

#include <AIS_InteractiveContext.hxx>

Inheritance diagram for AIS_InteractiveContext:

MMgt_TShared Standard_Transient

List of all members.


Detailed Description

The Interactive Context allows you to manage
graphic behavior and selection of Interactive Objects
in one or more viewers. Class methods make this
highly transparent.
It is essential to remember that an Interactive Object
which is already known by the Interactive Context
must be modified using Context methods. You can
only directly call the methods available for an
Interactive Object if it has not been loaded into an
Interactive Context.
You must distinguish two states in the Interactive Context:

Definition at line 226 of file AIS_InteractiveContext.hxx.


Public Member Functions

Standard_EXPORT void Activate (const Handle(AIS_InteractiveObject)&anIobj, const Standard_Integer aMode=0)
Standard_EXPORT void ActivatedModes (const Handle(AIS_InteractiveObject)&anIobj, TColStd_ListOfInteger &theList) const
 Returns the list of activated selection modes in an open context.
.
Standard_EXPORT const
TColStd_ListOfInteger & 
ActivatedStandardModes () const
Standard_EXPORT void ActivateStandardMode (const TopAbs_ShapeEnum aStandardActivation)
Standard_EXPORT void AddFilter (const Handle(SelectMgr_Filter)&aFilter)
Standard_EXPORT void AddOrRemoveCurrentObject (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void AddOrRemoveSelected (const Handle(SelectMgr_EntityOwner)&anOwner, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void AddOrRemoveSelected (const TopoDS_Shape &aShape, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void AddOrRemoveSelected (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT AIS_InteractiveContext (const Handle(V3d_Viewer)&MainViewer, const Handle(V3d_Viewer)&Collector)
Standard_EXPORT AIS_InteractiveContext (const Handle(V3d_Viewer)&MainViewer)
Standard_EXPORT
Handle_Standard_Transient 
Applicative () const
Standard_EXPORT Standard_Boolean AutomaticHilight () const
Standard_EXPORT Standard_Boolean BeginImmediateDraw ()
Standard_EXPORT void Clear (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void ClearActiveAreas (const Handle(V3d_View)&aView)
Standard_EXPORT void ClearActiveSensitive (const Handle(V3d_View)&aView)
Standard_EXPORT void ClearCurrents (const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void ClearLocalContext (const AIS_ClearMode TheMode=AIS_CM_All)
Standard_EXPORT void ClearPrs (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Integer aMode=0, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void ClearSelected (const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void CloseAllContexts (const Standard_Boolean updateviewer=Standard_True)
void CloseCollector ()
Standard_EXPORT void CloseLocalContext (const Standard_Integer Index=-1, const Standard_Boolean updateviewer=Standard_True)
const Handle_V3d_Viewer & Collector () const
const
Handle_PrsMgr_PresentationManager3d & 
CollectorPrsMgr () const
const
Handle_StdSelect_ViewerSelector3d & 
CollectorSelector () const
Standard_EXPORT void Color (const Handle(AIS_InteractiveObject)&aniobj, Quantity_Color &acolor) const
 Returns the color Color of the entity aniobj in the interactive context.
.
Standard_EXPORT
Quantity_NameOfColor 
Color (const Handle(AIS_InteractiveObject)&aniobj) const
Standard_EXPORT
Handle_AIS_InteractiveObject 
Current () const
const TCollection_AsciiStringCurrentName () const
const Handle_V3d_Viewer & CurrentViewer () const
 Returns the current viewer.
.
Standard_EXPORT void Deactivate (const Handle(AIS_InteractiveObject)&anIobj, const Standard_Integer aMode)
Standard_EXPORT void Deactivate (const Handle(AIS_InteractiveObject)&anIObj)
Standard_EXPORT void DeactivateStandardMode (const TopAbs_ShapeEnum aStandardActivation)
Quantity_NameOfColor DefaultColor () const
const Handle_Prs3d_Drawer & DefaultDrawer () const
virtual Standard_EXPORT void Delete () const
 Memory deallocator for transient classes.
Standard_EXPORT
Handle_AIS_InteractiveObject 
DetectedCurrentObject () const
Standard_EXPORT const
TopoDS_Shape
DetectedCurrentShape () const
Standard_EXPORT
Handle_AIS_InteractiveObject 
DetectedInteractive () const
Standard_EXPORT
Handle_SelectMgr_EntityOwner 
DetectedOwner () const
 returns the owner of the detected sensitive primitive.

Standard_EXPORT const
TopoDS_Shape
DetectedShape () const
Standard_EXPORT Standard_Real DeviationAngle () const
Standard_EXPORT Standard_Real DeviationCoefficient () const
Standard_EXPORT void DisableDrawHiddenLine () const
Standard_EXPORT void Display (const Handle(AIS_InteractiveObject)&anIobj, const Standard_Integer amode, const Standard_Integer aSelectionMode, const Standard_Boolean updateviewer=Standard_True, const Standard_Boolean allowdecomposition=Standard_True)
Standard_EXPORT void Display (const Handle(AIS_InteractiveObject)&anIobj, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void DisplayActiveAreas (const Handle(AIS_InteractiveObject)&anObject, const Handle(V3d_View)&aView)
Standard_EXPORT void DisplayActiveAreas (const Handle(V3d_View)&aView)
Standard_EXPORT void DisplayActiveSensitive (const Handle(AIS_InteractiveObject)&anObject, const Handle(V3d_View)&aView)
Standard_EXPORT void DisplayActiveSensitive (const Handle(V3d_View)&aView)
Standard_EXPORT void DisplayAll (const Standard_Boolean OnlyFromCollector=Standard_True, const Standard_Boolean updateviewer=Standard_True)
 Displays all erased objects or display all objects from collector
.
Standard_EXPORT const
TColStd_ListOfInteger & 
DisplayedModes (const Handle(AIS_InteractiveObject)&aniobj) const
 Returns the list of active display modes for the entity aniobj.
.
Standard_EXPORT void DisplayedObjects (const AIS_KindOfInteractive WhichKind, const Standard_Integer WhichSignature, AIS_ListOfInteractive &aListOfIO, const Standard_Boolean OnlyFromNeutral=Standard_False) const
Standard_EXPORT void DisplayedObjects (AIS_ListOfInteractive &aListOfIO, const Standard_Boolean OnlyFromNeutral=Standard_False) const
Standard_EXPORT void DisplayFromCollector (const Handle(AIS_InteractiveObject)&anIObj, const Standard_Boolean updateviewer=Standard_True)
 display anIObj from the collector.

Standard_Integer DisplayMode () const
Standard_EXPORT Standard_Integer DisplayPriority (const Handle(AIS_InteractiveObject)&anIobj) const
Standard_EXPORT void DisplaySelected (const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT AIS_DisplayStatus DisplayStatus (const Handle(AIS_InteractiveObject)&anIobj) const
Standard_EXPORT Standard_CString DomainOfCollector () const
 Returns the domain name of the Collector viewer.
.
Standard_EXPORT Standard_CString DomainOfMainViewer () const
 Returns the domain name of the main viewer.
.
Standard_EXPORT void Drag (const Handle(V3d_View)&aView, const Handle(AIS_InteractiveObject)&anObject, const Handle(Geom_Transformation)&aTranformation, const Standard_Boolean postConcatenate=Standard_False, const Standard_Boolean update=Standard_False, const Standard_Boolean zBuffer=Standard_False)
Standard_EXPORT Standard_Boolean DrawHiddenLine () const
virtual Standard_EXPORT const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object.
virtual Standard_EXPORT const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object.
Standard_EXPORT void EnableDrawHiddenLine () const
Standard_EXPORT Standard_Boolean EndImmediateDraw (const Standard_Boolean DoubleBuf=Standard_False)
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 void EntityOwners (SelectMgr_IndexedMapOfOwner &theOwners, const Handle(AIS_InteractiveObject)&theIObj, const Standard_Integer theMode=-1) const
Standard_EXPORT void Erase (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Boolean updateviewer=Standard_True, const Standard_Boolean PutInCollector=Standard_True)
Standard_EXPORT void EraseAll (const Standard_Boolean PutInCollector=Standard_True, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void ErasedObjects (const AIS_KindOfInteractive WhichKind, const Standard_Integer WhichSignature, AIS_ListOfInteractive &theListOfIO) const
Standard_EXPORT void ErasedObjects (AIS_ListOfInteractive &theListOfIO) const
Standard_EXPORT void EraseMode (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Integer aMode, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void EraseSelected (const Standard_Boolean PutInCollector=Standard_True, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT const
SelectMgr_ListOfFilter & 
Filters () const
 Returns the list of filters active in a local context.
.
Standard_EXPORT
Handle_AIS_InteractiveObject 
FirstCurrentObject ()
Standard_EXPORT Standard_Boolean GetAutoActivateSelection () const
Standard_EXPORT Standard_Integer GetRefCount () const
 Get the reference counter of this object.
Standard_EXPORT Standard_Integer GetRefCount () const
 Get the reference counter of this object.
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const
Standard_EXPORT Standard_Boolean HasApplicative () const
Standard_EXPORT Standard_Boolean HasColor (const Handle(AIS_InteractiveObject)&aniobj) const
 Returns true if a view of the Interactive Object aniobj has color.
.
Standard_EXPORT Standard_Boolean HasDetected () const
Standard_EXPORT Standard_Boolean HasDetectedShape () const
virtual Standard_EXPORT
Standard_Integer 
HashCode (const Standard_Integer Upper) const
virtual Standard_EXPORT
Standard_Integer 
HashCode (const Standard_Integer Upper) const
Standard_EXPORT Standard_Boolean HasLocation (const Handle(AIS_InteractiveObject)&aniobj) const
 Returns true if the entity aniobj has a location.
.
Standard_EXPORT Standard_Boolean HasNextDetected () const
Standard_Boolean HasOpenedContext () const
 Returns true if there is an open context.
.
Standard_EXPORT Standard_Boolean HasPolygonOffsets (const Handle(AIS_InteractiveObject)&anObj) const
 simply calls anObj->HasPolygonOffsets()

Standard_EXPORT Standard_Boolean HasSelectedShape () const
Standard_EXPORT
Handle_Prs3d_LineAspect 
HiddenLineAspect () const
Standard_EXPORT Standard_Integer HighestIndex () const
Standard_EXPORT void Hilight (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Boolean updateviewer=Standard_True)
Quantity_NameOfColor HilightColor () const
Standard_EXPORT void HilightCurrents (const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT Standard_Integer HilightNextDetected (const Handle(V3d_View)&aView)
Standard_EXPORT Standard_Integer HilightPreviousDetected (const Handle(V3d_View)&aView)
 Same as previous methods in reverse direction...
.
Standard_EXPORT void HilightSelected (const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void HilightWithColor (const Handle(AIS_InteractiveObject)&aniobj, const Quantity_NameOfColor aCol, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT Standard_Real HLRAngle () const
Standard_EXPORT Standard_Real HLRDeviationCoefficient () const
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_Integer IndexOfCurrentLocal () const
 returns -1 if no opened local context.

Standard_EXPORT void InitCurrent ()
Standard_EXPORT void InitDetected ()
Standard_EXPORT void InitSelected ()
Standard_EXPORT
Handle_AIS_InteractiveObject 
Interactive () const
 Returns the location of the selected Interactive Object.
.
Standard_Boolean IsCollectorClosed () const
Standard_EXPORT Standard_Boolean IsCurrent (const Handle(AIS_InteractiveObject)&aniobj) const
Standard_EXPORT Standard_Boolean IsDisplayed (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Integer aMode) const
Standard_EXPORT Standard_Boolean IsDisplayed (const Handle(AIS_InteractiveObject)&anIobj) const
 Returns true if anIobj is displayed in the interactive context.
.
Standard_EXPORT Standard_Boolean IsHilighted (const Handle(AIS_InteractiveObject)&anIobj, Standard_Boolean &WithColor, Quantity_NameOfColor &theHiCol) const
Standard_EXPORT Standard_Boolean IsHilighted (const Handle(AIS_InteractiveObject)&aniobj) const
Standard_EXPORT Standard_Boolean IsImmediateModeOn () const
Standard_EXPORT Standard_Boolean IsInCollector (const Handle(AIS_InteractiveObject)&anIObj) const
 Returns true if the entity anIobj is in the Collector viewer.
.
Standard_EXPORT Standard_Boolean IsInLocal (const Handle(AIS_InteractiveObject)&anObject, Standard_Integer &TheIndex) const
Standard_EXPORT Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
Standard_EXPORT Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type.
Standard_EXPORT Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
Standard_EXPORT Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type.
Standard_EXPORT Standard_Boolean IsKind (const Standard_CString theTypeName) const
Standard_EXPORT Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
Standard_EXPORT Standard_Boolean IsKind (const Standard_CString theTypeName) const
Standard_EXPORT Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
Standard_EXPORT Standard_Integer IsoNumber (const AIS_TypeOfIso WhichIsos=AIS_TOI_Both)
 Returns the number of U and V isoparameters displayed.
.
Standard_EXPORT Standard_Boolean IsoOnPlane () const
 Returns True if drawing isoparameters on planes is enabled.
//! if <forUIsos> = False,
.
Standard_EXPORT void IsoOnPlane (const Standard_Boolean SwitchOn)
 Returns True if drawing isoparameters on planes is enabled.
.
Standard_EXPORT Standard_Boolean IsSelected (const Handle(AIS_InteractiveObject)&aniobj) const
Standard_EXPORT Standard_Boolean KeepTemporary (const Handle(AIS_InteractiveObject)&anIObj, const Standard_Integer InWhichLocal=-1)
Standard_EXPORT void Load (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Integer SelectionMode=-1, const Standard_Boolean AllowDecomp=Standard_False)
Standard_EXPORT
Handle_StdSelect_ViewerSelector3d 
LocalSelector () const
Standard_EXPORT const
TopLoc_Location
Location (const Handle(AIS_InteractiveObject)&aniobj) const
 Returns the location of the entity aniobj.
.
const
Handle_PrsMgr_PresentationManager3d & 
MainPrsMgr () const
const
Handle_StdSelect_ViewerSelector3d & 
MainSelector () const
Standard_EXPORT Standard_Boolean MoreCurrent () const
Standard_EXPORT Standard_Boolean MoreDetected () const
Standard_EXPORT Standard_Boolean MoreSelected () const
Standard_EXPORT
AIS_StatusOfDetection 
MoveTo (const Standard_Integer XPix, const Standard_Integer YPix, const Handle(V3d_View)&aView)
Standard_EXPORT Standard_Integer NbCurrents ()
Standard_EXPORT Standard_Integer NbSelected ()
Standard_EXPORT void NextCurrent ()
Standard_EXPORT void NextDetected ()
Standard_EXPORT void NextSelected ()
Standard_EXPORT void NotUseDisplayedObjects ()
Standard_EXPORT void ObjectsByDisplayStatus (const AIS_KindOfInteractive WhichKind, const Standard_Integer WhichSignature, const AIS_DisplayStatus theStatus, AIS_ListOfInteractive &theListOfIO) const
Standard_EXPORT void ObjectsByDisplayStatus (const AIS_DisplayStatus theStatus, AIS_ListOfInteractive &theListOfIO) const
Standard_EXPORT void ObjectsInCollector (const AIS_KindOfInteractive WhichKind, const Standard_Integer WhichSignature, AIS_ListOfInteractive &aListOfIO) const
Standard_EXPORT void ObjectsInCollector (AIS_ListOfInteractive &aListOfIO) const
Standard_EXPORT void ObjectsInside (AIS_ListOfInteractive &aListOfIO, const AIS_KindOfInteractive WhichKind=AIS_KOI_None, const Standard_Integer WhichSignature=-1) const
Standard_EXPORT void OpenCollector ()
Standard_EXPORT Standard_Integer OpenLocalContext (const Standard_Boolean UseDisplayedObjects=Standard_True, const Standard_Boolean AllowShapeDecomposition=Standard_True, const Standard_Boolean AcceptEraseOfObjects=Standard_False, const Standard_Boolean BothViewers=Standard_False)
void operator delete (void *anAddress)
 Operator delete symmetric to operator new.
void operator delete (void *anAddress)
 Operator delete symmetric to operator new.
void * operator new (size_t size)
 Operator new for memory allocation uses Open CASCADE memory manager.
void * operator new (size_t, void *anAddress)
 Operator new for placement in pre-allocated memory.
void * operator new (size_t size)
 Operator new for memory allocation uses Open CASCADE memory manager.
void * operator new (size_t, void *anAddress)
 Operator new for placement in pre-allocated memory.
Standard_EXPORT Standard_Boolean PlaneSize (Standard_Real &XSize, Standard_Real &YSize) const
Standard_EXPORT void PolygonOffsets (const Handle(AIS_InteractiveObject)&anObj, Standard_Integer &aMode, Standard_Real &aFactor, Standard_Real &aUnits) const
 Retrieves current polygon offsets settings for <anObj>.
.
Quantity_NameOfColor PreSelectionColor () const
Standard_EXPORT Standard_Integer PurgeDisplay (const Standard_Boolean CollectorToo=Standard_False)
Standard_EXPORT void RecomputePrsOnly (const Handle(AIS_InteractiveObject)&anIobj, const Standard_Boolean updateviewer=Standard_True, const Standard_Boolean allmodes=Standard_False)
Standard_EXPORT void RecomputeSelectionOnly (const Handle(AIS_InteractiveObject)&anIObj)
Standard_EXPORT void Redisplay (const AIS_KindOfInteractive aTypeOfObject, const Standard_Integer Signature=-1, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void Redisplay (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Boolean updateviewer=Standard_True, const Standard_Boolean allmodes=Standard_False)
Standard_EXPORT void Remove (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void RemoveAll (const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void RemoveFilter (const Handle(SelectMgr_Filter)&aFilter)
Standard_EXPORT void RemoveFilters ()
Standard_EXPORT void ResetLocation (const Handle(AIS_InteractiveObject)&aniobj)
 Puts the entity aniobj back into its initial position.
.
Standard_EXPORT void ResetOriginalState (const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT AIS_StatusOfPick Select (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)
 polyline selection; clears the previous picked list

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
Handle_AIS_InteractiveObject 
SelectedInteractive () const
Standard_EXPORT
Handle_SelectMgr_EntityOwner 
SelectedOwner () const
Standard_EXPORT TopoDS_Shape SelectedShape () const
void SelectionColor (const Quantity_NameOfColor aCol)
Quantity_NameOfColor SelectionColor () const
const
Handle_SelectMgr_SelectionManager & 
SelectionManager () const
Standard_EXPORT const
TCollection_AsciiString
SelectionName () const
Standard_EXPORT void SetAngleAndDeviation (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Real anAngle, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void SetAutoActivateSelection (const Standard_Boolean Auto)
Standard_EXPORT void SetAutomaticHilight (const Standard_Boolean aStatus)
Standard_EXPORT void SetColor (const Handle(AIS_InteractiveObject)&aniobj, const Quantity_Color &aColor, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void SetColor (const Handle(AIS_InteractiveObject)&aniobj, const Quantity_NameOfColor aColor, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void SetCurrentFacingModel (const Handle(AIS_InteractiveObject)&aniobj, const Aspect_TypeOfFacingModel aModel=Aspect_TOFM_BOTH_SIDE)
Standard_EXPORT void SetCurrentObject (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void SetDegenerateModel (const Aspect_TypeOfDegenerateModel aModel, const Quantity_Ratio aSkipRatio=0.0)
Standard_EXPORT void SetDegenerateModel (const Handle(AIS_InteractiveObject)&aniobj, const Aspect_TypeOfDegenerateModel aModel=Aspect_TDM_WIREFRAME, const Quantity_Ratio aRatio=0.0)
Standard_EXPORT void SetDeviationAngle (const Standard_Real anAngle)
 default 6degrees

Standard_EXPORT void SetDeviationAngle (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Real anAngle, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void SetDeviationCoefficient (const Standard_Real aCoefficient)
Standard_EXPORT void SetDeviationCoefficient (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Real aCoefficient, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void SetDisplayMode (const AIS_DisplayMode AMode, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void SetDisplayMode (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Integer aMode, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void SetDisplayPriority (const Handle(AIS_InteractiveObject)&anIobj, const Standard_Integer aPriority)
Standard_EXPORT void SetHiddenLineAspect (const Handle(Prs3d_LineAspect)&anAspect) const
void SetHilightColor (const Quantity_NameOfColor aHiCol)
Standard_EXPORT void SetHLRAngle (const Standard_Real anAngle)
 Sets the HLR angle anAngle.
.
Standard_EXPORT void SetHLRAngleAndDeviation (const Standard_Real anAngle)
Standard_EXPORT void SetHLRAngleAndDeviation (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Real anAngle, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void SetHLRDeviationAngle (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Real anAngle, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void SetHLRDeviationCoefficient (const Standard_Real aCoefficient)
Standard_EXPORT void SetHLRDeviationCoefficient (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Real aCoefficient, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void SetIsoNumber (const Standard_Integer NbIsos, const AIS_TypeOfIso WhichIsos=AIS_TOI_Both)
 Sets the number of U and V isoparameters displayed.
.
Standard_EXPORT void SetLocalAttributes (const Handle(AIS_InteractiveObject)&aniobj, const Handle(AIS_Drawer)&aDrawer, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void SetLocation (const Handle(AIS_InteractiveObject)&aniobj, const TopLoc_Location &aLocation)
Standard_EXPORT void SetMaterial (const Handle(AIS_InteractiveObject)&aniobj, const Graphic3d_NameOfMaterial aName, const Standard_Boolean updateviewer=Standard_True)
void SetOkCurrent ()
Standard_EXPORT void SetPlaneSize (const Standard_Real aSize, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void SetPlaneSize (const Standard_Real aSizeX, const Standard_Real aSizeY, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void SetPolygonOffsets (const Handle(AIS_InteractiveObject)&anObj, const Standard_Integer aMode, const Standard_Real aFactor=1.0, const Standard_Real aUnits=0.0, const Standard_Boolean updateviewer=Standard_True)
void SetPreselectionColor (const Quantity_NameOfColor aCol)
Standard_EXPORT void SetSelected (const Handle(AIS_InteractiveObject)&aniObj, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void SetSelectedAspect (const Handle(Prs3d_BasicAspect)&anAspect, const Standard_Boolean globalChange=Standard_True, const Standard_Boolean updateViewer=Standard_True)
Standard_EXPORT void SetSelectedCurrent ()
 puts the selected list in the current objects List.

Standard_EXPORT void SetSelectionMode (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Integer aMode)
Standard_EXPORT void SetSensitivity (const Standard_Integer aPrecision=4)
Standard_EXPORT void SetSensitivity (const Standard_Real aPrecision)
Standard_EXPORT void SetShapeDecomposition (const Handle(AIS_InteractiveObject)&anIobj, const Standard_Boolean aStatus)
void SetSubIntensityColor (const Quantity_NameOfColor aCol)
Standard_EXPORT void SetTemporaryAttributes (const Handle(AIS_InteractiveObject)&anObj, const Handle(Prs3d_Drawer)&aDrawer, const Standard_Boolean updateviewer=Standard_True)
void SetToHilightSelected (const Standard_Boolean toHilight)
Standard_EXPORT void SetTransparency (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Real aValue=0.6, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void SetTrihedronSize (const Standard_Real aSize, const Standard_Boolean updateviewer=Standard_True)
virtual Standard_EXPORT void SetWidth (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Real aValue, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void SetZDetection (const Standard_Boolean aStatus=Standard_False)
virtual Standard_EXPORT void ShallowDump (Standard_OStream &) const
virtual Standard_EXPORT void ShallowDump (Standard_OStream &) const
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 ShiftSelect (const TColgp_Array1OfPnt2d &Polyline, const Handle(V3d_View)&aView, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT AIS_StatusOfPick ShiftSelect (const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void Status (const Handle(AIS_InteractiveObject)&anObj, TCollection_ExtendedString &astatus) const
Quantity_NameOfColor SubIntensityColor () const
Standard_EXPORT void SubIntensityOff (const Standard_Boolean updateviewer=Standard_True)
 removes subintensity option for all objects.

Standard_EXPORT void SubIntensityOff (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void SubIntensityOn (const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void SubIntensityOn (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Boolean updateviewer=Standard_True)
virtual Standard_EXPORT
Handle_Standard_Transient 
This () const
virtual Standard_EXPORT
Handle_Standard_Transient 
This () const
Standard_Boolean ToHilightSelected () const
Standard_EXPORT Standard_Real TrihedronSize () const
 returns the current value of trihedron size.

Standard_EXPORT void Unhilight (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void UnhilightCurrents (const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void UnhilightSelected (const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void UnsetColor (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void UnsetDisplayMode (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void UnsetLocalAttributes (const Handle(AIS_InteractiveObject)&anObj, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void UnsetMaterial (const Handle(AIS_InteractiveObject)&anObj, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void UnsetSelectionMode (const Handle(AIS_InteractiveObject)&aniobj)
Standard_EXPORT void UnsetTransparency (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Boolean updateviewer=Standard_True)
virtual Standard_EXPORT void UnsetWidth (const Handle(AIS_InteractiveObject)&aniobj, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void Update (const Handle(AIS_InteractiveObject)&anIobj, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void UpdateCollector ()
 Updates the Collector viewer.
.
Standard_EXPORT void UpdateCurrent ()
Standard_EXPORT void UpdateCurrentViewer ()
Standard_EXPORT void UpdateSelected (const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void UseDisplayedObjects ()
Standard_Boolean WasCurrentTouched () const
virtual Standard_EXPORT
Standard_Real 
Width (const Handle(AIS_InteractiveObject)&aniobj) const
Standard_EXPORT Standard_Boolean ZDetection () const
 Retrieves the Z detection state.
.

Private Member Functions

Standard_EXPORT void ClearGlobal (const Handle(AIS_InteractiveObject)&anObj, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void ClearGlobalPrs (const Handle(AIS_InteractiveObject)&anObj, const Standard_Integer aMode, const Standard_Boolean updateviewer=Standard_True)
Standard_EXPORT void EraseGlobal (const Handle(AIS_InteractiveObject)&anObj, const Standard_Boolean updateviewer=Standard_True, const Standard_Boolean PutInCollector=Standard_True)
Standard_EXPORT void GetDefModes (const Handle(AIS_InteractiveObject)&anIobj, Standard_Integer &Dmode, Standard_Integer &HiMod, Standard_Integer &SelMode) const
Standard_EXPORT void InitAttributes ()
Standard_EXPORT Standard_Integer PurgeViewer (const Handle(V3d_Viewer)&Vwr)

Private Attributes

Handle_SelectMgr_SelectionManager mgrSelector
Standard_Integer myAISCurDetected
AIS_SequenceOfInteractive myAISDetectedSeq
Handle_PrsMgr_PresentationManager3d myCollectorPM
Handle_StdSelect_ViewerSelector3d myCollectorSel
Handle_V3d_Viewer myCollectorVwr
Standard_Integer myCurLocalIndex
TCollection_AsciiString myCurrentName
Standard_Boolean myCurrentTouched
Quantity_NameOfColor myDefaultColor
Handle_Prs3d_Drawer myDefaultDrawer
Standard_Integer myDisplayMode
Handle_SelectMgr_OrFilter myFilters
Quantity_NameOfColor myHilightColor
Standard_Boolean myIsAutoActivateSelMode
Standard_Boolean myIsCollClosed
Handle_AIS_InteractiveObject myLastinColl
Handle_AIS_InteractiveObject myLastinMain
Handle_V3d_View mylastmoveview
Handle_AIS_InteractiveObject myLastPicked
AIS_DataMapOfILC myLocalContexts
Handle_PrsMgr_PresentationManager3d myMainPM
Handle_StdSelect_ViewerSelector3d myMainSel
Handle_V3d_Viewer myMainVwr
AIS_DataMapOfIOStatus myObjects
Quantity_NameOfColor myPreselectionColor
Standard_Boolean mySelectedTouched
Quantity_NameOfColor mySelectionColor
TCollection_AsciiString mySelectionName
Quantity_NameOfColor mySubIntensity
Standard_Boolean myToHilightSelected
Standard_Boolean myWasLastMain
Standard_Boolean myZDetectionFlag

Friends

class AIS_LocalContext

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

Generated by  Doxygen 1.6.0   Back to index