VMTK
Loading...
Searching...
No Matches
vtkvmtkCenterlineSphereDistance.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 __vtkvmtkCenterlineSphereDistance_h
35#define __vtkvmtkCenterlineSphereDistance_h
36
37#include "vtkObject.h"
38//#include "vtkvmtkComputationalGeometryWin32Header.h"
39#include "vtkvmtkWin32Header.h"
40
41class vtkPolyData;
42
43class VTK_VMTK_COMPUTATIONAL_GEOMETRY_EXPORT vtkvmtkCenterlineSphereDistance : public vtkObject
44{
45 public:
46 vtkTypeMacro(vtkvmtkCenterlineSphereDistance,vtkObject);
47 void PrintSelf(std::ostream& os, vtkIndent indent) override;
49
56 static void FindTouchingSphereCenter(vtkPolyData* centerlines, const char* radiusArrayName, vtkIdType cellId, vtkIdType subId, double pcoord, vtkIdType& touchingSubId, double& touchingPCoord, bool forward=true);
57
63 static void FindNTouchingSphereCenter(vtkPolyData* centerlines, const char* radiusArrayName, vtkIdType cellId, vtkIdType subId, double pcoord, int numberOfTouchingSpheres, vtkIdType& touchingSubId, double& touchingPCoord, bool forward=true);
64
65 protected:
68
69 private:
71 void operator=(const vtkvmtkCenterlineSphereDistance&); // Not implemented.
72};
73
74#endif
Provides a collection of functions that compute point ids which are n-spheres away from a reference p...
static void FindTouchingSphereCenter(vtkPolyData *centerlines, const char *radiusArrayName, vtkIdType cellId, vtkIdType subId, double pcoord, vtkIdType &touchingSubId, double &touchingPCoord, bool forward=true)
void PrintSelf(std::ostream &os, vtkIndent indent) override
static void FindNTouchingSphereCenter(vtkPolyData *centerlines, const char *radiusArrayName, vtkIdType cellId, vtkIdType subId, double pcoord, int numberOfTouchingSpheres, vtkIdType &touchingSubId, double &touchingPCoord, bool forward=true)
static vtkvmtkCenterlineSphereDistance * New()