00001 /*========================================================================= 00002 00003 Program: MIMX Meshing Toolkit 00004 Module: $RCSfile: vtkKWMimxExportAbaqusFEMeshGroup.h,v $ 00005 Language: C++ 00006 Date: $Date: 2008/10/17 03:37:39 $ 00007 Version: $Revision: 1.11.4.1 $ 00008 00009 Musculoskeletal Imaging, Modelling and Experimentation (MIMX) 00010 Center for Computer Aided Design 00011 The University of Iowa 00012 Iowa City, IA 52242 00013 http://www.ccad.uiowa.edu/mimx/ 00014 00015 Copyright (c) The University of Iowa. All rights reserved. 00016 See MIMXCopyright.txt or http://www.ccad.uiowa.edu/mimx/Copyright.htm for details. 00017 00018 This software is distributed WITHOUT ANY WARRANTY; without even 00019 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00020 PURPOSE. See the above copyright notices for more information. 00021 00022 =========================================================================*/ 00023 // .NAME vtkKWMimxExportAbaqusFEMeshGroup - To export selected FEMesh as an .inp 00024 // (abaqus) file 00025 // 00026 // .SECTION Description 00027 // Class contains GUI to export a selected mesh as an abaqus (.inp) file. 00028 // 00029 // .SECTION See Also 00030 // vtkMimxAbaqusFileWriter 00031 00032 #ifndef __vtkKWMimxExportAbaqusFEMeshGroup_h 00033 #define __vtkKWMimxExportAbaqusFEMeshGroup_h 00034 00035 #include "vtkKWMimxGroupBase.h" 00036 #include "vtkBuildingBlockWin32Header.h" 00037 00038 00039 class vtkKWComboBoxWithLabel; 00040 class vtkKWEntryWithLabel; 00041 class vtkKWFrameWithLabel; 00042 class vtkKWLoadSaveDialog; 00043 class vtkKWTextWithScrollbarsWithLabel; 00044 00045 00046 class VTK_BUILDINGBLOCK_EXPORT vtkKWMimxExportAbaqusFEMeshGroup : public vtkKWMimxGroupBase 00047 { 00048 public: 00049 static vtkKWMimxExportAbaqusFEMeshGroup* New(); 00050 vtkTypeRevisionMacro(vtkKWMimxExportAbaqusFEMeshGroup,vtkKWMimxGroupBase); 00051 void PrintSelf(ostream& os, vtkIndent indent); 00052 virtual void Update(); 00053 virtual void UpdateEnableState(); 00054 void UpdateObjectLists(); 00055 00056 // Description: 00057 // Hide the GUI 00058 void ExportAbaqusFEMeshCancelCallback(); 00059 00060 // Description: 00061 // Export the chosen FE mesh as an abaqus (.inp) file 00062 int ExportAbaqusFEMeshApplyCallback(); 00063 protected: 00064 vtkKWMimxExportAbaqusFEMeshGroup(); 00065 ~vtkKWMimxExportAbaqusFEMeshGroup(); 00066 virtual void CreateWidget(); 00067 00068 vtkKWFrameWithLabel *ComponentFrame; 00069 vtkKWComboBoxWithLabel *ObjectListComboBox; 00070 vtkKWLoadSaveDialog *FileBrowserDialog; 00071 vtkKWTextWithScrollbarsWithLabel *HeaderInformationText; 00072 vtkKWEntryWithLabel *UserNameEntry; 00073 00074 private: 00075 vtkKWMimxExportAbaqusFEMeshGroup(const vtkKWMimxExportAbaqusFEMeshGroup&); // Not implemented 00076 void operator=(const vtkKWMimxExportAbaqusFEMeshGroup&); // Not implemented 00077 }; 00078 00079 #endif 00080
1.6.1