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

Method GetVertexWeightArrayName

IO/Geometry/vtkChacoReader.cxx:109–118  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

107
108//------------------------------------------------------------------------------
109const char* vtkChacoReader::GetVertexWeightArrayName(int weight)
110{
111 if (this->GetGenerateVertexWeightArrays() && (weight > 0) &&
112 (weight <= this->NumberOfVertexWeights))
113 {
114 return this->VarrayName[weight - 1].c_str();
115 }
116
117 return nullptr;
118}
119
120//------------------------------------------------------------------------------
121const char* vtkChacoReader::GetEdgeWeightArrayName(int weight)

Callers 2

PrintSelfMethod · 0.95
SetUpEmptyGridMethod · 0.80

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected