Changeset fcbacb9 in OpenModelica for OMEdit/OMEditGUI/Editors/MetaModelEditor.h
- Timestamp:
- 2016-04-07T17:11:46+02:00 (8 years ago)
- Branches:
- Added-citation-metadata, maintenance/v1.14, maintenance/v1.15, maintenance/v1.16, maintenance/v1.17, maintenance/v1.18, maintenance/v1.19, maintenance/v1.20, maintenance/v1.21, maintenance/v1.22, maintenance/v1.23, master, omlib-staging
- Children:
- 0b9b099
- Parents:
- 8f6676e7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OMEdit/OMEditGUI/Editors/MetaModelEditor.h
rd8c46e3 rfcbacb9 69 69 QDomElement getSubModelsElement(); 70 70 QDomNodeList getSubModels(); 71 QDomElement getInterfacePoint(QString subModelName, QString interfaceName); 71 72 QDomElement getConnectionsElement(); 72 73 QDomNodeList getConnections(); … … 84 85 QString getSimulationStopTime(); 85 86 void addInterfacesData(QDomElement interfaces); 86 bool existInterfaceData(QString subModelName, QString interfaceName);87 bool interfacesAligned(QString interface1, QString interface2); 87 88 bool deleteSubModel(QString name); 88 89 bool deleteConnection(QString startComponentName, QString endComponentName); … … 92 93 bool mForceSetPlainText; 93 94 XMLDocument mXmlDocument; 95 96 bool existInterfaceData(QString subModelName, QDomElement interfaceDataElement); 94 97 QGenericMatrix<3,3,double> getRotationMatrix(QGenericMatrix<3,1,double> rotation); 95 98 bool getPositionAndRotationVectors(QString interfacePoint, QGenericMatrix<3,1,double> &CG_X_PHI_CG, QGenericMatrix<3,1,double> &X_C_PHI_X, 96 99 QGenericMatrix<3,1,double> &CG_X_R_CG, QGenericMatrix<3,1,double> &X_C_R_X); 97 bool interfacesAligned(QString interface1, QString interface2);98 100 bool fuzzyCompare(double p1, double p2); 99 101 QGenericMatrix<3, 1, double> getRotationVector(QGenericMatrix<3, 3, double> R); … … 104 106 virtual void contentsHasChanged(int position, int charsRemoved, int charsAdded); 105 107 virtual void toggleCommentSelection() {} 106 void alignInterfaces(QString fromSubModel, QString toSubModel );108 void alignInterfaces(QString fromSubModel, QString toSubModel, bool showError = true); 107 109 }; 108 110
Note: See TracChangeset
for help on using the changeset viewer.