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

Method RemoveAllDataObjectInputConnections

Rendering/Annotation/vtkXYPlotActor.cxx:621–634  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

619
620//------------------------------------------------------------------------------
621void vtkXYPlotActor::RemoveAllDataObjectInputConnections()
622{
623 int idx, num;
624
625 num = this->DataObjectInputConnectionHolder->GetNumberOfInputConnections(0);
626 this->DataObjectInputConnectionHolder->RemoveAllInputs();
627
628 for (idx = 0; idx < num; ++idx)
629 {
630 delete[] this->SelectedInputScalars[idx];
631 this->SelectedInputScalars[idx] = nullptr;
632 }
633 this->SelectedInputScalarsComponent->Reset();
634}
635
636//------------------------------------------------------------------------------
637vtkAlgorithmOutput* vtkXYPlotActor::GetDataObjectInputConnection(unsigned int idx)

Callers 1

Calls 3

RemoveAllInputsMethod · 0.80
ResetMethod · 0.45

Tested by

no test coverage detected