00001 /*========================================================================= 00002 00003 Program: MIMX Meshing Toolkit 00004 Module: $RCSfile: vtkMimxSubdivideBoundingBox.h,v $ 00005 Language: C++ 00006 Date: $Date: 2007/10/11 19:54:47 $ 00007 Version: $Revision: 1.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 00024 // .NAME vtkMimxSubdivideBoundingbox - 00025 // .SECTION Caveats 00026 // Filter takes in an unstructuredgrid as primary input. PointsList input 00027 // should contain 4 points denoting an face in the unstructured grid. 00028 // the output contains unstructured grid with the cell containing the 00029 // face will have a newly extruded neighboring cell sharing an edge with the 00030 // face originally picked. 00031 00032 #ifndef __vtkMimxSubdivideBoundingbox_h 00033 #define __vtkMimxSubdivideBoundingbox_h 00034 00035 #include "vtkUnstructuredGridAlgorithm.h" 00036 #include "vtkMimxFilterWin32Header.h" 00037 00038 class vtkIdList; 00039 00040 class VTK_MIMXFILTER_EXPORT vtkMimxSubdivideBoundingbox : public vtkUnstructuredGridAlgorithm 00041 { 00042 public: 00043 00044 static vtkMimxSubdivideBoundingbox *New(); 00045 vtkTypeRevisionMacro(vtkMimxSubdivideBoundingbox,vtkUnstructuredGridAlgorithm); 00046 void PrintSelf(ostream& os, vtkIndent indent); 00047 vtkSetMacro(CellNum, vtkIdType); 00048 protected: 00049 vtkMimxSubdivideBoundingbox(); 00050 ~vtkMimxSubdivideBoundingbox(); 00051 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00052 vtkIdType CellNum; 00053 private: 00054 vtkMimxSubdivideBoundingbox(const vtkMimxSubdivideBoundingbox&); // Not implemented. 00055 void operator=(const vtkMimxSubdivideBoundingbox&); // Not implemented. 00056 }; 00057 00058 #endif
1.6.1