VMTK
Loading...
Searching...
No Matches
vtkvmtkCenterlineBifurcationReferenceSystems.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=========================================================================*/
33
34#ifndef __vtkvmtkCenterlineBifurcationReferenceSystems_h
35#define __vtkvmtkCenterlineBifurcationReferenceSystems_h
36
37#include "vtkPolyDataAlgorithm.h"
38//#include "vtkvmtkComputationalGeometryWin32Header.h"
39#include "vtkvmtkWin32Header.h"
40
41class vtkPoints;
42class vtkDoubleArray;
43class vtkIntArray;
44
45class VTK_VMTK_COMPUTATIONAL_GEOMETRY_EXPORT vtkvmtkCenterlineBifurcationReferenceSystems : public vtkPolyDataAlgorithm
46{
47 public:
48 vtkTypeMacro(vtkvmtkCenterlineBifurcationReferenceSystems,vtkPolyDataAlgorithm);
49 void PrintSelf(std::ostream& os, vtkIndent indent) override;
50
52
54
59 vtkSetStringMacro(RadiusArrayName);
60 vtkGetStringMacro(RadiusArrayName);
62
64
69 vtkSetStringMacro(GroupIdsArrayName);
70 vtkGetStringMacro(GroupIdsArrayName);
72
74
80 vtkSetStringMacro(BlankingArrayName);
81 vtkGetStringMacro(BlankingArrayName);
83
85
90 vtkSetStringMacro(NormalArrayName);
91 vtkGetStringMacro(NormalArrayName);
93
95
101 vtkSetStringMacro(UpNormalArrayName);
102 vtkGetStringMacro(UpNormalArrayName);
104
105 protected:
108
109 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
110
111 void ComputeGroupReferenceSystem(vtkPolyData* input, int referenceGroupId, vtkPoints* outputPoints, vtkDoubleArray* normalArray, vtkDoubleArray* upNormalArray, vtkIntArray* referenceGroupIdsArray);
112
116
119
120 private:
122 void operator=(const vtkvmtkCenterlineBifurcationReferenceSystems&); // Not implemented.
123};
124
125#endif
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void ComputeGroupReferenceSystem(vtkPolyData *input, int referenceGroupId, vtkPoints *outputPoints, vtkDoubleArray *normalArray, vtkDoubleArray *upNormalArray, vtkIntArray *referenceGroupIdsArray)
static vtkvmtkCenterlineBifurcationReferenceSystems * New()