MCPcopy Create free account
hub / github.com/Kitware/VTK / RemoveAllDataSetInputConnections

Method RemoveAllDataSetInputConnections

Rendering/Annotation/vtkXYPlotActor.cxx:469–484  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

467
468//------------------------------------------------------------------------------
469void vtkXYPlotActor::RemoveAllDataSetInputConnections()
470{
471 int idx, num;
472
473 num = this->InputConnectionHolder->GetNumberOfInputConnections(0);
474 this->InputConnectionHolder->RemoveAllInputs();
475
476 for (idx = 0; idx < num; ++idx)
477 {
478 delete[] this->SelectedInputScalars[idx];
479 this->SelectedInputScalars[idx] = nullptr;
480 }
481 this->SelectedInputScalarsComponent->Reset();
482
483 this->DataObjectInputConnectionHolder->RemoveAllInputs();
484}
485
486//------------------------------------------------------------------------------
487void vtkXYPlotActor::RemoveDataSetInput(vtkDataSet* ds, const char* arrayName, int component)

Callers 1

Calls 3

RemoveAllInputsMethod · 0.80
ResetMethod · 0.45

Tested by

no test coverage detected