VMTK
vtkvmtkUnstructuredGridHarmonicMappingFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: VMTK
4  Module: $RCSfile: vtkvmtkUnstructuredGridHarmonicMappingFilter.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 =========================================================================*/
28 #ifndef __vtkvmtkUnstructuredGridHarmonicMappingFilter_h
29 #define __vtkvmtkUnstructuredGridHarmonicMappingFilter_h
30 
31 #include "vtkvmtkWin32Header.h"
32 #include "vtkUnstructuredGridAlgorithm.h"
33 
34 #include "vtkIdList.h"
35 #include "vtkDoubleArray.h"
36 
37 class VTK_VMTK_DIFFERENTIAL_GEOMETRY_EXPORT vtkvmtkUnstructuredGridHarmonicMappingFilter : public vtkUnstructuredGridAlgorithm
38 {
39 public:
41  vtkTypeMacro(vtkvmtkUnstructuredGridHarmonicMappingFilter,vtkUnstructuredGridAlgorithm);
42 
43  vtkSetObjectMacro(BoundaryPointIds,vtkIdList);
44  vtkGetObjectMacro(BoundaryPointIds,vtkIdList);
45 
46  vtkSetObjectMacro(BoundaryValues,vtkDoubleArray);
47  vtkGetObjectMacro(BoundaryValues,vtkDoubleArray);
48 
49  vtkSetStringMacro(HarmonicMappingArrayName);
50  vtkGetStringMacro(HarmonicMappingArrayName);
51 
52  vtkSetMacro(ConvergenceTolerance,double);
53  vtkGetMacro(ConvergenceTolerance,double);
54 
55  vtkSetMacro(QuadratureOrder,int);
56  vtkGetMacro(QuadratureOrder,int);
57 
58 protected:
61 
62  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
63 
64  vtkIdList* BoundaryPointIds;
65  vtkDoubleArray* BoundaryValues;
66 
70 
71 private:
73  void operator=(const vtkvmtkUnstructuredGridHarmonicMappingFilter&); // Not implemented.
74 };
75 
76 #endif
77 
Construct a harmonic function over each vascular mesh segment used during mapping order to stretch th...