}
}
+ return myPoints;
+}
+
+void
+VTKViewer_DelaunayTriangulator
+::UpdatePolyData()
+{
myGeometryFilter->Update();
myPolyData = myGeometryFilter->GetOutput();
-
- return myPoints;
}
vtkIdType
VTKViewer_DelaunayTriangulator
::GetCellLength()
{
+ if(!myPolyData) this->UpdatePolyData();
return myPolyData->GetLength();
}
VTKViewer_DelaunayTriangulator
::GetNumFaces()
{
+ if(!myPolyData) this->UpdatePolyData();
return myPolyData->GetNumberOfCells();
}
VTKViewer_DelaunayTriangulator
::GetFace(vtkIdType theFaceId)
{
+ if(!myPolyData) this->UpdatePolyData();
return myPolyData->GetCell(theFaceId);
}