VMTK
vtkvmtkTopologicalSeamFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: VMTK
4 Module: $RCSfile: vtkvmtkTopologicalSeamFilter.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 =========================================================================*/
26 #ifndef __vtkvmtkTopologicalSeamFilter_h
27 #define __vtkvmtkTopologicalSeamFilter_h
28 
29 #include "vtkPolyDataAlgorithm.h"
30 #include "vtkImplicitFunction.h"
31 #include "vtkvmtkWin32Header.h"
32 
33 class VTK_VMTK_MISC_EXPORT vtkvmtkTopologicalSeamFilter : public vtkPolyDataAlgorithm
34 {
35  public:
36  vtkTypeMacro(vtkvmtkTopologicalSeamFilter,vtkPolyDataAlgorithm);
37  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
38 
39  static vtkvmtkTopologicalSeamFilter *New();
40 
41  vtkSetVectorMacro(ClosestPoint,double,3);
42  vtkGetVectorMacro(ClosestPoint,double,3);
43 
44  vtkSetStringMacro(SeamScalarsArrayName);
45  vtkGetStringMacro(SeamScalarsArrayName);
46 
47  vtkSetObjectMacro(SeamFunction,vtkImplicitFunction);
48  vtkGetObjectMacro(SeamFunction,vtkImplicitFunction);
49 
50  protected:
53 
54  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
55 
56  double ClosestPoint[3];
58  vtkImplicitFunction* SeamFunction;
59 
60  private:
62  void operator=(const vtkvmtkTopologicalSeamFilter&); // Not implemented.
63 };
64 
65 #endif
Create a feature edge on a surface from a point and implicit plane function.