ParaView
|
object for general options. More...
#include <vtkPVGeneralSettings.h>
Inherits vtkObject.
Public Types | |
enum | { DEFAULT_TIME_STEP_UNCHANGED, DEFAULT_TIME_STEP_FIRST, DEFAULT_TIME_STEP_LAST } |
Enum for DefaultTimeStep. More... | |
enum | { GROW_ON_APPLY = 0, GROW_ON_APPLY_AND_TIMESTEP = 1, RESET_ON_APPLY = 2, RESET_ON_APPLY_AND_TIMESTEP = 3 } |
Enum for TransferFunctionResetMode. More... | |
enum | { ALL_IN_ONE = 0, SEPARATE_DISPLAY_PROPERTIES = 1, SEPARATE_VIEW_PROPERTIES = 2, ALL_SEPARATE = 3 } |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetInheritRepresentationProperties (bool val) |
Forwarded for vtkSMParaViewPipelineControllerWithRendering. More... | |
void | SetTransparentBackground (bool val) |
Forwarded to vtkSMViewProxy. More... | |
void | SetAutoConvertProperties (bool val) |
Automatically convert data arrays as needed by filters including converting cell arrays to point arrays, or vice versa, and extracting single components from multi-component arrays. More... | |
bool | GetAutoConvertProperties () |
Automatically convert data arrays as needed by filters including converting cell arrays to point arrays, or vice versa, and extracting single components from multi-component arrays. More... | |
virtual int | GetBlockColorsDistinctValues () |
Determines the number of distinct values in vtkBlockColors. More... | |
virtual void | SetBlockColorsDistinctValues (int) |
Determines the number of distinct values in vtkBlockColors. More... | |
virtual bool | GetAutoApply () |
Automatically apply changes in the 'Properties' panel. More... | |
virtual void | SetAutoApply (bool) |
Automatically apply changes in the 'Properties' panel. More... | |
virtual bool | GetAutoApplyActiveOnly () |
Automatically apply changes in the 'Properties' panel. More... | |
virtual void | SetAutoApplyActiveOnly (bool) |
Automatically apply changes in the 'Properties' panel. More... | |
void | SetEnableAutoMPI (bool) |
Enable auto-mpi. More... | |
bool | GetEnableAutoMPI () |
Enable auto-mpi. More... | |
void | SetAutoMPILimit (int val) |
Set the core limit for auto-mpi. More... | |
int | GetAutoMPILimit () |
Set the core limit for auto-mpi. More... | |
virtual char * | GetDefaultViewType () |
Get/Set the default view type. More... | |
virtual void | SetDefaultViewType (const char *) |
Get/Set the default view type. More... | |
virtual int | GetTransferFunctionResetMode () |
Get/Set the transfer function reset mode. More... | |
virtual void | SetTransferFunctionResetMode (int) |
Get/Set the transfer function reset mode. More... | |
void | SetCacheGeometryForAnimation (bool val) |
Set when animation geometry caching is enabled. More... | |
virtual bool | GetCacheGeometryForAnimation () |
Set when animation geometry caching is enabled. More... | |
void | SetAnimationGeometryCacheLimit (unsigned long val) |
Set the animation cache limit in KBs. More... | |
virtual unsigned long | GetAnimationGeometryCacheLimit () |
Set the animation cache limit in KBs. More... | |
virtual void | SetAnimationTimePrecision (int) |
Set the precision of the animation time toolbar. More... | |
virtual int | GetAnimationTimePrecision () |
Set the precision of the animation time toolbar. More... | |
virtual void | SetPropertiesPanelMode (int) |
Properties panel configuration. More... | |
virtual int | GetPropertiesPanelMode () |
Properties panel configuration. More... | |
virtual void | SetLockPanels (bool) |
Set whether to dock widgets into place. More... | |
virtual bool | GetLockPanels () |
Set whether to dock widgets into place. More... | |
void | SetMultiViewImageBorderColor (double r, double g, double b) |
Forwarded to vtkSMViewLayoutProxy. More... | |
void | SetMultiViewImageBorderWidth (int width) |
Forwarded to vtkSMViewLayoutProxy. More... | |
void | SetLoadAllVariables (bool val) |
Load all variables when loading a data set. More... | |
bool | GetLoadAllVariables () |
Load all variables when loading a data set. More... | |
void | SetLoadNoChartVariables (bool val) |
Load no variables when showing a 2D chart. More... | |
bool | GetLoadNoChartVariables () |
Load no variables when showing a 2D chart. More... | |
Static Public Member Functions | |
static vtkPVGeneralSettings * | New () |
static int | IsTypeOf (const char *type) |
static vtkPVGeneralSettings * | SafeDownCast (vtkObject *o) |
static vtkPVGeneralSettings * | GetInstance () |
Access the singleton. More... | |
Protected Member Functions | |
vtkPVGeneralSettings () | |
~vtkPVGeneralSettings () | |
Protected Attributes | |
int | BlockColorsDistinctValues |
bool | AutoApply |
bool | AutoApplyActiveOnly |
char * | DefaultViewType |
int | TransferFunctionResetMode |
int | ScalarBarMode |
bool | CacheGeometryForAnimation |
unsigned long | AnimationGeometryCacheLimit |
int | AnimationTimePrecision |
int | PropertiesPanelMode |
bool | LockPanels |
enum | { AUTOMATICALLY_SHOW_AND_HIDE_SCALAR_BARS = 0, AUTOMATICALLY_HIDE_SCALAR_BARS = 1, MANUAL_SCALAR_BARS = 2 } |
Enum for ScalarBarMode. More... | |
virtual int | GetScalarBarMode () |
Enum for ScalarBarMode. More... | |
void | SetScalarBarMode (int) |
Enum for ScalarBarMode. More... | |
object for general options.
vtkPVGeneralSettings keeps track of general options in a ParaView application. This is a singleton. All calls to vtkPVGeneralSettings::New() return a pointer to the same global instance (with reference count incremented as expected).
Definition at line 33 of file vtkPVGeneralSettings.h.
typedef vtkObject vtkPVGeneralSettings::Superclass |
Definition at line 37 of file vtkPVGeneralSettings.h.
anonymous enum |
Enum for DefaultTimeStep.
Enumerator | |
---|---|
DEFAULT_TIME_STEP_UNCHANGED | |
DEFAULT_TIME_STEP_FIRST | |
DEFAULT_TIME_STEP_LAST |
Definition at line 110 of file vtkPVGeneralSettings.h.
anonymous enum |
Enum for TransferFunctionResetMode.
Enumerator | |
---|---|
GROW_ON_APPLY | |
GROW_ON_APPLY_AND_TIMESTEP | |
RESET_ON_APPLY | |
RESET_ON_APPLY_AND_TIMESTEP |
Definition at line 120 of file vtkPVGeneralSettings.h.
anonymous enum |
Enum for ScalarBarMode.
Enumerator | |
---|---|
AUTOMATICALLY_SHOW_AND_HIDE_SCALAR_BARS | |
AUTOMATICALLY_HIDE_SCALAR_BARS | |
MANUAL_SCALAR_BARS |
Definition at line 140 of file vtkPVGeneralSettings.h.
anonymous enum |
Enumerator | |
---|---|
ALL_IN_ONE | |
SEPARATE_DISPLAY_PROPERTIES | |
SEPARATE_VIEW_PROPERTIES | |
ALL_SEPARATE |
Definition at line 179 of file vtkPVGeneralSettings.h.
|
protected |
|
protected |
|
static |
|
virtual |
|
static |
|
virtual |
|
static |
void vtkPVGeneralSettings::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
static |
Access the singleton.
void vtkPVGeneralSettings::SetAutoConvertProperties | ( | bool | val | ) |
Automatically convert data arrays as needed by filters including converting cell arrays to point arrays, or vice versa, and extracting single components from multi-component arrays.
Forwards the call to vtkSMInputArrayDomain::SetAutomaticPropertyConversion.
bool vtkPVGeneralSettings::GetAutoConvertProperties | ( | ) |
Automatically convert data arrays as needed by filters including converting cell arrays to point arrays, or vice versa, and extracting single components from multi-component arrays.
Forwards the call to vtkSMInputArrayDomain::SetAutomaticPropertyConversion.
|
virtual |
Determines the number of distinct values in vtkBlockColors.
This array is added to each block if the dataset is a composite dataset. The array has one value set to (blockIndex % BlockColorsDistinctValues)
|
virtual |
Determines the number of distinct values in vtkBlockColors.
This array is added to each block if the dataset is a composite dataset. The array has one value set to (blockIndex % BlockColorsDistinctValues)
|
virtual |
Automatically apply changes in the 'Properties' panel.
|
virtual |
Automatically apply changes in the 'Properties' panel.
|
virtual |
Automatically apply changes in the 'Properties' panel.
|
virtual |
Automatically apply changes in the 'Properties' panel.
void vtkPVGeneralSettings::SetEnableAutoMPI | ( | bool | ) |
Enable auto-mpi.
Forwarded to vtkProcessModuleAutoMPI.
bool vtkPVGeneralSettings::GetEnableAutoMPI | ( | ) |
Enable auto-mpi.
Forwarded to vtkProcessModuleAutoMPI.
void vtkPVGeneralSettings::SetAutoMPILimit | ( | int | val | ) |
Set the core limit for auto-mpi.
int vtkPVGeneralSettings::GetAutoMPILimit | ( | ) |
Set the core limit for auto-mpi.
|
virtual |
Get/Set the default view type.
|
virtual |
Get/Set the default view type.
|
virtual |
Get/Set the transfer function reset mode.
|
virtual |
Get/Set the transfer function reset mode.
|
virtual |
Enum for ScalarBarMode.
void vtkPVGeneralSettings::SetScalarBarMode | ( | int | ) |
Enum for ScalarBarMode.
void vtkPVGeneralSettings::SetCacheGeometryForAnimation | ( | bool | val | ) |
Set when animation geometry caching is enabled.
|
virtual |
Set when animation geometry caching is enabled.
void vtkPVGeneralSettings::SetAnimationGeometryCacheLimit | ( | unsigned long | val | ) |
Set the animation cache limit in KBs.
|
virtual |
Set the animation cache limit in KBs.
|
virtual |
Set the precision of the animation time toolbar.
|
virtual |
Set the precision of the animation time toolbar.
void vtkPVGeneralSettings::SetInheritRepresentationProperties | ( | bool | val | ) |
Forwarded for vtkSMParaViewPipelineControllerWithRendering.
|
virtual |
Properties panel configuration.
|
virtual |
Properties panel configuration.
|
virtual |
Set whether to dock widgets into place.
|
virtual |
Set whether to dock widgets into place.
void vtkPVGeneralSettings::SetMultiViewImageBorderColor | ( | double | r, |
double | g, | ||
double | b | ||
) |
Forwarded to vtkSMViewLayoutProxy.
void vtkPVGeneralSettings::SetMultiViewImageBorderWidth | ( | int | width | ) |
Forwarded to vtkSMViewLayoutProxy.
void vtkPVGeneralSettings::SetTransparentBackground | ( | bool | val | ) |
Forwarded to vtkSMViewProxy.
void vtkPVGeneralSettings::SetLoadAllVariables | ( | bool | val | ) |
Load all variables when loading a data set.
bool vtkPVGeneralSettings::GetLoadAllVariables | ( | ) |
Load all variables when loading a data set.
void vtkPVGeneralSettings::SetLoadNoChartVariables | ( | bool | val | ) |
Load no variables when showing a 2D chart.
bool vtkPVGeneralSettings::GetLoadNoChartVariables | ( | ) |
Load no variables when showing a 2D chart.
|
protected |
Definition at line 235 of file vtkPVGeneralSettings.h.
|
protected |
Definition at line 236 of file vtkPVGeneralSettings.h.
|
protected |
Definition at line 237 of file vtkPVGeneralSettings.h.
|
protected |
Definition at line 238 of file vtkPVGeneralSettings.h.
|
protected |
Definition at line 239 of file vtkPVGeneralSettings.h.
|
protected |
Definition at line 240 of file vtkPVGeneralSettings.h.
|
protected |
Definition at line 241 of file vtkPVGeneralSettings.h.
|
protected |
Definition at line 242 of file vtkPVGeneralSettings.h.
|
protected |
Definition at line 243 of file vtkPVGeneralSettings.h.
|
protected |
Definition at line 244 of file vtkPVGeneralSettings.h.
|
protected |
Definition at line 245 of file vtkPVGeneralSettings.h.