Overture  Version 25
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ShowFilePlotter Class Reference

#include <ShowFilePlotter.h>

Collaboration diagram for ShowFilePlotter:
Collaboration graph
[legend]

Public Member Functions

 ShowFilePlotter (const aString &nameOfShowFile, GenericGraphicsInterface &ps)
 
 ~ShowFilePlotter ()
 
int plot ()
 

Protected Member Functions

int buildPlotStuffDialog (DialogData &dialog, realCompositeGridFunction &u0, const int cfs)
 
int getHeaderComments (int cfs)
 : make a copy of the header comments for a given frame series
 
int plotAll (DialogData &dialog)
 
bool setFrameSeriesTitles (int cfs)
 
int setPlotTitles (int cfs, bool useFrameSeriesTitles=true)
 
void setSensitivity (GUIState &dialog, bool trueOrFalse)
 
int updatePlotStuffDialog (DialogData &dialog, realCompositeGridFunction &u0, const int component, const int cfs)
 

Protected Attributes

aString nameOfShowFile
 
ShowFileReader showFileReader
 
GenericGraphicsInterfaceps
 
int numberOfFrameSeries
 
bool applyCommandsToAllSeries
 
int numberOfMovieFrames
 
int frameStride
 
aString movieFileName
 
bool saveMovieFiles
 
int maximumNumberOfHeaderComments
 
aStringsequenceName
 
aString ** headerComment
 
CompositeGridcg
 
realCompositeGridFunctionu
 
PlotStuffParameterspsp
 
int * component
 
int * solutionNumber
 
int * plotOptions
 
int * numberOfSolutions
 
int * numberOfFrames
 
int * numberOfComponents
 
int * numberOfComponents0
 
int * numberOfSequences
 
DataBasedbaseArray
 

Constructor & Destructor Documentation

ShowFilePlotter::ShowFilePlotter ( const aString nameOfShowFile,
GenericGraphicsInterface ps 
)
ShowFilePlotter::~ShowFilePlotter ( )

Member Function Documentation

int ShowFilePlotter::buildPlotStuffDialog ( DialogData dialog,
realCompositeGridFunction u0,
const int  cfs 
)
protected
int ShowFilePlotter::getHeaderComments ( int  cfs)
protected

: make a copy of the header comments for a given frame series

References aString, ShowFileReader::getHeaderComments(), headerComment, maximumNumberOfHeaderComments, min(), printF(), and showFileReader.

Referenced by plot().

int ShowFilePlotter::plot ( )

