Commit ffa7b459 authored by Cory Quammen's avatar Cory Quammen

Code changes per my review

parent 482a51a2
......@@ -20,14 +20,14 @@
// the intersection of the input vtkPolyData objects. This contains five
// different attached data arrays:
//
// SurfaceID: Point data array that contatins information about the orgin
// SurfaceID: Point data array that contains information about the origin
// surface of each point
//
// Input0CellID: Cell data array that says the contains the original
// cell id number on the first input mesh
// Input0CellID: Cell data array that contains the original
// cell ID number on the first input mesh
//
// Input1CellID: Cell data array that says the contains the original
// cell id number on the second input mesh
// Input1CellID: Cell data array that contains the original
// cell ID number on the second input mesh
//
// NewCell0ID: Cell data array that contains information about which cells
// of the remeshed first input surface it touches (If split)
......@@ -42,21 +42,18 @@
// If the meshes are split, The output vtkPolyDatas contain three possible
// data arrays:
//
// BoundaryPoints: This is a boolean indicating whether or not the point is
// IntersectionPoint: This is a boolean indicating whether or not the point is
// on the boundary of the two input objects
//
// BadTri: If the surface is cleaned and checked, this is a cell data array
// BadTriangle: If the surface is cleaned and checked, this is a cell data array
// indicating whether or not the cell has edges with multiple neighbors
// A manifold surface will have 0 everywhere for this array!
//
// FreeEdge: If the surface is cleaned and checked, this is a cell data array
// indicating if the cell has any free edges. A watertight surface will have
// 0 everywhere for this array!
/** @file vtkIntersectionPolyDataFilter.cxx
* @brief This is a filter that performs the intersection of surfaces
* @author Adam Updegrove
* @author updega2@gmail.com
*/
//
// Author: Adam Updegrove updega2@gmail.com
#ifndef vtkIntersectionPolyDataFilter_h
#define vtkIntersectionPolyDataFilter_h
......@@ -93,10 +90,10 @@ public:
// Description:
// If on, the output split surfaces will contain information about which
// points are on the boundary of the two inputs. Default: ON
vtkGetMacro(ApplyBoundaryPointArray, int);
vtkSetMacro(ApplyBoundaryPointArray, int);
vtkBooleanMacro(ApplyBoundaryPointArray, int);
// points are on the intersection of the two inputs. Default: ON
vtkGetMacro(ComputeIntersectionPointArray, int);
vtkSetMacro(ComputeIntersectionPointArray, int);
vtkBooleanMacro(ComputeIntersectionPointArray, int);
// Description:
// If on, the normals of the input will be checked. Default: OFF
......@@ -127,7 +124,10 @@ public:
// r2), returns whether the two triangles intersect. If they do,
// the endpoints of the line forming the intersection are returned
// in pt1 and pt2. The parameter coplanar is set to 1 if the
// triangles are coplanar and 0 otherwise.
// triangles are coplanar and 0 otherwise. The surfaceid array
// is filled with the surface on which the first and second
// intersection points resides, respectively. A geometric tolerance
// can be specified in the last argument.
static int TriangleTriangleIntersection(double p1[3], double q1[3],
double r1[3], double p2[3],
double q2[3], double r2[3],
......@@ -162,7 +162,7 @@ private:
int NumberOfIntersectionLines;
int SplitFirstOutput;
int SplitSecondOutput;
int ApplyBoundaryPointArray;
int ComputeIntersectionPointArray;
int CheckMesh;
int CheckInput;
int Status;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment