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