37 #include <SALOMEconfig.h>
38 #include CORBA_SERVER_HEADER(SALOMEDS)
39 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
40 #include CORBA_SERVER_HEADER(GEOM_Gen)
58 static int GetIndex(
const TopoDS_Shape& subshape,
const TopoDS_Shape& shape );
59 static TopoDS_Shape GetShapeFromIOR(
const QString& IOR );
60 static bool GetShape( GEOM::GEOM_Object_ptr
object,
62 const TopAbs_ShapeEnum type = TopAbs_SHAPE );
63 static TopoDS_Shape GetTopoFromSelection(
const SALOME_ListIO& IObjects );
64 static int GetNameOfSelectedIObjects(
const SALOME_ListIO& IObjects,
66 const bool shapesOnly =
false );
67 static QString GetShapeTypeString(
const TopoDS_Shape& shape );
72 bool onlyInActiveView =
false );
76 bool onlyInActiveView =
false,
77 bool onlyGeom =
false );
78 static QStringList ConvertListOfIOInListOfIOR(
const SALOME_ListIO& IObjects );
81 ConvertIORinGEOMAISShape(
const QString& IOR,
82 bool onlyInActiveView =
false );
83 static GEOM_Actor* ConvertIORinGEOMActor(
const QString& IOR,
84 bool onlyInActiveView =
false );
86 static GEOM::GEOM_Object_ptr
89 static void ConvertListOfIOInListOfGO(
const SALOME_ListIO& IObjects,
91 bool shapesOnly =
false );
93 static GEOM::GEOM_Object_ptr
94 GetObjectFromIOR(
const QString& IOR );
96 static QString GetIORFromObject( GEOM::GEOM_Object_ptr
object );
99 static bool VertexToPoint(
const TopoDS_Shape& shape, gp_Pnt& point );
102 static bool LinearEdgeExtremities(
const TopoDS_Shape& shape,
103 gp_Pnt& point1, gp_Pnt& point2 );
104 static void GetBipointDxDyDz(
const gp_Pnt& point1,
const gp_Pnt& point2,
105 double& dx,
double& dy,
double& dz );
108 static TopoDS_Shape CreateArrowForLinearEdge(
const TopoDS_Shape& tds );
111 static bool SelectionByNameInDialogs(
QWidget* widget,
112 const QString& userObjectName,
113 const SALOME_ListIO& IObjects );
115 static void DefineDlgPosition(
QWidget* dlg,
int& x,
int& y );
118 static QString GetDefaultName(
const QString& operation,
bool extractPrefix =
false );
121 static void ShowErrorMessage(
const QString& errorCode,
const QString& comment = QString() );
124 static QString GetName( GEOM::GEOM_Object_ptr
object );
127 static bool IsShape( GEOM::GEOM_Object_ptr
object );
130 static QString TypeName( TopAbs_ShapeEnum type,
bool capitalize =
false );
133 static QString GetEntry( GEOM::GEOM_Object_ptr
object );
136 static void PublishSubObject( GEOM::GEOM_Object_ptr
object,
const QString& name = QString() );
138 static void Synchronize( QList<GEOM::GeomObjPtr>& left, QList<GEOM::GeomObjPtr>& right );
Handle(TColStd_HSequenceOfTransient) AdvancedEngine_IOperations
Create a T-shape object with specified caracteristics for the main and the incident pipes (radius,...
Definition: AdvancedEngine_IOperations.cxx:1907
#define GEOMBASE_EXPORT
Definition: GEOM_GEOMBase.hxx:36
Definition: GEOMBase.h:55
static Handle(GEOM_AISShape) ConvertIORinGEOMAISShape(const QString &IOR
static Handle(GEOM_AISShape) ConvertIOinGEOMAISShape(const Handle(SALOME_InteractiveObject) &IO
static Handle(AIS_InteractiveObject) GetAIS(const Handle(SALOME_InteractiveObject) &IO
....
Definition: GEOM_AISShape.hxx:44
This class allows to display an OpenCASCADE CAD model in a VTK viewer.
Definition: GEOM_Actor.h:60
sequence< GEOM_Object > ListOfGO
Definition: GEOM_Gen.idl:288