VTK
vtkDistancePolyDataFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDistancePolyDataFilter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
39 #ifndef __vtkDistancePolyDataFilter_h
40 #define __vtkDistancePolyDataFilter_h
41 
42 #include "vtkPolyDataAlgorithm.h"
43 
45 public:
48  void PrintSelf(ostream& os, vtkIndent indent);
49 
51 
53  vtkSetMacro(SignedDistance,int);
54  vtkGetMacro(SignedDistance,int);
55  vtkBooleanMacro(SignedDistance,int);
57 
59 
61  vtkSetMacro(NegateDistance,int);
62  vtkGetMacro(NegateDistance,int);
63  vtkBooleanMacro(NegateDistance,int);
65 
67 
69  vtkSetMacro(ComputeSecondDistance,int);
70  vtkGetMacro(ComputeSecondDistance,int);
71  vtkBooleanMacro(ComputeSecondDistance,int);
73 
76  vtkPolyData* GetSecondDistanceOutput();
77 
78 protected:
81 
84 
85  void GetPolyDataDistance(vtkPolyData*, vtkPolyData*);
86 
87 private:
88  vtkDistancePolyDataFilter(const vtkDistancePolyDataFilter&); // Not implemented
89  void operator=(const vtkDistancePolyDataFilter&); // Not implemented
90 
91  int SignedDistance;
92  int NegateDistance;
93  int ComputeSecondDistance;
94 };
95 
96 #endif