VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 public:
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
52 
54  vtkSetMacro(SignedDistance,int);
55  vtkGetMacro(SignedDistance,int);
56  vtkBooleanMacro(SignedDistance,int);
58 
60 
62  vtkSetMacro(NegateDistance,int);
63  vtkGetMacro(NegateDistance,int);
64  vtkBooleanMacro(NegateDistance,int);
66 
68 
70  vtkSetMacro(ComputeSecondDistance,int);
71  vtkGetMacro(ComputeSecondDistance,int);
72  vtkBooleanMacro(ComputeSecondDistance,int);
74 
77  vtkPolyData* GetSecondDistanceOutput();
78 
79 protected:
82 
85 
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
virtual int FillInputPortInformation(int port, vtkInformation *info)
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:83
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:83
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:619
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.
#define vtkBooleanMacro(name, type)
Definition: vtkSetGet.h:234
#define vtkSetMacro(name, type)
Definition: vtkSetGet.h:69