VMTK
vtkvmtkCenterlineSphereDistance.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: VMTK
4 Module: $RCSfile: vtkvmtkCenterlineSphereDistance.h,v $
5 Language: C++
6 
7  Copyright (c) Luca Antiga, David Steinman. All rights reserved.
8  See LICENSE file for details.
9 
10  Portions of this code are covered under the VTK copyright.
11  See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm
12  for details.
13 
14  This software is distributed WITHOUT ANY WARRANTY; without even
15  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16  PURPOSE. See the above copyright notices for more information.
17 
18 =========================================================================*/
30 #ifndef __vtkvmtkCenterlineSphereDistance_h
31 #define __vtkvmtkCenterlineSphereDistance_h
32 
33 #include "vtkObject.h"
34 //#include "vtkvmtkComputationalGeometryWin32Header.h"
35 #include "vtkvmtkWin32Header.h"
36 
37 class vtkPolyData;
38 
39 class VTK_VMTK_COMPUTATIONAL_GEOMETRY_EXPORT vtkvmtkCenterlineSphereDistance : public vtkObject
40 {
41  public:
42  vtkTypeMacro(vtkvmtkCenterlineSphereDistance,vtkObject);
43  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
44  static vtkvmtkCenterlineSphereDistance* New();
45 
46  static void FindTouchingSphereCenter(vtkPolyData* centerlines, const char* radiusArrayName, vtkIdType cellId, vtkIdType subId, double pcoord, vtkIdType& touchingSubId, double& touchingPCoord, bool forward=true);
47 
48  static void FindNTouchingSphereCenter(vtkPolyData* centerlines, const char* radiusArrayName, vtkIdType cellId, vtkIdType subId, double pcoord, int numberOfTouchingSpheres, vtkIdType& touchingSubId, double& touchingPCoord, bool forward=true);
49 
50  protected:
53 
54  private:
56  void operator=(const vtkvmtkCenterlineSphereDistance&); // Not implemented.
57 };
58 
59 #endif
Collection of functions which compute point ids which are n-spheres away from a reference point...