HyperspaceExplorer 0.7.1
|
Classes | |
class | C4DView::CustomFunctionSlot< function > |
Class template to outsource redundant code for customized functions. More... | |
class | SlotHelper |
Functions | |
static void | C4DView::CustomFunctionSlot::createCustomFunction (C4DView *view) |
void C4DView::CustomFunctionSlot< function >::createCustomFunction | ( | C4DView * | view | ) | [static] |
Factory method to create a new customized Function of type R^3->R This function template is called by each slot with the correct function type as template parameter.
Sets F to the newly created Function, checks the corresponding menu item, updates the ValuesDialog and redraws. Does some error handling in case the Function could not be loaded.
References C4DView::AssignValues(), UI::Dialogs::ValuesDialogImpl::dt(), UI::Dialogs::ValuesDialogImpl::du(), UI::Dialogs::ValuesDialogImpl::dv(), UI::ViewImpl::F(), C4DView::Redraw(), UI::ViewImpl::setF(), UI::Dialogs::ValuesDialogImpl::tmax(), UI::Dialogs::ValuesDialogImpl::tmin(), UI::Dialogs::ValuesDialogImpl::umax(), UI::Dialogs::ValuesDialogImpl::umin(), C4DView::UpdateStatus(), C4DView::Values(), UI::Dialogs::ValuesDialogImpl::vmax(), and UI::Dialogs::ValuesDialogImpl::vmin().
Referenced by C4DView::Menu4D::customFunction(), and C4DView::Menu4D::customPolarFunction().