------------------------------------------------------------------------------
| 272 | |
| 273 | //------------------------------------------------------------------------------ |
| 274 | vtkXYPlotActor::~vtkXYPlotActor() |
| 275 | { |
| 276 | // Get rid of the list of array names. |
| 277 | int num = this->InputConnectionHolder->GetNumberOfInputConnections(0); |
| 278 | if (this->SelectedInputScalars) |
| 279 | { |
| 280 | for (int i = 0; i < num; ++i) |
| 281 | { |
| 282 | delete[] this->SelectedInputScalars[i]; |
| 283 | this->SelectedInputScalars[i] = nullptr; |
| 284 | } |
| 285 | delete[] this->SelectedInputScalars; |
| 286 | this->SelectedInputScalars = nullptr; |
| 287 | } |
| 288 | this->SelectedInputScalarsComponent->Delete(); |
| 289 | this->SelectedInputScalarsComponent = nullptr; |
| 290 | |
| 291 | // Now we can get rid of the inputs. |
| 292 | this->InputConnectionHolder->Delete(); |
| 293 | this->InputConnectionHolder = nullptr; |
| 294 | |
| 295 | this->DataObjectInputConnectionHolder->Delete(); |
| 296 | |
| 297 | this->TitleMapper->Delete(); |
| 298 | this->TitleMapper = nullptr; |
| 299 | this->TitleActor->Delete(); |
| 300 | this->TitleActor = nullptr; |
| 301 | |
| 302 | this->SetTitle(nullptr); |
| 303 | this->SetXTitle(nullptr); |
| 304 | this->SetXLabelFormat(nullptr); |
| 305 | this->SetYLabelFormat(nullptr); |
| 306 | |
| 307 | this->InitializeEntries(); |
| 308 | |
| 309 | this->GlyphSource->Delete(); |
| 310 | this->ClipPlanes->Delete(); |
| 311 | |
| 312 | this->ChartBoxActor->Delete(); |
| 313 | this->ChartBoxMapper->Delete(); |
| 314 | this->ChartBoxPolyData->Delete(); |
| 315 | |
| 316 | this->ChartBorderActor->Delete(); |
| 317 | this->ChartBorderMapper->Delete(); |
| 318 | this->ChartBorderPolyData->Delete(); |
| 319 | |
| 320 | this->ReferenceLinesActor->Delete(); |
| 321 | this->ReferenceLinesMapper->Delete(); |
| 322 | this->ReferenceLinesPolyData->Delete(); |
| 323 | |
| 324 | this->XComponent->Delete(); |
| 325 | this->YComponent->Delete(); |
| 326 | |
| 327 | this->LinesOn->Delete(); |
| 328 | this->PointsOn->Delete(); |
| 329 | |
| 330 | this->TitleTextProperty->Delete(); |
| 331 | this->TitleTextProperty = nullptr; |
nothing calls this directly
no test coverage detected