| 69 | } |
| 70 | |
| 71 | int |
| 72 | VrmlViewer::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 | |
| 86 | int |