References GenericGraphicsInterface::appendToTheDefaultPrompt(), applyCommandsToAllSeries, assert, aString, buildPlotStuffDialog(), GUIState::buildPopup(), cfs, cg, checkArrays(), component, PlotIt::contour(), dbaseArray, PlotIt::displacement(), display(), GenericGraphicsInterface::erase(), fileOutput(), frameStride, BodyForce::get(), HDF_DataBase::get(), DBase::DataBase::get(), GraphicsParameters::get(), GenericGraphicsInterface::getAnswer(), GenericGraphicsInterface::getAnswerNoBlock(), ShowFileReader::getASolution(), DerivedFunctions::getASolution(), doubleGridCollectionFunction::getComponentBase(), doubleGridCollectionFunction::getComponentDimension(), GenericGraphicsInterface::getCurrentWindow(), ShowFileReader::getFrame(), ShowFileReader::getFrameSeriesName(), getHeaderComments(), GenericGraphicsInterface::getMenuItem(), doubleGridCollectionFunction::getName(), ShowFileReader::getNumberOfFrames(), ShowFileReader::getNumberOfFrameSeries(), ShowFileReader::getNumberOfSequences(), DialogData::getOptionMenu(), ShowFileReader::getSequence(), ShowFileReader::getSequenceNames(), DialogData::getTextValue(), DialogData::getToggleValue(), GI_COLOUR_LINE_CONTOURS, GI_COMPONENT_FOR_CONTOURS, GI_HARD_COPY_TYPE, GI_PLOT_BOUNDS, GI_PLOT_THE_OBJECT_AND_EXIT, GI_TOP_LABEL, GI_TOP_LABEL_SUB_1, GI_TOP_LABEL_SUB_2, GI_USE_PLOT_BOUNDS, GenericGraphicsInterface::hardCopy(), DBase::DataBase::has_key(), headerComment, GenericGraphicsInterface::inputString(), GenericGraphicsInterface::isGraphicsWindowOpen(), log10(), max(), maximumNumberOfHeaderComments, min(), movieFileName, NULL, GenericGridCollection::numberOfComponentGrids(), numberOfComponents, numberOfComponents0, DerivedFunctions::numberOfDerivedTypes(), numberOfFrames, numberOfFrameSeries, numberOfMovieFrames, numberOfSequences, numberOfSolutions, GenericGraphicsInterface::outputString(), PlotIt::plot(), plotAll(), BodyForce::plotForcingRegions(), plotOptions, GenericGraphicsInterface::popGUI(), GraphicsParameters::postScript, GraphicsParameters::ppm, printF(), Overture::printMemoryUsage(), ps, psp, GenericGraphicsInterface::pushGUI(), DBase::DataBase::put(), GenericGraphicsInterface::readingFromCommandFile(), GenericGraphicsInterface::redraw(), GenericGraphicsInterface::resetGlobalBound(), saveMovieFiles, saveOvertureTextFile(), sequenceName, GraphicsParameters::set(), OptionMenu::setCurrentChoice(), ShowFileReader::setCurrentFrameSeries(), GenericGraphicsInterface::setGlobalBound(), ShowFileReader::setMaximumNumberOfOpenShowFiles(), setPlotTitles(), setSensitivity(), DialogData::setTextLabel(), showFileReader, GraphicsParameters::showFileReader, GraphicsParameters::showFileSolutionNumber, solutionNumber, sPrintF(), sScanF(), GenericGraphicsInterface::stopReadingCommandFile(), PlotIt::streamLines(), u, GenericGraphicsInterface::unAppendTheDefaultPrompt(), DerivedFunctions::update(), updatePlotStuffDialog(), PlotIt::userDefinedOutput(), and DataFormats::writePlot3d().

Referenced by plotStuff().

int ShowFilePlotter::plotAll ( DialogData dialog)
protected
bool ShowFilePlotter::setFrameSeriesTitles ( int  cfs)
protected
int ShowFilePlotter::setPlotTitles ( int  cfs,
bool  useFrameSeriesTitles = true 
)
protected
void ShowFilePlotter::setSensitivity ( GUIState dialog,
bool  trueOrFalse 
)
protected
int ShowFilePlotter::updatePlotStuffDialog ( DialogData dialog,
realCompositeGridFunction u0,
const int  component,
const int  cfs 
)
protected

Member Data Documentation

bool ShowFilePlotter::applyCommandsToAllSeries
protected
CompositeGrid* ShowFilePlotter::cg
protected
int* ShowFilePlotter::component
protected
DataBase* ShowFilePlotter::dbaseArray
mutableprotected
int ShowFilePlotter::frameStride
protected
aString** ShowFilePlotter::headerComment
protected
int ShowFilePlotter::maximumNumberOfHeaderComments
protected
aString ShowFilePlotter::movieFileName
protected
aString ShowFilePlotter::nameOfShowFile
protected

Referenced by ShowFilePlotter().

int* ShowFilePlotter::numberOfComponents
protected
int* ShowFilePlotter::numberOfComponents0
protected
int* ShowFilePlotter::numberOfFrames
protected
int ShowFilePlotter::numberOfFrameSeries
protected
int ShowFilePlotter::numberOfMovieFrames
protected
int* ShowFilePlotter::numberOfSequences
protected
int* ShowFilePlotter::numberOfSolutions
protected
int* ShowFilePlotter::plotOptions
protected
GenericGraphicsInterface& ShowFilePlotter::ps
protected

Referenced by plot(), and plotAll().

PlotStuffParameters* ShowFilePlotter::psp
protected
bool ShowFilePlotter::saveMovieFiles
protected
aString* ShowFilePlotter::sequenceName
protected
ShowFileReader ShowFilePlotter::showFileReader
protected
int* ShowFilePlotter::solutionNumber
protected
realCompositeGridFunction* ShowFilePlotter::u
protected

The documentation for this class was generated from the following files: