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

Method SetFileName

IO/XML/vtkXMLCompositeDataReader.cxx:504–515  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

502
503//------------------------------------------------------------------------------
504void vtkXMLCompositeDataReader::SetFileName(const char* fname)
505{
506 if (fname == nullptr || this->GetFileName() == nullptr || strcmp(fname, this->GetFileName()) != 0)
507 {
508 // this is a disaster, but a necessary temporary workaround for paraview/paraview#20179:
509 // if filename changed, reset information about update-piece so that
510 // RequestInformation stage does not rely on potentially obsolete
511 // information.
512 this->Internal->ResetUpdateInformation();
513 }
514 this->Superclass::SetFileName(fname);
515}
516
517//------------------------------------------------------------------------------
518int vtkXMLCompositeDataReader::RequestInformation(

Callers 15

UpdateToNextFileMethod · 0.45
ResetReaderMethod · 0.45
ReadPieceMethod · 0.45
ReadPieceMethod · 0.45
ParseXMLMethod · 0.45
GetOriginAndSpacingMethod · 0.45
ReadPieceMethod · 0.45
WriteInternalMethod · 0.45
ReadOutputTypeMethod · 0.45
RequestDataObjectMethod · 0.45
~vtkXMLWriterBaseMethod · 0.45

Calls 2

GetFileNameMethod · 0.45