VMTK
vtkvmtkPolyDataBranchUtilities.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: VMTK
4 Module: $RCSfile: vtkvmtkPolyDataBranchUtilities.h,v $
5 Language: C++
6 
7  Copyright (c) Luca Antiga, David Steinman. All rights reserved.
8  See LICENSE file for details.
9 
10  Portions of this code are covered under the VTK copyright.
11  See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm
12  for details.
13 
14  This software is distributed WITHOUT ANY WARRANTY; without even
15  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16  PURPOSE. See the above copyright notices for more information.
17 
18 =========================================================================*/
29 #ifndef __vtkvmtkPolyDataBranchUtilities_h
30 #define __vtkvmtkPolyDataBranchUtilities_h
31 
32 #include "vtkObject.h"
33 //#include "vtkvmtkComputationalGeometryWin32Header.h"
34 #include "vtkvmtkWin32Header.h"
35 
36 class vtkPolyData;
37 class vtkIdList;
38 
39 class VTK_VMTK_COMPUTATIONAL_GEOMETRY_EXPORT vtkvmtkPolyDataBranchUtilities : public vtkObject
40 {
41 public:
42  vtkTypeMacro(vtkvmtkPolyDataBranchUtilities,vtkObject);
43  static vtkvmtkPolyDataBranchUtilities* New();
44 
45  static void GetGroupsIdList(vtkPolyData* surface, const char* groupIdsArrayName, vtkIdList* groupIds);
46  static void ExtractGroup(vtkPolyData* surface, const char* groupIdsArrayName, vtkIdType groupId, bool cleanGroupSurface, vtkPolyData* groupSurface);
47 
48 protected:
51 
52 private:
54  void operator=(const vtkvmtkPolyDataBranchUtilities&); // Not implemented.
55 };
56 
57 #endif
Utility functions to ease working with branches and surfaces.