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

Method InitializeData

IO/Infovis/vtkBiomTableReader.cxx:244–271  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

242
243//------------------------------------------------------------------------------
244void vtkBiomTableReader::InitializeData()
245{
246 switch (this->DataType)
247 {
248 case VTK_INT:
249 {
250 int i = 0;
251 vtkVariant v(i);
252 this->FillData(v);
253 break;
254 }
255 case VTK_FLOAT:
256 {
257 float f = 0.0;
258 vtkVariant v(f);
259 this->FillData(v);
260 break;
261 }
262 case VTK_STRING:
263 default:
264 {
265 std::string s;
266 vtkVariant v(s);
267 this->FillData(v);
268 break;
269 }
270 }
271}
272
273//------------------------------------------------------------------------------
274void vtkBiomTableReader::FillData(vtkVariant v)

Callers 1

ReadMeshSimpleMethod · 0.95

Calls 1

FillDataMethod · 0.95

Tested by

no test coverage detected