------------------------------------------------------------------------------
| 263 | |
| 264 | //------------------------------------------------------------------------------ |
| 265 | void vtkSelectEnclosedPoints::Initialize(vtkPolyData* surface) |
| 266 | { |
| 267 | if (!this->CellLocator) |
| 268 | { |
| 269 | this->CellLocator = vtkStaticCellLocator::New(); |
| 270 | } |
| 271 | |
| 272 | this->Surface = surface; |
| 273 | surface->GetBounds(this->Bounds); |
| 274 | this->Length = surface->GetLength(); |
| 275 | |
| 276 | // Set up structures for acceleration ray casting |
| 277 | this->CellLocator->SetDataSet(surface); |
| 278 | this->CellLocator->BuildLocator(); |
| 279 | } |
| 280 | |
| 281 | //------------------------------------------------------------------------------ |
| 282 | int vtkSelectEnclosedPoints::IsInside(vtkIdType inputPtId) |
no test coverage detected