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

Method SetXYZFileName

IO/Parallel/vtkMultiBlockPLOT3DReader.cxx:3203–3225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3201}
3202
3203void vtkMultiBlockPLOT3DReader::SetXYZFileName(const char* name)
3204{
3205 if (this->XYZFileName && name && !strcmp(this->XYZFileName, name))
3206 {
3207 return;
3208 }
3209
3210 delete[] this->XYZFileName;
3211
3212 if (name)
3213 {
3214 this->XYZFileName = new char[strlen(name) + 1];
3215 strcpy(this->XYZFileName, name);
3216 }
3217 else
3218 {
3219 this->XYZFileName = nullptr;
3220 }
3221
3222 this->Internal->NeedToCheckXYZFile = true;
3223 this->ClearGeometryCache();
3224 this->Modified();
3225}
3226
3227void vtkMultiBlockPLOT3DReader::SetScalarFunctionNumber(int num)
3228{

Callers 15

Plot3DScalars.pyFile · 0.80
Plot3DVectors.pyFile · 0.80
TestGL2PSScalarBarFunction · 0.80
SetFileNameFunction · 0.80
RequestDataMethod · 0.80
TestPointWidgetFunction · 0.80
TestPlaneWidgetFunction · 0.80
TestScalarBarWidgetFunction · 0.80
TestLineWidgetFunction · 0.80
TestLineWidget2Function · 0.80

Calls 2

ClearGeometryCacheMethod · 0.95
ModifiedMethod · 0.45

Tested by 12

TestGL2PSScalarBarFunction · 0.64
TestPointWidgetFunction · 0.64
TestPlaneWidgetFunction · 0.64
TestScalarBarWidgetFunction · 0.64
TestLineWidgetFunction · 0.64
TestLineWidget2Function · 0.64
TestGlyph3DMapperArrowFunction · 0.64
TestGlyph3DMapperArrowFunction · 0.64
TestScalarBarFunction · 0.64
TestMultiBlockFunction · 0.64
testAllMethod · 0.64