MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / clearImage

Method clearImage

SRC/renderer/VrmlViewer.cpp:71–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71int
72VrmlViewer::clearImage(void)
73{
74 // open the file again
75 vrmlFile = new fstream(vrmlFileName, ios::out);
76 if (vrmlFile == 0) {
77 opserr << "FATAL - VrmlViewer::clearImage() - could not open file ";
78 opserr << vrmlFileName << endln;
79 return -1;
80 }
81 (*vrmlFile) << "#VRML V2.0 utf8 \n";
82 return 0;
83}
84
85
86int

Callers 5

YsVisualMethod · 0.45
recordMethod · 0.45
plotDataMethod · 0.45
plotFileMethod · 0.45
plotFilesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected