------------------------------------------------------------------------------
| 340 | |
| 341 | //------------------------------------------------------------------------------ |
| 342 | void vtkXYPlotActor::InitializeEntries() |
| 343 | { |
| 344 | if (this->NumberOfInputs > 0) |
| 345 | { |
| 346 | for (int i = 0; i < this->NumberOfInputs; i++) |
| 347 | { |
| 348 | this->PlotData[i]->Delete(); |
| 349 | this->PlotGlyph[i]->Delete(); |
| 350 | this->PlotAppend[i]->Delete(); |
| 351 | this->PlotMapper[i]->Delete(); |
| 352 | this->PlotActor[i]->Delete(); |
| 353 | } // for all entries |
| 354 | |
| 355 | delete[] this->PlotData; |
| 356 | this->PlotData = nullptr; |
| 357 | |
| 358 | delete[] this->PlotGlyph; |
| 359 | this->PlotGlyph = nullptr; |
| 360 | |
| 361 | delete[] this->PlotAppend; |
| 362 | this->PlotAppend = nullptr; |
| 363 | |
| 364 | delete[] this->PlotMapper; |
| 365 | this->PlotMapper = nullptr; |
| 366 | |
| 367 | delete[] this->PlotActor; |
| 368 | this->PlotActor = nullptr; |
| 369 | this->NumberOfInputs = 0; |
| 370 | } // if entries have been defined |
| 371 | } |
| 372 | |
| 373 | //------------------------------------------------------------------------------ |
| 374 | bool vtkXYPlotActor::DoesConnectionMatch(int i, vtkAlgorithmOutput* in) |
no test coverage detected