VMTK
vtkvmtkCenterlineReferenceSystemAttributesOffset.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: VMTK
4 Module: $RCSfile: vtkvmtkCenterlineReferenceSystemAttributesOffset.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 __vtkvmtkCenterlineReferenceSystemAttributesOffset_h
29 #define __vtkvmtkCenterlineReferenceSystemAttributesOffset_h
30 
31 #include "vtkPolyDataAlgorithm.h"
32 //#include "vtkvmtkComputationalGeometryWin32Header.h"
33 #include "vtkvmtkWin32Header.h"
34 
35 #include "vtkPolyData.h"
36 
37 class vtkDoubleArray;
38 
39 class VTK_VMTK_COMPUTATIONAL_GEOMETRY_EXPORT vtkvmtkCenterlineReferenceSystemAttributesOffset : public vtkPolyDataAlgorithm
40 {
41  public:
42  vtkTypeMacro(vtkvmtkCenterlineReferenceSystemAttributesOffset,vtkPolyDataAlgorithm);
43  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
44 
46 
47  vtkSetStringMacro(OffsetAbscissasArrayName);
48  vtkGetStringMacro(OffsetAbscissasArrayName);
49 
50  vtkSetStringMacro(OffsetNormalsArrayName);
51  vtkGetStringMacro(OffsetNormalsArrayName);
52 
53  vtkSetStringMacro(AbscissasArrayName);
54  vtkGetStringMacro(AbscissasArrayName);
55 
56  vtkSetStringMacro(NormalsArrayName);
57  vtkGetStringMacro(NormalsArrayName);
58 
59  vtkSetStringMacro(GroupIdsArrayName);
60  vtkGetStringMacro(GroupIdsArrayName);
61 
62  vtkSetStringMacro(CenterlineIdsArrayName);
63  vtkGetStringMacro(CenterlineIdsArrayName);
64 
65  vtkSetObjectMacro(ReferenceSystems,vtkPolyData);
66  vtkGetObjectMacro(ReferenceSystems,vtkPolyData);
67 
68  vtkSetStringMacro(ReferenceSystemsNormalArrayName);
69  vtkGetStringMacro(ReferenceSystemsNormalArrayName);
70 
71  vtkSetStringMacro(ReferenceSystemsGroupIdsArrayName);
72  vtkGetStringMacro(ReferenceSystemsGroupIdsArrayName);
73 
74  vtkSetMacro(ReferenceGroupId,int);
75  vtkGetMacro(ReferenceGroupId,int);
76 
77  protected:
80 
81  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
82 
85 
90 
91  vtkPolyData* ReferenceSystems;
92 
95 
97 
98  private:
100  void operator=(const vtkvmtkCenterlineReferenceSystemAttributesOffset&); // Not implemented.
101 };
102 
103 #endif
Move the abscissa metric such that its zero point is at a bifurcation center and rotate parallel tran...