4 #ifndef pqParaViewBehaviors_h 5 #define pqParaViewBehaviors_h 10 #include "vtkSetGet.h" 41 #define PQ_BEHAVIOR_DEFINE_METHODS(_name) \ 42 static void setEnable##_name(bool val) { pqParaViewBehaviors::_name = val; } \ 43 static bool enable##_name() { return pqParaViewBehaviors::_name; } 45 #define PQ_BEHAVIOR_DEFINE_METHODS_LEGACY(_name) \ 46 VTK_LEGACY(static void setEnable##_name(bool val) { pqParaViewBehaviors::_name = val; }); \ 47 VTK_LEGACY(static bool enable##_name() { return pqParaViewBehaviors::_name; }); 49 #define PQ_BEHAVIOR_DECLARE_FLAG(_name) static bool _name; 54 typedef QObject Superclass;
154 #undef PQ_BEHAVIOR_DECLARE_FLAG 155 #undef PQ_BEHAVIOR_DEFINE_METHODS #define PQ_BEHAVIOR_DEFINE_METHODS(_name)
#define PQAPPLICATIONCOMPONENTS_EXPORT
creates all standard ParaView behaviourspqParaViewBehaviors creates all the behaviors used by ParaVie...
#define PQ_BEHAVIOR_DECLARE_FLAG(_name)