Public Slots | |
void | slotToggleCheckBox () |
Demonstrates handling UI element state changes. | |
Signals | |
void | sgnlRender () |
Emitted when state set by UI changes. | |
Public Member Functions | |
PluginTemplate (rtVTK::MainWindow *const, const uiCore::Camera &, const Core::Mesh &, QWidget *) | |
~PluginTemplate () | |
void | init () |
Plugin interface functions. | |
void | resize (uint, uint) |
void | render () |
void | closer () |
void | idle () |
bool | traceRay (int, int) |
Private Attributes | |
uint | width |
Target image width and height. | |
uint | height |
const uiCore::Camera & | camera |
Refers to camera object passed at creation. | |
const Core::Mesh & | mesh |
Refers to mesh object passed at creation. | |
QGridLayout * | glayout_PluginTemplate |
Points to example UI elements. | |
QCheckBox * | cb_checkBox |
QSpacerItem * | vspacer_vspace |
PluginTemplate::PluginTemplate::PluginTemplate | ( | rtVTK::MainWindow * const | mw, |
const uiCore::Camera & | camera_, | ||
const Core::Mesh & | mesh_, | ||
QWidget * | sa_contents | ||
) |
References cb_checkBox, glayout_PluginTemplate, and vspacer_vspace.
void PluginTemplate::PluginTemplate::idle | ( | ) |
void PluginTemplate::PluginTemplate::init | ( | ) |
Plugin interface functions.
void PluginTemplate::PluginTemplate::resize | ( | uint | width_, |
uint | height_ | ||
) |
void PluginTemplate::PluginTemplate::sgnlRender | ( | ) | [signal] |
Emitted when state set by UI changes.
Referenced by PluginTemplate(), and slotToggleCheckBox().
void PluginTemplate::PluginTemplate::slotToggleCheckBox | ( | ) | [slot] |
Demonstrates handling UI element state changes.
References sgnlRender().
Referenced by PluginTemplate().
bool PluginTemplate::PluginTemplate::traceRay | ( | int | , |
int | |||
) |
const uiCore::Camera& PluginTemplate::PluginTemplate::camera [private] |
Refers to camera object passed at creation.
QCheckBox* PluginTemplate::PluginTemplate::cb_checkBox [private] |
Referenced by PluginTemplate(), and ~PluginTemplate().
QGridLayout* PluginTemplate::PluginTemplate::glayout_PluginTemplate [private] |
Points to example UI elements.
Referenced by PluginTemplate(), and ~PluginTemplate().
uint PluginTemplate::PluginTemplate::height [private] |
Referenced by resize().
const Core::Mesh& PluginTemplate::PluginTemplate::mesh [private] |
Refers to mesh object passed at creation.
QSpacerItem* PluginTemplate::PluginTemplate::vspacer_vspace [private] |
Referenced by PluginTemplate(), and ~PluginTemplate().
uint PluginTemplate::PluginTemplate::width [private] |
Target image width and height.
Referenced by resize().