26 #ifndef vtkPVGeneralSettings_h 27 #define vtkPVGeneralSettings_h 29 #include "vtkObject.h" 30 #include "vtkPVServerManagerDefaultModule.h" 31 #include "vtkSmartPointer.h" 38 void PrintSelf(ostream& os, vtkIndent indent);
52 void SetAutoConvertProperties(
bool val);
53 bool GetAutoConvertProperties();
63 vtkGetMacro(BlockColorsDistinctValues,
int);
64 vtkSetMacro(BlockColorsDistinctValues,
int);
71 vtkGetMacro(AutoApply,
bool);
72 vtkSetMacro(AutoApply,
bool);
79 vtkGetMacro(AutoApplyActiveOnly,
bool);
80 vtkSetMacro(AutoApplyActiveOnly,
bool);
87 void SetEnableAutoMPI(
bool);
88 bool GetEnableAutoMPI();
95 void SetAutoMPILimit(
int val);
96 int GetAutoMPILimit();
103 vtkGetStringMacro(DefaultViewType);
104 vtkSetStringMacro(DefaultViewType);
114 DEFAULT_TIME_STEP_LAST
123 GROW_ON_APPLY_AND_TIMESTEP = 1,
125 RESET_ON_APPLY_AND_TIMESTEP = 3
132 vtkGetMacro(TransferFunctionResetMode,
int);
133 vtkSetMacro(TransferFunctionResetMode,
int);
142 AUTOMATICALLY_SHOW_AND_HIDE_SCALAR_BARS = 0,
143 AUTOMATICALLY_HIDE_SCALAR_BARS = 1,
144 MANUAL_SCALAR_BARS = 2
146 vtkGetMacro(ScalarBarMode,
int);
147 void SetScalarBarMode(
int);
154 void SetCacheGeometryForAnimation(
bool val);
155 vtkGetMacro(CacheGeometryForAnimation,
bool);
162 void SetAnimationGeometryCacheLimit(
unsigned long val);
163 vtkGetMacro(AnimationGeometryCacheLimit,
unsigned long);
170 vtkSetMacro(AnimationTimePrecision,
int);
171 vtkGetMacro(AnimationTimePrecision,
int);
177 void SetInheritRepresentationProperties(
bool val);
182 SEPARATE_DISPLAY_PROPERTIES = 1,
183 SEPARATE_VIEW_PROPERTIES = 2,
190 vtkSetMacro(PropertiesPanelMode,
int);
191 vtkGetMacro(PropertiesPanelMode,
int);
198 vtkSetMacro(LockPanels,
bool);
199 vtkGetMacro(LockPanels,
bool);
206 void SetMultiViewImageBorderColor(
double r,
double g,
double b);
207 void SetMultiViewImageBorderWidth(
int width);
213 void SetTransparentBackground(
bool val);
219 void SetLoadAllVariables(
bool val);
220 bool GetLoadAllVariables();
227 void SetLoadNoChartVariables(
bool val);
228 bool GetLoadNoChartVariables();
251 static vtkSmartPointer<vtkPVGeneralSettings> Instance;
int TransferFunctionResetMode
unsigned long AnimationGeometryCacheLimit
int BlockColorsDistinctValues
bool CacheGeometryForAnimation
int AnimationTimePrecision
object for general options.