copasi API  0.1
Public Slots | Signals | Public Member Functions | Public Attributes | Protected Attributes
CopasiPlot Class Reference

#include <CopasiPlot.h>

Inheritance diagram for CopasiPlot:
COutputInterface

List of all members.

Public Slots

virtual void replot ()

Signals

void replotSignal ()

Public Member Functions

 CopasiPlot (const CPlotSpecification *plotspec, QWidget *parent=NULL)
bool initFromSpec (const CPlotSpecification *plotspec)
virtual ~CopasiPlot ()
virtual bool compile (std::vector< CCopasiContainer * > listOfContainer, const CCopasiDataModel *pDataModel)
virtual void output (const Activity &activity)
virtual void separate (const Activity &activity)
virtual void finish ()
bool saveData (const std::string &filename)
void setCurvesVisibility (const bool &visibility)

Public Attributes

QwtPlotZoomer * mpZoomer

Protected Attributes

bool mReplotFinished

Constructor & Destructor Documentation

CopasiPlot::CopasiPlot ( const CPlotSpecification plotspec,
QWidget *  parent = NULL 
)

Specific constructor

Parameters:
constCPlotSpecification* plotspec
QWidget*parent (default: NULL)
CopasiPlot::~CopasiPlot ( ) [virtual]

Destructor


Member Function Documentation

bool CopasiPlot::compile ( std::vector< CCopasiContainer * >  listOfContainer,
const CCopasiDataModel pDataModel 
) [virtual]

compile the object list from name vector

Parameters:
std::vector<CCopasiContainer * > listOfContainer
constCCopasiDataModel* pDataModel
Returns:
bool success

Reimplemented from COutputInterface.

void CopasiPlot::finish ( ) [virtual]

Finish the output

Reimplemented from COutputInterface.

bool CopasiPlot::initFromSpec ( const CPlotSpecification plotspec)

Initialize the the plot from the specification

Parameters:
constCPlotSpecification* plotspec
void CopasiPlot::output ( const Activity activity) [virtual]

Perform an output event for the current activity

Parameters:
constActivity & activity

Reimplemented from COutputInterface.

void CopasiPlot::replot ( ) [virtual, slot]
void CopasiPlot::replotSignal ( ) [signal]
bool CopasiPlot::saveData ( const std::string &  filename)

Save tab delimited data to file

Parameters:
conststd::string & filename
Returns:
bool success
void CopasiPlot::separate ( const Activity activity) [virtual]

Introduce an additional separator into the output

Parameters:
constActivity & activity

Reimplemented from COutputInterface.

void CopasiPlot::setCurvesVisibility ( const bool &  visibility)

Shows or hide all curves depending on whether visibility is false or true

Parameters:
constbool & visibility

Member Data Documentation

QwtPlotZoomer* CopasiPlot::mpZoomer

Pointer to the zooming engine for the plot.

bool CopasiPlot::mReplotFinished [protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines