CEditMorphMeshDlg(CParticleWorkspace::CNode*ownerNode,NL3D::CPSConstraintMesh*cm,CWnd*pParent,CParticleDlg*particleDlg,IPopupNotify*pn=NULL);// standard constructor
voidinit(CWnd*pParent);
// Dialog Data
//{{AFX_DATA(CEditMorphMeshDlg)
enum{IDD=IDD_EDIT_MORPH_MESH};
CListBoxm_MeshList;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEditMorphMeshDlg)
protected:
virtualvoidDoDataExchange(CDataExchange*pDX);// DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CParticleWorkspace::CNode*_Node;
NL3D::CPSConstraintMesh*_CM;// the constraint mesh being edited
IPopupNotify*_PN;// a window to notify when this dialog is destroyed
CParticleDlg*_ParticleDlg;
/// open a file dialog to get the mesh name
boolgetShapeNameFromDlg(std::string&name);
/// fill the mesh list with the mesh names in the object being edited
voidupdateMeshList();
// update dialog msg to say that mesh are incompatibles