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

Method ReadLineThickness

IO/MINC/vtkMNIObjectReader.cxx:357–371  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

355
356//------------------------------------------------------------------------------
357int vtkMNIObjectReader::ReadLineThickness(vtkProperty* property)
358{
359 vtkFloatArray* tmpArray = vtkFloatArray::New();
360
361 int status = this->ParseValues(tmpArray, 1);
362
363 if (status != 0)
364 {
365 property->SetLineWidth(tmpArray->GetValue(0));
366 }
367
368 tmpArray->Delete();
369
370 return status;
371}
372
373//------------------------------------------------------------------------------
374int vtkMNIObjectReader::ReadNumberOfPoints(vtkIdType* numPoints)

Callers 1

ReadLineObjectMethod · 0.95

Calls 5

ParseValuesMethod · 0.95
NewFunction · 0.70
DeleteMethod · 0.65
SetLineWidthMethod · 0.45
GetValueMethod · 0.45

Tested by

no test coverage detected