4 #ifndef pqParaViewBehaviors_h 5 #define pqParaViewBehaviors_h 7 #include "pqApplicationComponentsModule.h" 10 #include "vtkSetGet.h" 41 #define PQ_BEHAVIOR_DEFINE_METHODS(_name) \ 42 static void setEnable##_name(bool val) \ 44 pqParaViewBehaviors::_name = val; \ 46 static bool enable##_name() \ 48 return pqParaViewBehaviors::_name; \ 51 #define PQ_BEHAVIOR_DEFINE_METHODS_LEGACY(_name) \ 52 VTK_LEGACY(static void setEnable##_name(bool val) { pqParaViewBehaviors::_name = val; }); \ 53 VTK_LEGACY(static bool enable##_name() { return pqParaViewBehaviors::_name; }); 55 #define PQ_BEHAVIOR_DECLARE_FLAG(_name) static bool _name; 60 typedef QObject Superclass;
164 #undef PQ_BEHAVIOR_DECLARE_FLAG 165 #undef PQ_BEHAVIOR_DEFINE_METHODS #define PQ_BEHAVIOR_DEFINE_METHODS(_name)
creates all standard ParaView behaviourspqParaViewBehaviors creates all the behaviors used by ParaVie...
#define PQ_BEHAVIOR_DECLARE_FLAG(_name)