38 #ifndef __vtkvmtkCenterlineBifurcationVectors_h 39 #define __vtkvmtkCenterlineBifurcationVectors_h 41 #include "vtkPolyDataAlgorithm.h" 43 #include "vtkvmtkWin32Header.h" 44 #include "vtkPolyData.h" 54 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
58 vtkSetStringMacro(RadiusArrayName);
59 vtkGetStringMacro(RadiusArrayName);
61 vtkSetStringMacro(GroupIdsArrayName);
62 vtkGetStringMacro(GroupIdsArrayName);
64 vtkSetStringMacro(CenterlineIdsArrayName);
65 vtkGetStringMacro(CenterlineIdsArrayName);
67 vtkSetStringMacro(TractIdsArrayName);
68 vtkGetStringMacro(TractIdsArrayName);
70 vtkSetStringMacro(BlankingArrayName);
71 vtkGetStringMacro(BlankingArrayName);
73 vtkSetObjectMacro(ReferenceSystems,vtkPolyData);
74 vtkGetObjectMacro(ReferenceSystems,vtkPolyData);
76 vtkSetStringMacro(ReferenceSystemGroupIdsArrayName);
77 vtkGetStringMacro(ReferenceSystemGroupIdsArrayName);
79 vtkSetStringMacro(ReferenceSystemNormalArrayName);
80 vtkGetStringMacro(ReferenceSystemNormalArrayName);
82 vtkSetStringMacro(ReferenceSystemUpNormalArrayName);
83 vtkGetStringMacro(ReferenceSystemUpNormalArrayName);
85 vtkSetStringMacro(BifurcationVectorsArrayName);
86 vtkGetStringMacro(BifurcationVectorsArrayName);
88 vtkSetStringMacro(InPlaneBifurcationVectorsArrayName);
89 vtkGetStringMacro(InPlaneBifurcationVectorsArrayName);
91 vtkSetStringMacro(OutOfPlaneBifurcationVectorsArrayName);
92 vtkGetStringMacro(OutOfPlaneBifurcationVectorsArrayName);
94 vtkSetStringMacro(InPlaneBifurcationVectorAnglesArrayName);
95 vtkGetStringMacro(InPlaneBifurcationVectorAnglesArrayName);
97 vtkSetStringMacro(OutOfPlaneBifurcationVectorAnglesArrayName);
98 vtkGetStringMacro(OutOfPlaneBifurcationVectorAnglesArrayName);
100 vtkSetStringMacro(BifurcationVectorsOrientationArrayName);
101 vtkGetStringMacro(BifurcationVectorsOrientationArrayName);
103 vtkSetStringMacro(BifurcationGroupIdsArrayName);
104 vtkGetStringMacro(BifurcationGroupIdsArrayName);
106 vtkSetMacro(NormalizeBifurcationVectors,
int);
107 vtkGetMacro(NormalizeBifurcationVectors,
int);
108 vtkBooleanMacro(NormalizeBifurcationVectors,
int);
112 VTK_VMTK_UPSTREAM_ORIENTATION = 0,
113 VTK_VMTK_DOWNSTREAM_ORIENTATION
120 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
122 void ComputeBifurcationVectors(vtkPolyData* input,
int bifurcationGroupId, vtkIdList* bifurcationVectorsGroupIds, vtkIntArray* bifurcationVectorsOrientation, vtkDoubleArray* bifurcationVectors, vtkPoints* bifurcationVectorsPoints);
124 void ComputeBifurcationVectorComponents(
int bifurcationGroupId, vtkDoubleArray* bifurcationVectors, vtkDoubleArray* inPlaneBifurcationVectors, vtkDoubleArray* outOfPlaneBifurcationVectors);
126 void ComputeBifurcationVectorAngles(
int bifurcationGroupId, vtkDoubleArray* bifurcationVectors, vtkDoubleArray* inPlaneBifurcationVectors, vtkDoubleArray* outOfPlaneBifurcationVectors, vtkDoubleArray* inPlaneBifurcationVectorAngles, vtkDoubleArray* outOfPlaneBifurcationVectorAngles);
char * CenterlineIdsArrayName
char * InPlaneBifurcationVectorAnglesArrayName
char * OutOfPlaneBifurcationVectorsArrayName
int NormalizeBifurcationVectors
char * BifurcationGroupIdsArrayName
char * ReferenceSystemNormalArrayName
vtkPolyData * ReferenceSystems
char * ReferenceSystemUpNormalArrayName
char * ReferenceSystemGroupIdsArrayName
char * BifurcationVectorsOrientationArrayName
char * OutOfPlaneBifurcationVectorAnglesArrayName
char * InPlaneBifurcationVectorsArrayName
char * BifurcationVectorsArrayName
Compute vectors which represent the orientation of branches involved within a bifurcation from a spli...