VMTK
Loading...
Searching...
No Matches
vtkvmtkUnstructuredGridCenterlineGroupsClipper.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=========================================================================*/
30
31#ifndef __vtkvmtkUnstructuredGridCenterlineGroupsClipper_h
32#define __vtkvmtkUnstructuredGridCenterlineGroupsClipper_h
33
34#include "vtkUnstructuredGridAlgorithm.h"
35#include "vtkUnstructuredGrid.h"
36#include "vtkPolyData.h"
37#include "vtkIdList.h"
38#include "vtkvmtkWin32Header.h"
39
40class VTK_VMTK_COMPUTATIONAL_GEOMETRY_EXPORT vtkvmtkUnstructuredGridCenterlineGroupsClipper : public vtkUnstructuredGridAlgorithm
41{
42 public:
43 vtkTypeMacro(vtkvmtkUnstructuredGridCenterlineGroupsClipper,vtkUnstructuredGridAlgorithm);
44 void PrintSelf(std::ostream& os, vtkIndent indent) override;
45
47
49
52 vtkSetObjectMacro(Centerlines,vtkPolyData);
53 vtkGetObjectMacro(Centerlines,vtkPolyData);
55
57
62 vtkSetObjectMacro(CenterlineGroupIds,vtkIdList);
63 vtkGetObjectMacro(CenterlineGroupIds,vtkIdList);
65
67
72 vtkSetStringMacro(CenterlineGroupIdsArrayName);
73 vtkGetStringMacro(CenterlineGroupIdsArrayName);
75
77
82 vtkSetStringMacro(CenterlineRadiusArrayName);
83 vtkGetStringMacro(CenterlineRadiusArrayName);
85
87
92 vtkSetStringMacro(GroupIdsArrayName);
93 vtkGetStringMacro(GroupIdsArrayName);
95
97
103 vtkSetStringMacro(BlankingArrayName);
104 vtkGetStringMacro(BlankingArrayName);
106
108
114 vtkBooleanMacro(ClipAllCenterlineGroupIds,int);
116
118
122 vtkSetMacro(GenerateClippedOutput,int);
123 vtkGetMacro(GenerateClippedOutput,int);
124 vtkBooleanMacro(GenerateClippedOutput,int);
126
130 vtkUnstructuredGrid* GetClippedOutput();
131
133
138 vtkSetMacro(CutoffRadiusFactor,double);
139 vtkGetMacro(CutoffRadiusFactor,double);
141
143
147 vtkSetMacro(ClipValue,double);
148 vtkGetMacro(ClipValue,double);
150
152
157 vtkSetMacro(UseRadiusInformation,int);
158 vtkGetMacro(UseRadiusInformation,int);
159 vtkBooleanMacro(UseRadiusInformation,int);
161
162 protected:
165
166 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
167
168 vtkPolyData* Centerlines;
169
171
174
177
180 double ClipValue;
181
183
185
186 private:
188 void operator=(const vtkvmtkUnstructuredGridCenterlineGroupsClipper&); // Not implemented.
189};
190
191#endif
static vtkvmtkUnstructuredGridCenterlineGroupsClipper * New()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override