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

Method SetFileVersion

IO/Legacy/vtkDataWriter.cxx:190–201  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

188
189//------------------------------------------------------------------------------
190void vtkDataWriter::SetFileVersion(int version)
191{
192 if (version == this->FileVersion)
193 {
194 return;
195 }
196
197 this->Modified();
198 this->FileVersion = version;
199 this->FileMajorVersion = version / 10;
200 this->FileMinorVersion = version - (10 * this->FileMajorVersion);
201}
202
203//------------------------------------------------------------------------------
204// Write the header of a vtk data file. Returns 0 if error.

Callers 6

~vtkXMLFileReadTesterMethod · 0.80
StartElementMethod · 0.80
WriteDataMethod · 0.80
WriteDataMethod · 0.80
TestVTKLegacy.pyFile · 0.80

Calls 1

ModifiedMethod · 0.45

Tested by 3

~vtkXMLFileReadTesterMethod · 0.64
StartElementMethod · 0.64