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 "vtkFiltersGeneralModule.h" // For export macro
43 #include "vtkPolyDataAlgorithm.h"
44 
46 {
47 public:
50  void PrintSelf(ostream& os, vtkIndent indent);
51 
53 
55  vtkSetMacro(SignedDistance,int);
56  vtkGetMacro(SignedDistance,int);
57  vtkBooleanMacro(SignedDistance,int);
59 
61 
63  vtkSetMacro(NegateDistance,int);
64  vtkGetMacro(NegateDistance,int);
65  vtkBooleanMacro(NegateDistance,int);
67 
69 
71  vtkSetMacro(ComputeSecondDistance,int);
72  vtkGetMacro(ComputeSecondDistance,int);
73  vtkBooleanMacro(ComputeSecondDistance,int);
75 
79  vtkPolyData* GetSecondDistanceOutput();
80 
81 protected:
84 
86  void GetPolyDataDistance(vtkPolyData*, vtkPolyData*);
87 
88 private:
89  vtkDistancePolyDataFilter(const vtkDistancePolyDataFilter&); // Not implemented
90  void operator=(const vtkDistancePolyDataFilter&); // Not implemented
91 
92  int SignedDistance;
93  int NegateDistance;
94  int ComputeSecondDistance;
95 };
96 
97 #endif
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:83
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKFILTERSGENERAL_EXPORT
Store zero or more vtkInformation instances.