10#include <boost/python/class.hpp>
11#include <boost/python/register_ptr_to_python.hpp>
19 register_ptr_to_python<IPropertySettings *>();
21 class_<IPropertySettings, boost::noncopyable>(
"IPropertySettings", no_init)
23 "Is the property to be shown as enabled in the GUI. Default true.")
26 "Is the property to be shown in the GUI? Default true.")
29 "Other properties that this property depends on.")
32 (arg(
"self"), arg(
"alg"), arg(
"changedPropName")),
33 "Has the dependency condition changed: exported for testing use only")
36 "Apply the changed criterion to the current property: exported for testing use only");
#define GET_POINTER_SPECIALIZATION(TYPE)
void export_IPropertySettings()
Interface for modifiers to Property's that specify if they should be enabled or visible in a GUI.
virtual std::vector< std::string > dependsOn(const std::string &) const
Other properties that this property depends on.
virtual bool isEnabled(const IPropertyManager *algo) const
Is the property to be shown as "enabled" in the GUI.
virtual bool applyChanges(const IPropertyManager *algo, const std::string ¤tPropName)
Overload this virtual function in order to modify the current property based on changes to other prop...
virtual bool isConditionChanged(const IPropertyManager *algo, const std::string &changedPropName="") const
to verify if the properties, this one depends on have changed or other special condition occurs which...
virtual bool isVisible(const IPropertyManager *algo) const
Is the property to be shown in the GUI? Default true.