#include <SimResFilter.h>
Inheritance diagram for SimResFilter::

Public Methods | |
| SimResFilter (const String &file_ext, const String &module_name, bool silent=false) | |
| virtual | ~SimResFilter () |
| virtual void | usage () |
| virtual void | simresHeader (PlotSpecifications &plotspec)=0 |
| virtual void | simresFooter (PlotSpecifications &plotspec)=0 |
| virtual void | processFormatSpecificOptions (VecSimple(String) &arguments, PlotSpecifications &plotspec)=0 |
| virtual void | exportScalarField (Field &scalarfield, FieldInformation &fieldinfo, PlotSpecifications &plotspec)=0 |
| virtual void | exportVectorField (Fields &vectorfield, FieldInformation &fieldinfo, PlotSpecifications &plotspec)=0 |
| int | driver (int argc, const char *argv[]) |
| DpList (Field, DpListItemHandle) field_list | |
Public Attributes | |
| DpList(Fields) | |
| DpListItemHandle | fields_list |
| DpList(FieldInformation) | |
| DpListItemInst | field_info |
| DpListItemInst | fields_info |
Protected Methods | |
| void | readAndProcessFields (PlotSpecifications &plotspec) |
| void | readAndProcessAllFields (PlotSpecifications &plotspec) |
| String | makeTimeFilename (real t) |
| String | makeFieldNoFilename (int f) |
| void | makeOutputFilename (FieldInformation &fieldinfo, PlotSpecifications &plotspec) |
| void | checkSimResVersion (const String &dataset) |
| void | flipGrid (Grid *g, const PlotSpecifications &plotspec) |
Protected Attributes | |
| String | file_ext |
| String | module_name |
| String | options |
| bool | silent |
Static Protected Attributes | |
| bool | flipped_grid |
NAME: SimResFilter - base class for simres filters
DESCRIPTION:
To code a filter from the SimRes format to a plotting program format, derive a subclass of "SimResFilter" and implement the necessary functions. In addition, make a "main" routine. See e.g. class "SimRes2mtv" for an example.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
the main routine. |
|
|
export a scalar field to a file format that can be read by a specific visualization program. Reimplemented in SimRes2bob, SimRes2explorer, SimRes2gb, SimRes2gnuplot, SimRes2matlab, SimRes2mtv, SimRes2summary, SimRes2tecplot, SimRes2ucd, and SimRes2vtk. |
|
|
as "exportScalarField", but handles vector fields instead. Reimplemented in SimRes2bob, SimRes2explorer, SimRes2gb, SimRes2gnuplot, SimRes2matlab, SimRes2mtv, SimRes2summary, SimRes2tecplot, SimRes2ucd, and SimRes2vtk. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
process remaining command line arguments in derived classes (after "SimResFilter driver" has processed the arguments that are common to all filters). Reimplemented in SimRes2bob, SimRes2explorer, SimRes2gb, SimRes2gnuplot, SimRes2matlab, SimRes2mtv, SimRes2summary, SimRes2tecplot, SimRes2ucd, and SimRes2vtk. |
|
|
|
|
|
|
|
|
task to be done just before exiting the filter. Reimplemented in SimRes2bob, SimRes2explorer, SimRes2gb, SimRes2gnuplot, SimRes2matlab, SimRes2mtv, SimRes2summary, SimRes2tecplot, SimRes2ucd, and SimRes2vtk. |
|
|
task to be done once initially, after processing of command line args (in "driver"). Reimplemented in SimRes2bob, SimRes2explorer, SimRes2gb, SimRes2gnuplot, SimRes2matlab, SimRes2mtv, SimRes2summary, SimRes2tecplot, SimRes2ucd, and SimRes2vtk. |
|
|
description of various command line arguments. The command line arguments that are common to all filters are explained in "SimResFilter usage" and processed in "SimResFilter driver". Additional command line arguments can be explained in the "usage" function in derived classes and processed in the "processFormatSpecificOptions" function in the derived class. Reimplemented in SimRes2bob, SimRes2explorer, SimRes2gb, SimRes2gnuplot, SimRes2matlab, SimRes2mtv, SimRes2summary, SimRes2ucd, and SimRes2vtk. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|