0051564: TC6.6.0: Extrusion work incorrect

+  MeshEditor_I::TPreviewMesh * getPreviewMesh( SMDSAbs_ElementType previewType = SMDSAbs_All );
+  ::SMESH_MeshEditor& getEditor();
This commit is contained in:
eap 2012-11-08 10:46:53 +00:00
parent 8c26f69fe1
commit 62f76f744f
2 changed files with 356 additions and 378 deletions

File diff suppressed because it is too large Load Diff

View File

@ -40,6 +40,10 @@
class SMESH_Mesh_i; class SMESH_Mesh_i;
namespace MeshEditor_I {
struct TPreviewMesh;
}
class SMESH_MeshEditor_i: public POA_SMESH::SMESH_MeshEditor class SMESH_MeshEditor_i: public POA_SMESH::SMESH_MeshEditor
{ {
public: public:
@ -835,13 +839,17 @@ public:
private: //!< private methods private: //!< private methods
SMESHDS_Mesh * GetMeshDS() { return myMesh->GetMeshDS(); } ::SMESH_MeshEditor& getEditor();
SMESHDS_Mesh * getMeshDS() { return myMesh->GetMeshDS(); }
MeshEditor_I::TPreviewMesh * getPreviewMesh( SMDSAbs_ElementType previewType = SMDSAbs_All );
/*! /*!
* \brief Update myLastCreated* or myPreviewData * \brief Update myLastCreated* or myPreviewData
* \param anEditor - it contains edition results * \param anEditor - it contains edition results
*/ */
void storeResult(::SMESH_MeshEditor& anEditor); //void storeResult(::SMESH_MeshEditor& anEditor);
/*! /*!
* \brief Clear myLastCreated* or myPreviewData * \brief Clear myLastCreated* or myPreviewData
*/ */
@ -926,12 +934,14 @@ private: //!< private methods
private: //!< fields private: //!< fields
SMESH_Mesh_i* myMesh_i; SMESH_Mesh_i* myMesh_i;
SMESH_Mesh * myMesh; SMESH_Mesh * myMesh;
::SMESH_MeshEditor myEditor; ::SMESH_MeshEditor myEditor;
bool myIsPreviewMode;
MeshEditor_I::TPreviewMesh * myPreviewMesh;
::SMESH_MeshEditor * myPreviewEditor;
SMESH::MeshPreviewStruct_var myPreviewData; SMESH::MeshPreviewStruct_var myPreviewData;
bool myPreviewMode;
// temporary IDSources // temporary IDSources
struct _IDSource; struct _IDSource;