collection of utilities.
More...
#include <vtkSMCoreUtilities.h>
Inherits vtkObject.
collection of utilities.
vtkSMCoreUtilities provides miscellaneous utility functions.
Definition at line 31 of file vtkSMCoreUtilities.h.
§ Superclass
§ vtkSMCoreUtilities()
vtkSMCoreUtilities::vtkSMCoreUtilities |
( |
| ) |
|
|
protected |
§ ~vtkSMCoreUtilities()
vtkSMCoreUtilities::~vtkSMCoreUtilities |
( |
| ) |
|
|
protected |
§ New()
§ GetClassName()
virtual const char* vtkSMCoreUtilities::GetClassName |
( |
| ) |
|
|
virtual |
§ IsTypeOf()
static int vtkSMCoreUtilities::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
§ IsA()
virtual int vtkSMCoreUtilities::IsA |
( |
const char * |
type | ) |
|
|
virtual |
§ SafeDownCast()
§ PrintSelf()
void vtkSMCoreUtilities::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
§ GetFileNameProperty()
static const char* vtkSMCoreUtilities::GetFileNameProperty |
( |
vtkSMProxy * |
| ) |
|
|
static |
Given a proxy (or proxy prototype), returns the name of the property that ParaView application will be use as the default FileName property.
Returns the name of the property or NULL when no such property is found.
§ SanitizeName()
static vtkStdString vtkSMCoreUtilities::SanitizeName |
( |
const char * |
| ) |
|
|
static |
Sanitize a label/name to be remove spaces, delimiters etc.
§ AdjustRangeForLog() [1/2]
static bool vtkSMCoreUtilities::AdjustRangeForLog |
( |
double |
range[2] | ) |
|
|
static |
Given a range, converts it to be a valid range to switch to log space.
If the range is changed, returns true, otherwise returns false.
§ AdjustRangeForLog() [2/2]
static bool vtkSMCoreUtilities::AdjustRangeForLog |
( |
double & |
rmin, |
|
|
double & |
rmax |
|
) |
| |
|
inlinestatic |
Given a range, converts it to be a valid range to switch to log space.
If the range is changed, returns true, otherwise returns false.
Definition at line 56 of file vtkSMCoreUtilities.h.
§ AdjustRange() [1/2]
static bool vtkSMCoreUtilities::AdjustRange |
( |
double |
range[2] | ) |
|
|
static |
Given a range, adjusts it so that it is a valid range i.e.
range[0] < range[1]. This will always perturb the range[1] by a factor of the value itself. This assumes range[1] < range[0] to indicate an invalid range and returns false without changing them. If the range is changed, returns true, otherwise false.
§ AdjustRange() [2/2]
static bool vtkSMCoreUtilities::AdjustRange |
( |
double & |
rmin, |
|
|
double & |
rmax |
|
) |
| |
|
inlinestatic |
Given a range, adjusts it so that it is a valid range i.e.
range[0] < range[1]. This will always perturb the range[1] by a factor of the value itself. This assumes range[1] < range[0] to indicate an invalid range and returns false without changing them. If the range is changed, returns true, otherwise false.
Definition at line 75 of file vtkSMCoreUtilities.h.
The documentation for this class was generated from the following file: