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

Method GetEdgeWeightArrayName

IO/Geometry/vtkChacoReader.cxx:121–129  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

119
120//------------------------------------------------------------------------------
121const char* vtkChacoReader::GetEdgeWeightArrayName(int weight)
122{
123 if (this->GetGenerateEdgeWeightArrays() && (weight > 0) && (weight <= this->NumberOfEdgeWeights))
124 {
125 return this->EarrayName[weight - 1].c_str();
126 }
127
128 return nullptr;
129}
130
131//------------------------------------------------------------------------------
132int vtkChacoReader::RequestInformation(vtkInformation* vtkNotUsed(request),

Callers 2

PrintSelfMethod · 0.95
SetUpEmptyGridMethod · 0.80

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected