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

Method SetFormat

IO/Parallel/vtkPlot3DMetaReader.cxx:190–208  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

188
189//------------------------------------------------------------------------------
190void vtkPlot3DMetaReader::SetFormat(Json::Value* val)
191{
192 std::string value = val->asString();
193 if (value == "binary")
194 {
195 this->Reader->BinaryFileOn();
196 }
197 else if (value == "ascii")
198 {
199 this->Reader->BinaryFileOff();
200 }
201 else
202 {
203 vtkErrorMacro("Unrecognized file type: " << value
204 << ". Valid options are \"binary\" and \"ascii\"."
205 " Setting to binary");
206 this->Reader->BinaryFileOn();
207 }
208}
209
210//------------------------------------------------------------------------------
211void vtkPlot3DMetaReader::SetBlanking(Json::Value* val)

Callers 13

InheritMethod · 0.45
BuildMethod · 0.45
XdmfValuesBinaryMethod · 0.45
BuildMethod · 0.45
BuildMethod · 0.45
BuildMethod · 0.45
BuildMethod · 0.45
BuildMethod · 0.45
XdmfValuesXMLMethod · 0.45
BuildMethod · 0.45
XdmfValuesHDFMethod · 0.45
CopyMethod · 0.45

Calls 1

asStringMethod · 0.80

Tested by

no test coverage detected