------------------------------------------------------------------------------
| 82 | |
| 83 | //------------------------------------------------------------------------------ |
| 84 | void vtkCameraPathRepresentation::AddCameraAt(vtkCamera* camera, int index) |
| 85 | { |
| 86 | if (index < 0 || index > this->NumberOfHandles || camera == nullptr) |
| 87 | { |
| 88 | vtkErrorMacro(<< "ERROR: Invalid index or nullptr camera\n"); |
| 89 | return; |
| 90 | } |
| 91 | |
| 92 | this->InsertCamera(camera, index); |
| 93 | |
| 94 | this->UpdateConfiguration(this->NumberOfHandles + 1); |
| 95 | } |
| 96 | |
| 97 | //------------------------------------------------------------------------------ |
| 98 | void vtkCameraPathRepresentation::InsertCamera(vtkCamera* camera, int index) |