- void MakePointAndDisplay( const double x, const double y, const double z ) ;
- void MakeVectorAndDisplay( const gp_Pnt P1, const gp_Pnt P2 );
- void MakeBoxAndDisplay( const gp_Pnt P1, const gp_Pnt P2 ) ;
- void MakePlaneAndDisplay( const gp_Pnt P1, const Standard_Real dx,
- const Standard_Real dy, const Standard_Real dz, const Standard_Real TrimSize ) ;
- void MakeSphereAndDisplay( const gp_Pnt aCenterPoint, const double aRadius) ;
- void MakeCircleAndDisplay( const gp_Pnt CenterPoint, const gp_Dir dir, const Standard_Real Radius) ;
- void MakeArcAndDisplay( gp_Pnt InitPoint, gp_Pnt CirclePoint, gp_Pnt EndPoint ) ;
- void MakeLineAndDisplay( const gp_Pnt InitPoint, const gp_Pnt LastPoint) ;
- void MakeCylinderAndDisplay( const gp_Pnt BasePoint, const gp_Dir aDir,
- const double Radius, const double aHeight ) ;
- void MakeConeAndDisplay( const gp_Pnt BasePoint, const gp_Dir aDir,
- const double Radius1, const double Radius2, const double aHeight ) ;
- void MakeTorusAndDisplay( const gp_Pnt BasePoint, const gp_Dir aDir,
- const double Radius1, const double Radius2 ) ;
- void MakeBooleanAndDisplay( GEOM::GEOM_Shape_ptr Shape1, GEOM::GEOM_Shape_ptr Shape2,
- const short operation ) ;
- void MakeRevolutionAndDisplay( GEOM::GEOM_Shape_ptr Shape, const gp_Pnt loc,
- const gp_Dir dir, Standard_Real revolAngle ) ;
- void MakePrismAndDisplay( GEOM::GEOM_Shape_ptr BaseShape, const gp_Pnt P1, const gp_Pnt P2 ) ;
- void MakePipeAndDisplay( GEOM::GEOM_Shape_ptr aPath, GEOM::GEOM_Shape_ptr aBase ) ;
- void MakeFillingAndDisplay( GEOM::GEOM_Shape_ptr SectionShape, const short mindeg, const short maxdeg,
- const double tol3d, const double tol2d, const short nbiter ) ;
- void MakeRotationAndDisplay( GEOM::GEOM_Shape_ptr Shape, const gp_Pnt loc, const gp_Dir dir,
- const Standard_Real angle ) ;
- void MakeTranslationAndDisplay( GEOM::GEOM_Shape_ptr Shape, const gp_Vec V) ;
-
- void MakeMultiTranslation1DAndDisplay( GEOM::GEOM_Shape_ptr Shape, const gp_Dir Dir, const double Step, const short NbTimes ) ;
- void MakeMultiTranslation2DAndDisplay( GEOM::GEOM_Shape_ptr Shape, const gp_Dir Dir1, const double Step1, const short NbTimes1,
- const gp_Dir Dir2, const double Step2, const short NbTimes2 ) ;
- void MakeMultiRotation1DAndDisplay( GEOM::GEOM_Shape_ptr Shape, const gp_Dir Dir, const gp_Pnt Loc, const short NbTimes ) ;
- void MakeMultiRotation2DAndDisplay( GEOM::GEOM_Shape_ptr Shape, const gp_Dir Dir, const gp_Pnt Loc, const double Ang,
- const short NbTimes1, const double Step, const short NbTimes2 ) ;
- void MakeCDGAndDisplay( GEOM::GEOM_Shape_ptr Shape );
- void MakeScaleAndDisplay( GEOM::GEOM_Shape_ptr Shape, const gp_Pnt centralPoint,
- const Standard_Real factor) ;
- void MakeMirrorAndDisplay( GEOM::GEOM_Shape_ptr Shape1, GEOM::GEOM_Shape_ptr Shape2 ) ;
- void MakeSewingAndDisplay( GEOM::GEOM_Gen::ListOfIOR& listShapesIOR,
- const Standard_Real precision ) ;
- void MakeCompoundAndDisplay( GEOM::GEOM_Gen::ListOfIOR& listShapesIOR ) ;
- void MakeLinearEdgeAndDisplay( const gp_Pnt P1, const gp_Pnt P2 ) ;
- void MakeOrientationChangeAndDisplay( GEOM::GEOM_Shape_ptr Shape ) ;
-
- void MakePartitionAndDisplay (const GEOM::GEOM_Gen::ListOfIOR& listShapesIOR,
- const GEOM::GEOM_Gen::ListOfIOR& listToolsIOR,
- const GEOM::GEOM_Gen::ListOfIOR& listKeepInsIOR,
- const GEOM::GEOM_Gen::ListOfIOR& listRemoveInsIOR,
- const GEOM::shape_type limit ) ;
-
- void MakeWireAndDisplay( GEOM::GEOM_Gen::ListOfIOR& listShapesIOR ) ;
- void MakeWorkingPlane( const gp_Pnt P, const gp_Dir D) ;
- void MakeFaceAndDisplay( GEOM::GEOM_Shape_ptr aWire, const Standard_Boolean wantPlanar ) ;
-
- /* Simulation management */
- bool CreateArrowForLinearEdge( const TopoDS_Shape& tds, TopoDS_Shape& ArrowCone ) ;
- void DisplaySimulationShape(const TopoDS_Shape& S) ;
- void EraseSimulationShape() ;
-
- /* Selection and objects management */
-
- TopoDS_Shape GetShapeFromIOR( QString IOR );
- bool GetTopoFromSelection(SALOME_Selection *Sel, TopoDS_Shape& tds) ;
- int GetNameOfSelectedIObjects( SALOME_Selection* Sel, QString& aName ) ;
- GEOM::GEOM_Shape_ptr ConvertIOinGEOMShape( const Handle(SALOME_InteractiveObject)& IO,
- Standard_Boolean& testResult ) ;
-
- Handle(GEOM_AISShape) ConvertIOinGEOMAISShape( const Handle(SALOME_InteractiveObject)& IO,
- Standard_Boolean& testResult,
- bool onlyInActiveView = false ) ;
- Handle(GEOM_AISShape) ConvertIORinGEOMAISShape( const char * IOR,
- Standard_Boolean& testResult,
- bool onlyInActiveView = false ) ;
-
- GEOM_Actor* ConvertIORinGEOMActor( const char * IOR,
- Standard_Boolean& testResult,
- bool onlyInActiveView = false ) ;
-
- void ConvertListOfIOInListOfIOR( const SALOME_ListIO& aList,
- GEOM::GEOM_Gen::ListOfIOR& listIOR ) ;
-
- /* Method used by dialog boxes called when used has entered a name of object in a LineEdit */
- bool SelectionByNameInDialogs( QWidget* aWidget, const QString& userObjectName, SALOME_Selection *Sel ) ;
-
- /* Method opening context for any sub shape selection */
- bool PrepareSubShapeSelection( const int SubShapeType,
- Standard_Integer& returnLocalContextId ) ;
-
- /* Method opening context for sub shape selection on an argument shape */
- bool PrepareSubShapeSelectionArgumentShape( const TopoDS_Shape& aShape,
- const int SubShapeType,
- Standard_Integer& returnLocalContextId ) ;
-
-
- /* Define a list of indices of sub shapes selected in a local context */
- bool GetIndexSubShapeSelected( const TopoDS_Shape& ShapeTopo,
- const int SubShapeType,
- GEOM::GEOM_Shape::ListOfSubShapeID& ListOfID,
- Standard_Integer& aLocalContextId,
- bool& myUseLocalContext ) ;