MCPcopy Create free account
hub / github.com/Kitware/ParaView / HasAcceptableArray

Method HasAcceptableArray

Remoting/ServerManager/vtkSMInputArrayDomain.cxx:250–262  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

248
249//----------------------------------------------------------------------------
250bool vtkSMInputArrayDomain::HasAcceptableArray(vtkPVDataSetAttributesInformation* attrInfo)
251{
252 for (int idx = 0, num = attrInfo->GetNumberOfArrays(); idx < num; ++idx)
253 {
254 vtkPVArrayInformation* arrayInfo = attrInfo->GetArrayInformation(idx);
255 if (this->IsArrayAcceptable(arrayInfo) != -1)
256 {
257 return true;
258 }
259 }
260
261 return false;
262}
263
264//---------------------------------------------------------------------------
265int vtkSMInputArrayDomain::ReadXMLAttributes(vtkSMProperty* prop, vtkPVXMLElement* element)

Callers 1

IsInDomainMethod · 0.95

Calls 3

IsArrayAcceptableMethod · 0.95
GetNumberOfArraysMethod · 0.45
GetArrayInformationMethod · 0.45

Tested by

no test coverage detected