VMTK
Loading...
Searching...
No Matches
vtkvmtkPolyDataCenterlineGroupsClipper.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=========================================================================*/
32
33#ifndef __vtkvmtkPolyDataCenterlineGroupsClipper_h
34#define __vtkvmtkPolyDataCenterlineGroupsClipper_h
35
36#include "vtkPolyDataAlgorithm.h"
37#include "vtkPolyData.h"
38#include "vtkIdList.h"
39//#include "vtkvmtkComputationalGeometryWin32Header.h"
40#include "vtkvmtkWin32Header.h"
41
42class VTK_VMTK_COMPUTATIONAL_GEOMETRY_EXPORT vtkvmtkPolyDataCenterlineGroupsClipper : public vtkPolyDataAlgorithm
43{
44 public:
45 vtkTypeMacro(vtkvmtkPolyDataCenterlineGroupsClipper,vtkPolyDataAlgorithm);
46 void PrintSelf(std::ostream& os, vtkIndent indent) override;
47
49
51
54 vtkSetObjectMacro(Centerlines,vtkPolyData);
55 vtkGetObjectMacro(Centerlines,vtkPolyData);
57
59
64 vtkSetObjectMacro(CenterlineGroupIds,vtkIdList);
65 vtkGetObjectMacro(CenterlineGroupIds,vtkIdList);
67
69
74 vtkSetStringMacro(CenterlineGroupIdsArrayName);
75 vtkGetStringMacro(CenterlineGroupIdsArrayName);
77
79
84 vtkSetStringMacro(CenterlineRadiusArrayName);
85 vtkGetStringMacro(CenterlineRadiusArrayName);
87
89
94 vtkSetStringMacro(GroupIdsArrayName);
95 vtkGetStringMacro(GroupIdsArrayName);
97
99
105 vtkSetStringMacro(BlankingArrayName);
106 vtkGetStringMacro(BlankingArrayName);
108
110
116 vtkBooleanMacro(ClipAllCenterlineGroupIds,int);
118
120
124 vtkSetMacro(GenerateClippedOutput,int);
125 vtkGetMacro(GenerateClippedOutput,int);
126 vtkBooleanMacro(GenerateClippedOutput,int);
128
132 vtkPolyData* GetClippedOutput();
133
135
140 vtkSetMacro(CutoffRadiusFactor,double);
141 vtkGetMacro(CutoffRadiusFactor,double);
143
145
149 vtkSetMacro(ClipValue,double);
150 vtkGetMacro(ClipValue,double);
152
154
159 vtkSetMacro(UseRadiusInformation,int);
160 vtkGetMacro(UseRadiusInformation,int);
161 vtkBooleanMacro(UseRadiusInformation,int);
163
164 protected:
167
168 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
169
170 vtkPolyData* Centerlines;
171
173
176
179
182 double ClipValue;
183
185
187
188 private:
190 void operator=(const vtkvmtkPolyDataCenterlineGroupsClipper&); // Not implemented.
191};
192
193#endif
static vtkvmtkPolyDataCenterlineGroupsClipper * New()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void PrintSelf(std::ostream &os, vtkIndent indent) override