COPASI API
4.16.103
|
#include "copasi/copasi.h"
#include "copasi/utilities/CCopasiVector.h"
#include "copasi/layout/CLGlobalRenderInformation.h"
Go to the source code of this file.
Functions | |
CLGlobalRenderInformation * | getDefaultStyle (size_t index) |
CCopasiVector < CLGlobalRenderInformation > * | getDefaultStyles () |
size_t | getNumDefaultStyles () |
CCopasiVector < CLGlobalRenderInformation > * | loadDefaultStyles () |
Variables | |
CCopasiVector < CLGlobalRenderInformation > * | DEFAULT_STYLES |
CLGlobalRenderInformation* getDefaultStyle | ( | size_t | index | ) |
This method returns the default render information object with the requested index. If the index isinvalid, NULL is returned.
Definition at line 824 of file CLDefaultStyles.cpp.
References loadDefaultStyles(), and pResult.
Referenced by CQNewMainWindow::addDefaultRenderInfoItemsToList(), CSBMLExporter::exportModelToString(), CQLayoutScene::initializeResolver(), CQNewMainWindow::slotRenderInfoChanged(), CQLayoutView::slotRenderInformationChanged(), CQNewMainWindow::updateRenderer(), updateRenderInformationList(), and CQNewMainWindow::updateRenderInformationList().
CCopasiVector<CLGlobalRenderInformation>* getDefaultStyles | ( | ) |
This method returns a global render information list that contains the default styles which are built into the renderer.
Definition at line 790 of file CLDefaultStyles.cpp.
References DEFAULT_STYLES, and loadDefaultStyles().
size_t getNumDefaultStyles | ( | ) |
This method returns the number of global styles.
Definition at line 803 of file CLDefaultStyles.cpp.
References loadDefaultStyles(), and CCopasiVector< T >::size().
Referenced by CQNewMainWindow::addDefaultRenderInfoItemsToList(), CSBMLExporter::exportModelToString(), CQLayoutView::slotRenderInformationChanged(), updateRenderInformationList(), and CQNewMainWindow::updateRenderInformationList().
CCopasiVector<CLGlobalRenderInformation>* loadDefaultStyles | ( | ) |
This method is used to initialize the default styles. Normally this does not need to be called since it is called automatically. The method returns a point to a ListOfGlobalRenderInformation object. The caller is responsible for freeing the memory associated with the list.
Definition at line 841 of file CLDefaultStyles.cpp.
References CCopasiVector< T >::add(), DEFAULT_STYLES, DEFAULT_STYLES_STRING, and pResult.
Referenced by CQNewMainWindow::CQNewMainWindow(), getDefaultStyle(), getDefaultStyles(), and getNumDefaultStyles().
CCopasiVector<CLGlobalRenderInformation>* DEFAULT_STYLES |
A pointer to the list of default styles.
Definition at line 22 of file CLDefaultStyles.cpp.