Commit 01c466f8 authored by Sean McBride's avatar Sean McBride

Changed some related API from int to vtkTypeBool

parent 6458acf8
......@@ -406,7 +406,7 @@ void vtkResliceCursorLineRepresentation
}
//----------------------------------------------------------------------
int vtkResliceCursorLineRepresentation
vtkTypeBool vtkResliceCursorLineRepresentation
::DisplayToReslicePlaneIntersection(
double displayPos[2], double intersectionPos[3] )
{
......
......@@ -118,7 +118,7 @@ protected:
double axis[3], // vector about which we rotate
double angle, // angle in radians
double o[3] );
int DisplayToReslicePlaneIntersection(
vtkTypeBool DisplayToReslicePlaneIntersection(
double displayPos[2], double intersectionPos[3] );
vtkResliceCursorActor * ResliceCursorActor;
......
......@@ -436,7 +436,7 @@ void vtkResliceCursorPicker::InverseTransformPoint( double pIn[4], double pOut[4
}
//----------------------------------------------------------------------------
int vtkResliceCursorPicker::IntersectPolyDataWithLine(
vtkTypeBool vtkResliceCursorPicker::IntersectPolyDataWithLine(
double p1[3], double p2[3], vtkPolyData *data, double tol )
{
vtkIdType numCells = data->GetNumberOfCells();
......@@ -485,7 +485,7 @@ int vtkResliceCursorPicker::IntersectPolyDataWithLine(
}
//----------------------------------------------------------------------------
int vtkResliceCursorPicker::IntersectPointWithLine(
vtkTypeBool vtkResliceCursorPicker::IntersectPointWithLine(
double p1[3], double p2[3], double x[3], double tol )
{
......
......@@ -87,9 +87,9 @@ protected:
vtkResliceCursorPicker();
~vtkResliceCursorPicker() override;
virtual int IntersectPolyDataWithLine(
virtual vtkTypeBool IntersectPolyDataWithLine(
double p1[3], double p2[3], vtkPolyData *, double tol );
virtual int IntersectPointWithLine(
virtual vtkTypeBool IntersectPointWithLine(
double p1[3], double p2[3], double X[3], double tol );
void TransformPlane();
......
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