src/io/PovrayWriter.cpp
void PovrayWriter::writeFile(std::string filename)
    {
      ofstream out;
      out.open(filename.c_str(), ios::out);

      // delegate all the work to other subroutines
      writeHeader(out);
      writeIncludes(out);
      writeCamera(out);
      writeLight(out);
      writeTestStuff(out, *dataCollector);
      writeMesh2(out, *dataCollector);

      out.close();
    }
// writes a povray script for the current time step to the specified file
writes a povray script for the current time step to the specified file
writes a povray script for the current time step to the specified file
void PovrayWriter::writeFile(std::string filename)
    {
      ofstream out;
      out.open(filename.c_str(), ios::out);
      writeHeader(out);
      writeIncludes(out);
      writeCamera(out);
      writeLight(out);
      writeTestStuff(out, *dataCollector);
      writeMesh2(out, *dataCollector);
      out.close();
    }
void PovrayWriter :: writeFile ( std :: string filename ) { ofstream out ; out . open ( filename . c_str ( ) , ios :: out ) ; writeHeader ( out ) ; writeIncludes ( out ) ; writeCamera ( out ) ; writeLight ( out ) ; writeTestStuff ( out , * dataCollector ) ; writeMesh2 ( out , * dataCollector ) ; out . close ( ) ; }
writes a povray script for the current time step to the specified file
writes a povray script for the current time step to the specified file
// delegate all the work to other subroutines