28 #ifndef __vtkvmtkBoundaryReferenceSystems_h 29 #define __vtkvmtkBoundaryReferenceSystems_h 31 #include "vtkPolyDataAlgorithm.h" 33 #include "vtkvmtkWin32Header.h" 43 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
50 vtkSetStringMacro(BoundaryRadiusArrayName);
51 vtkGetStringMacro(BoundaryRadiusArrayName);
57 vtkSetStringMacro(BoundaryNormalsArrayName);
58 vtkGetStringMacro(BoundaryNormalsArrayName);
64 vtkSetStringMacro(Point1ArrayName);
65 vtkGetStringMacro(Point1ArrayName);
71 vtkSetStringMacro(Point2ArrayName);
72 vtkGetStringMacro(Point2ArrayName);
75 static void ComputeBoundaryBarycenter(vtkPoints* points,
double barycenter[3]);
76 static double ComputeBoundaryMeanRadius(vtkPoints* points,
double barycenter[3]);
77 static void ComputeBoundaryNormal(vtkPoints* points,
double barycenter[3],
double normal[3]);
78 static void OrientBoundaryNormalOutwards(vtkPolyData* surface, vtkPolyData* boundaries, vtkIdType boundaryCellId,
double normal[3],
double outwardNormal[3]);
79 static void ComputeReferenceSystemPoints(
double origin[3],
double normal[3],
double radius,
double point1[3],
double point2[3]);
85 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
char * BoundaryRadiusArrayName
Creates a reference system consisting of a radius and normals on top of boundaries.
char * BoundaryNormalsArrayName