VMTK
Loading...
Searching...
No Matches
vtkvmtkPolyDataBifurcationSections.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=========================================================================*/
41
42#ifndef __vtkvmtkPolyDataBifurcationSections_h
43#define __vtkvmtkPolyDataBifurcationSections_h
44
45#include "vtkPolyDataAlgorithm.h"
46//#include "vtkvmtkComputationalGeometryWin32Header.h"
47#include "vtkvmtkWin32Header.h"
48#include "vtkPolyData.h"
49
50class VTK_VMTK_COMPUTATIONAL_GEOMETRY_EXPORT vtkvmtkPolyDataBifurcationSections : public vtkPolyDataAlgorithm
51{
52 public:
53 vtkTypeMacro(vtkvmtkPolyDataBifurcationSections,vtkPolyDataAlgorithm);
54 void PrintSelf(std::ostream& os, vtkIndent indent) override;
55
57
59
64 vtkSetStringMacro(GroupIdsArrayName);
65 vtkGetStringMacro(GroupIdsArrayName);
67
69
72 vtkSetObjectMacro(Centerlines,vtkPolyData);
73 vtkGetObjectMacro(Centerlines,vtkPolyData);
75
77
82 vtkSetStringMacro(CenterlineRadiusArrayName);
83 vtkGetStringMacro(CenterlineRadiusArrayName);
85
87
91 vtkSetStringMacro(CenterlineGroupIdsArrayName);
92 vtkGetStringMacro(CenterlineGroupIdsArrayName);
94
96
101 vtkSetStringMacro(CenterlineIdsArrayName);
102 vtkGetStringMacro(CenterlineIdsArrayName);
104
106
110 vtkSetStringMacro(CenterlineTractIdsArrayName);
111 vtkGetStringMacro(CenterlineTractIdsArrayName);
113
115
120 vtkSetStringMacro(BlankingArrayName);
121 vtkGetStringMacro(BlankingArrayName);
123
125
133
135
143
145
153
155
163
165
173
175
183
185
193
195
203
205
213
215
223
225
234
236
240 vtkSetMacro(NumberOfDistanceSpheres,int);
241 vtkGetMacro(NumberOfDistanceSpheres,int);
243
244 protected:
247
248 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
249
250 void ComputeBifurcationSections(vtkPolyData* input, int bifurcationGroupId, vtkIdList* upStreamGroupIds, vtkIdList* downStreamGroupIds, vtkPolyData* output);
251
252 vtkPolyData* Centerlines;
253
260
272
274
275 private:
277 void operator=(const vtkvmtkPolyDataBifurcationSections&); // Not implemented.
278};
279
280#endif
void ComputeBifurcationSections(vtkPolyData *input, int bifurcationGroupId, vtkIdList *upStreamGroupIds, vtkIdList *downStreamGroupIds, vtkPolyData *output)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
static vtkvmtkPolyDataBifurcationSections * New()
void PrintSelf(std::ostream &os, vtkIndent indent) override