HyperspaceExplorer 0.7.1
Static Public Member Functions
C4DView::CustomFunctionSlot< function > Class Template Reference

Class template to outsource redundant code for customized functions. More...

List of all members.

Static Public Member Functions

static void createCustomFunction (C4DView *view)
static void createCustomSurface (C4DView *view)
 Factory method to create a new customized Function of type R^2->R^4.

Detailed Description

template<class function>
class C4DView::CustomFunctionSlot< function >

Class template to outsource redundant code for customized functions.

Redundant code for the generation of customized functions is moved to a slot called by QActions from the QMenu

Template Parameters:
functionthe Function to be created in the slot

Member Function Documentation

template<class function >
void C4DView::CustomFunctionSlot< function >::createCustomSurface ( C4DView view) [static]

Factory method to create a new customized Function of type R^2->R^4.

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::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(), and C4DView::Values().

Referenced by C4DView::Menu4D::customComplexFunction(), and C4DView::Menu4D::customSurface().

Here is the call graph for this function:

Here is the caller graph for this function:


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

Generated on Mon Apr 9 2012 20:25:17 for HyperspaceExplorer 0.7.1 by doxygen 1.7.4  -  Hosted bySourceForge.net Logo