Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
GEOMGUI_AnnotationMgr.cxx File Reference
#include "GEOMGUI_AnnotationMgr.h"
#include <GEOMGUI_AnnotationAttrs.h>
#include <GEOM_Annotation.hxx>
#include <GEOM_Client.hxx>
#include <GEOM_Constants.h>
#include <GEOM_Displayer.h>
#include <GEOMGUI_TextTreeWdg.h>
#include <GeometryGUI.h>
#include <SalomeApp_Application.h>
#include <SalomeApp_Study.h>
#include <SALOME_Prs.h>
#include <SUIT_ResourceMgr.h>
#include <SUIT_Session.h>
#include <SUIT_Desktop.h>
#include <SUIT_ViewWindow.h>
#include <SUIT_ViewManager.h>
#include <SOCC_Prs.h>
#include <SOCC_ViewWindow.h>
#include <Quantity_Color.hxx>
#include <TCollection_AsciiString.hxx>
#include <TopExp.hxx>
#include <TopoDS_Shape.hxx>
#include <TopTools_IndexedMapOfShape.hxx>
#include <gp_Ax3.hxx>
#include <AIS_ListIteratorOfListOfInteractive.hxx>
#include <QFont>
#include <QColor>

Functions

 if (!myVisualized.contains(aView)) return anIO
 
 if (!anEntryToAnnotation.contains(theEntry)) return anIO
 
 if (!anAnnotationToPrs.contains(theIndex)) return anIO
 
 if (!anOCCPrs) return anIO
 
anOCCPrs GetObjects (anIOs)
 
AIS_ListIteratorOfListOfInteractive anIter (anIOs)
 
 for (;anIter.More()&&anIO.IsNull();anIter.Next())
 
 Handle (GEOM_Annotation) GEOMGUI_AnnotationMgr
 

Variables

Handle(SALOME_InteractiveObject)
GEOMGUI_AnnotationMgr
SOCC_Viewer * 
aView = viewOrActiveView( theView )
 
EntryToAnnotations anEntryToAnnotation = myVisualized[aView]
 
AnnotationToPrs anAnnotationToPrs = anEntryToAnnotation[theEntry]
 
SALOME_Prs * aPrs = anAnnotationToPrs[theIndex]
 
SOCC_Prs * anOCCPrs = dynamic_cast<SOCC_Prs*>( aPrs )
 
AIS_ListOfInteractive anIOs
 
return anIO
 

Function Documentation

AIS_ListIteratorOfListOfInteractive anIter ( anIOs  )
for ( ;anIter.  More)&&anIO.IsNull();anIter.Next()

References anIter(), and Handle().

anOCCPrs GetObjects ( anIOs  )
Handle ( GEOM_Annotation  )

References aPrs, and Handle().

if ( !myVisualized.  containsaView)
if ( !anEntryToAnnotation.  containstheEntry)
if ( !anAnnotationToPrs.  containstheIndex)
if ( anOCCPrs)

Variable Documentation

AnnotationToPrs anAnnotationToPrs = anEntryToAnnotation[theEntry]
EntryToAnnotations anEntryToAnnotation = myVisualized[aView]
return anIO
AIS_ListOfInteractive anIOs
SOCC_Prs* anOCCPrs = dynamic_cast<SOCC_Prs*>( aPrs )
SALOME_Prs* aPrs = anAnnotationToPrs[theIndex]
Handle (SALOME_InteractiveObject) GEOMGUI_AnnotationMgr SOCC_Viewer* aView = viewOrActiveView( theView )