Classes | Macros
pqParaViewBehaviors.h File Reference
#include "pqApplicationComponentsModule.h"
#include "vtkParaViewDeprecation.h"
#include "vtkSetGet.h"
#include <QFlags>
#include <QObject>
Include dependency graph for pqParaViewBehaviors.h:

Go to the source code of this file.

Classes

class  pqParaViewBehaviors
 creates all standard ParaView behaviourspqParaViewBehaviors creates all the behaviors used by ParaView. More...
 

Macros

#define PQ_BEHAVIOR_DEFINE_METHODS(_name)
 
#define PQ_BEHAVIOR_DEFINE_METHODS_LEGACY(_name)
 
#define PQ_BEHAVIOR_DECLARE_FLAG(_name)   static bool _name;
 

Macro Definition Documentation

◆ PQ_BEHAVIOR_DEFINE_METHODS

#define PQ_BEHAVIOR_DEFINE_METHODS (   _name)
Value:
static void setEnable##_name(bool val) { pqParaViewBehaviors::_name = val; } \
static bool enable##_name() { return pqParaViewBehaviors::_name; }

Definition at line 41 of file pqParaViewBehaviors.h.

◆ PQ_BEHAVIOR_DEFINE_METHODS_LEGACY

#define PQ_BEHAVIOR_DEFINE_METHODS_LEGACY (   _name)
Value:
VTK_LEGACY(static void setEnable##_name(bool val) { pqParaViewBehaviors::_name = val; }); \
VTK_LEGACY(static bool enable##_name() { return pqParaViewBehaviors::_name; });
#define VTK_LEGACY(method)
Definition: vtkLegacy.h:59

Definition at line 45 of file pqParaViewBehaviors.h.

◆ PQ_BEHAVIOR_DECLARE_FLAG

#define PQ_BEHAVIOR_DECLARE_FLAG (   _name)    static bool _name;

Definition at line 49 of file pqParaViewBehaviors.h.