VTK
vtkIntersectionPolyDataFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkIntersectionPolyDataFilter.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 =========================================================================*/
35 #ifndef vtkIntersectionPolyDataFilter_h
36 #define vtkIntersectionPolyDataFilter_h
37 
38 #include "vtkFiltersGeneralModule.h" // For export macro
39 #include "vtkPolyDataAlgorithm.h"
40 
42 {
43 public:
46  virtual void PrintSelf(ostream &os, vtkIndent indent);
47 
49 
51  vtkGetMacro(SplitFirstOutput, int);
52  vtkSetMacro(SplitFirstOutput, int);
53  vtkBooleanMacro(SplitFirstOutput, int);
55 
57 
59  vtkGetMacro(SplitSecondOutput, int);
60  vtkSetMacro(SplitSecondOutput, int);
61  vtkBooleanMacro(SplitSecondOutput, int);
63 
65 
70  static int TriangleTriangleIntersection(double p1[3], double q1[3], double r1[3],
71  double p2[3], double q2[3], double r2[3],
72  int &coplanar, double pt1[3], double pt2[3]);
74 
75 protected:
78 
81 
82 private:
84  void operator=(const vtkIntersectionPolyDataFilter&); // Not implemented
85 
86  int SplitFirstOutput;
87  int SplitSecondOutput;
88 
89  class Impl;
90 };
91 
92 
93 #endif // vtkIntersectionPolyDataFilter_h
virtual int FillInputPortInformation(int port, vtkInformation *info)
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
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.