------------------------------------------------------------------------------ This function is used to return an index given an ID
| 354 | //------------------------------------------------------------------------------ |
| 355 | // This function is used to return an index given an ID |
| 356 | bool vtkRenderWindowInteractor::IsPointerIndexSet(int i) |
| 357 | { |
| 358 | if (i < VTKI_MAX_POINTERS) |
| 359 | { |
| 360 | return (this->PointerIndexLookup[i] != 0); |
| 361 | } |
| 362 | return false; |
| 363 | } |
| 364 | |
| 365 | //------------------------------------------------------------------------------ |
| 366 | // Creates an instance of vtkPropPicker by default |