mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-25 17:00:35 +05:00
DCQ: Kinematic...
This commit is contained in:
parent
cfa289284d
commit
cff6b5fb95
@ -31,7 +31,7 @@ C_DEPEND_FLAG = @C_DEPEND_FLAG@
|
||||
# C++
|
||||
|
||||
CXX = @CXX@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CXXFLAGS = @CXXFLAGS@ -Wparentheses -Wreturn-type -Wmissing-declarations -Winline
|
||||
CXX_DEPEND_FLAG = @CXX_DEPEND_FLAG@
|
||||
|
||||
# JAVA
|
||||
|
@ -196,7 +196,12 @@ module GEOM
|
||||
in DirStruct dstruct,
|
||||
in double major_radius,
|
||||
in double minor_radius) raises (SALOME::SALOME_Exception) ;
|
||||
|
||||
|
||||
//-----------------------------------------------------------//
|
||||
// Sketcher //
|
||||
//-----------------------------------------------------------//
|
||||
GEOM_Shape MakeSketcher (in string Cmd) raises (SALOME::SALOME_Exception) ;
|
||||
|
||||
//-----------------------------------------------------------//
|
||||
// Primitives Construction //
|
||||
//-----------------------------------------------------------//
|
||||
@ -346,9 +351,12 @@ module GEOM
|
||||
|
||||
void SetPosition(in GEOM_Contact Contact) raises (SALOME::SALOME_Exception) ;
|
||||
|
||||
void SetRotation(in GEOM_Contact Contact) raises (SALOME::SALOME_Exception) ;
|
||||
void SetAngularRange(in GEOM_Contact Contact) raises (SALOME::SALOME_Exception) ;
|
||||
|
||||
void SetTranslation(in GEOM_Contact Contact) raises (SALOME::SALOME_Exception) ;
|
||||
void SetLinearRange(in GEOM_Contact Contact) raises (SALOME::SALOME_Exception) ;
|
||||
|
||||
void SetDisplacement(in GEOM_Animation Animation,
|
||||
in GEOM_Contact Contact) raises (SALOME::SALOME_Exception) ;
|
||||
|
||||
};
|
||||
};
|
||||
|
@ -31,101 +31,7 @@
|
||||
module GEOM
|
||||
{
|
||||
|
||||
interface GEOM_Contact;
|
||||
typedef sequence<GEOM_Contact> ListOfContact;
|
||||
|
||||
//-----------------------------------------------------------------//
|
||||
// interface GEOM_Position methods //
|
||||
//-----------------------------------------------------------------//
|
||||
interface GEOM_Position {
|
||||
|
||||
void SetOrigin(in GEOM::PointStruct P0)
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
void SetVX(in GEOM::DirStruct Vect)
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
void SetVY(in GEOM::DirStruct Vect)
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
void SetVZ(in GEOM::DirStruct Vect)
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
GEOM::PointStruct GetOrigin()
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
GEOM::DirStruct GetVX()
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
GEOM::DirStruct GetVY()
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
GEOM::DirStruct GetVZ()
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------------//
|
||||
// interface GEOM_Rotation methods //
|
||||
//-----------------------------------------------------------------//
|
||||
interface GEOM_Rotation {
|
||||
|
||||
void SetRotation(in long Rot1, in long Rot2, in long Rot3,
|
||||
in double Val1, in double Val2, in double Val3)
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
long GetRot1()
|
||||
raises (SALOME::SALOME_Exception);
|
||||
long GetRot2()
|
||||
raises (SALOME::SALOME_Exception);
|
||||
long GetRot3()
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
double GetVal1()
|
||||
raises (SALOME::SALOME_Exception);
|
||||
double GetVal2()
|
||||
raises (SALOME::SALOME_Exception);
|
||||
double GetVal3()
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------------//
|
||||
// interface GEOM_Translation methods //
|
||||
//-----------------------------------------------------------------//
|
||||
interface GEOM_Translation {
|
||||
|
||||
void SetTranslation(in double ValX, in double ValY, in double ValZ)
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
double GetValX()
|
||||
raises (SALOME::SALOME_Exception);
|
||||
double GetValY()
|
||||
raises (SALOME::SALOME_Exception);
|
||||
double GetValZ()
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------------//
|
||||
// interface GEOM_Assembly methods //
|
||||
//-----------------------------------------------------------------//
|
||||
interface GEOM_Assembly {
|
||||
|
||||
void AddContact(in GEOM::GEOM_Contact aContact)
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
GEOM::ListOfContact GetContactList()
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
long NbContacts()
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
attribute string Name;
|
||||
attribute string ShapeId;
|
||||
attribute string StudyShapeId;
|
||||
|
||||
};
|
||||
typedef sequence<double> ListOfDouble;
|
||||
|
||||
//-----------------------------------------------------------------//
|
||||
// interface GEOM_Contact methods //
|
||||
@ -144,13 +50,51 @@ module GEOM
|
||||
double GetStep()
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
GEOM::GEOM_Position GetPosition()
|
||||
GEOM::ListOfDouble GetPosition()
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
GEOM::GEOM_Rotation GetRotation()
|
||||
GEOM::ListOfDouble GetAngularRange()
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
GEOM::GEOM_Translation GetTranslation()
|
||||
GEOM::ListOfDouble GetLinearRange()
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
void SetPosition(in double P0x, in double P0y, in double P0z,
|
||||
in double VXx, in double VXy, in double VXz,
|
||||
in double VYx, in double VYy, in double VYz,
|
||||
in double VZx, in double VZy, in double VZz)
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
void SetAngularRange(in double MinValX, in double MaxValX,
|
||||
in double MinValY, in double MaxValY,
|
||||
in double MinValZ, in double MaxValZ)
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
void SetLinearRange(in double MinValX, in double MaxValX,
|
||||
in double MinValY, in double MaxValY,
|
||||
in double MinValZ, in double MaxValZ)
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
attribute string Name;
|
||||
attribute string ShapeId;
|
||||
attribute string StudyShapeId;
|
||||
|
||||
};
|
||||
|
||||
typedef sequence<GEOM_Contact> ListOfContact;
|
||||
|
||||
//-----------------------------------------------------------------//
|
||||
// interface GEOM_Assembly methods //
|
||||
//-----------------------------------------------------------------//
|
||||
interface GEOM_Assembly {
|
||||
|
||||
void AddContact(in GEOM::GEOM_Contact aContact)
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
GEOM::ListOfContact GetContactList()
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
long NbContacts()
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
attribute string Name;
|
||||
@ -176,6 +120,13 @@ module GEOM
|
||||
long GetNbSeq()
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
GEOM::ListOfDouble GetDisplacement(in GEOM_Contact aContact)
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
void SetDisplacement(in GEOM_Contact aContact,
|
||||
in GEOM::ListOfDouble aList)
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
attribute string Name;
|
||||
attribute string ShapeId;
|
||||
attribute string StudyShapeId;
|
||||
|
@ -201,7 +201,7 @@ gp_Pnt BasicGUI::ConvertClickToPoint(Standard_Real x, Standard_Real y, Handle(V3
|
||||
|
||||
gp_Pln PlaneOfTheView = gp_Pln(AtPoint,EyeDir);
|
||||
Standard_Real X, Y, Z;
|
||||
aView->Convert(x, y, X, Y, Z);
|
||||
aView->Convert(int(x), int(y), X, Y, Z);
|
||||
gp_Pnt ConvertedPoint(X, Y, Z);
|
||||
|
||||
gp_Pnt2d ConvertedPointOnPlane = ProjLib::Project(PlaneOfTheView, ConvertedPoint);
|
||||
|
@ -26,7 +26,6 @@
|
||||
// Module : GEOM
|
||||
// $Header$
|
||||
|
||||
using namespace std;
|
||||
#include "BasicGUI_ArcDlg.h"
|
||||
|
||||
#include <BRepBuilderAPI_MakeEdge.hxx>
|
||||
@ -34,6 +33,10 @@ using namespace std;
|
||||
#include <Geom_TrimmedCurve.hxx>
|
||||
#include <Precision.hxx>
|
||||
|
||||
#include "utilities.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
//=================================================================================
|
||||
// class : BasicGUI_ArcDlg()
|
||||
// purpose : Constructs a BasicGUI_ArcDlg which is a child of 'parent', with the
|
||||
|
@ -26,7 +26,6 @@
|
||||
// Module : GEOM
|
||||
// $Header$
|
||||
|
||||
using namespace std;
|
||||
#include "BasicGUI_CircleDlg.h"
|
||||
|
||||
#include <gp_Lin.hxx>
|
||||
@ -35,6 +34,10 @@ using namespace std;
|
||||
#include <BRepAdaptor_Curve.hxx>
|
||||
#include "QAD_Config.h"
|
||||
|
||||
#include "utilities.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
//=================================================================================
|
||||
// class : BasicGUI_CircleDlg()
|
||||
// purpose : Constructs a BasicGUI_CircleDlg which is a child of 'parent', with the
|
||||
|
@ -25,7 +25,6 @@
|
||||
// Module : GEOM
|
||||
// $Header$
|
||||
|
||||
using namespace std;
|
||||
#include "BasicGUI_EllipseDlg.h"
|
||||
|
||||
#include <gp_Lin.hxx>
|
||||
@ -34,6 +33,10 @@ using namespace std;
|
||||
#include <BRepAdaptor_Curve.hxx>
|
||||
#include "QAD_Config.h"
|
||||
|
||||
#include "utilities.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
//=================================================================================
|
||||
// class : BasicGUI_EllipseDlg()
|
||||
// purpose : Constructs a BasicGUI_EllipseDlg which is a child of 'parent', with the
|
||||
|
@ -26,7 +26,6 @@
|
||||
// Module : GEOM
|
||||
// $Header$
|
||||
|
||||
using namespace std;
|
||||
#include "BasicGUI_LineDlg.h"
|
||||
|
||||
#include <BRepBuilderAPI_MakeEdge.hxx>
|
||||
@ -34,6 +33,10 @@ using namespace std;
|
||||
#include <BRep_Builder.hxx>
|
||||
#include <Precision.hxx>
|
||||
|
||||
#include "utilities.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
//=================================================================================
|
||||
// class : BasicGUI_LineDlg()
|
||||
// purpose : Constructs a BasicGUI_LineDlg which is a child of 'parent', with the
|
||||
|
@ -26,7 +26,6 @@
|
||||
// Module : GEOM
|
||||
// $Header$
|
||||
|
||||
using namespace std;
|
||||
#include "BasicGUI_PlaneDlg.h"
|
||||
|
||||
#include <BRepBuilderAPI_MakeFace.hxx>
|
||||
@ -37,6 +36,10 @@ using namespace std;
|
||||
#include <Precision.hxx>
|
||||
#include "QAD_Config.h"
|
||||
|
||||
#include "utilities.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
//=================================================================================
|
||||
// class : BasicGUI_PlaneDlg()
|
||||
// purpose : Constructs a BasicGUI_PlaneDlg which is a child of 'parent', with the
|
||||
|
@ -26,7 +26,6 @@
|
||||
// Module : GEOM
|
||||
// $Header:
|
||||
|
||||
using namespace std;
|
||||
#include "DisplayGUI.h"
|
||||
|
||||
#include "QAD_RightFrame.h"
|
||||
@ -39,6 +38,10 @@ using namespace std;
|
||||
|
||||
#include <AIS_ListIteratorOfListOfInteractive.hxx>
|
||||
|
||||
#include "utilities.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
//=======================================================================
|
||||
// function : DisplayGUI()
|
||||
// purpose : Constructor
|
||||
|
Loading…
Reference in New Issue
Block a user