00001 /*========================================================================= 00002 00003 Program: MIMX Meshing Toolkit 00004 Module: $RCSfile: vtkKWMimxReBinFEMeshMaterialPropertiesFromImageGroup.h,v $ 00005 Language: C++ 00006 Date: $Date: 2008/04/24 14:08:40 $ 00007 Version: $Revision: 1.3 $ 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 vtkKWMimxReBinFEMeshMaterialPropertiesFromImageGroup - a tabbed notebook of UI pages 00024 // .SECTION Description 00025 // The class is derived from vtkKWMimxGroupBase. It contains 5 pages 1) Image 00026 // 2) Surface 3) Building Block 4) F E Mesh 5) Mesh quality. Each page inturn 00027 // contains a list of options specific to a page. 00028 00029 #ifndef __vtkKWMimxReBinFEMeshMaterialPropertiesFromImageGroup_h 00030 #define __vtkKWMimxReBinFEMeshMaterialPropertiesFromImageGroup_h 00031 00032 #include "vtkKWMimxGroupBase.h" 00033 #include "vtkKWMimxFEMeshMenuGroup.h" 00034 #include "vtkKWMimxMainWindow.h" 00035 #include "vtkKWMimxSurfaceMenuGroup.h" 00036 #include "vtkBuildingBlockWin32Header.h" 00037 00038 00039 class vtkKWComboBoxWithLabel; 00040 class vtkKWEntryWithLabel; 00041 class vtkIntArray; 00042 class vtkKWFrame; 00043 class vtkKWCheckButtonWithLabel; 00044 00045 class VTK_BUILDINGBLOCK_EXPORT vtkKWMimxReBinFEMeshMaterialPropertiesFromImageGroup : public vtkKWMimxGroupBase 00046 { 00047 public: 00048 static vtkKWMimxReBinFEMeshMaterialPropertiesFromImageGroup* New(); 00049 vtkTypeRevisionMacro(vtkKWMimxReBinFEMeshMaterialPropertiesFromImageGroup,vtkKWMimxGroupBase); 00050 void PrintSelf(ostream& os, vtkIndent indent); 00051 virtual void Update(); 00052 virtual void UpdateEnableState(); 00053 void ReBinFEMeshMaterialPropertiesFromImageDoneCallback(); 00054 int ReBinFEMeshMaterialPropertiesFromImageApplyCallback(); 00055 void ReBinFEMeshMaterialPropertiesFromImageCancelCallback(); 00056 void UpdateObjectLists(); 00057 void FEMeshSelectionChangedCallback(const char *Selection); 00058 void MinimumValueCheckButtonCallback(int State); 00059 void MaximumValueCheckButtonCallback(int State); 00060 void ElementSetChangedCallback(const char *Selection); 00061 00062 void ViewMaterialPropertyCallback( int mode ); 00063 int ClippingPlaneCallback(int mode); 00064 void ViewPropertyLegendCallback( int mode ); 00065 00066 protected: 00067 vtkKWMimxReBinFEMeshMaterialPropertiesFromImageGroup(); 00068 ~vtkKWMimxReBinFEMeshMaterialPropertiesFromImageGroup(); 00069 virtual void CreateWidget(); 00070 vtkKWComboBoxWithLabel *FEMeshListComboBox; 00071 vtkKWComboBoxWithLabel *ElementSetComboBox; 00072 vtkKWEntryWithLabel *NumOfBinsEntry; 00073 vtkKWFrame *MinimumValueFrame; 00074 vtkKWFrame *MaximumValueFrame; 00075 vtkKWEntryWithLabel *MinimumRebinEntry; 00076 vtkKWEntryWithLabel *MaximumRebinEntry; 00077 vtkKWCheckButtonWithLabel *MinimumValueCheckButton; 00078 vtkKWCheckButtonWithLabel *MaximumValueCheckButton; 00079 vtkKWFrameWithLabel *ViewFrame; 00080 vtkKWCheckButtonWithLabel *ViewPropertyButton; 00081 vtkKWCheckButtonWithLabel *ViewLegendButton; 00082 vtkKWMenuButtonWithLabel *ClippingPlaneMenuButton; 00083 00084 private: 00085 vtkKWMimxReBinFEMeshMaterialPropertiesFromImageGroup(const vtkKWMimxReBinFEMeshMaterialPropertiesFromImageGroup&); // Not implemented 00086 void operator=(const vtkKWMimxReBinFEMeshMaterialPropertiesFromImageGroup&); // Not implemented 00087 00088 char meshName[64]; 00089 char elementSetName[64]; 00090 }; 00091 00092 #endif 00093
1.6.1