22 #ifndef vtkSMCoreUtilities_h 23 #define vtkSMCoreUtilities_h 44 static const char* GetFileNameProperty(
vtkSMProxy*);
49 static std::string SanitizeName(
const char*);
56 static bool AdjustRangeForLog(
double range[2]);
59 double range[2] = { rmin, rmax };
82 static bool AdjustRange(
double range[2]);
85 double range[2] = { rmin, rmax };
98 static bool AlmostEqual(
const double range[2],
int ulpsDiff);
99 static bool AlmostEqual(
double rmin,
double rmax,
int ulpsDiff)
101 double range[2] = { rmin, rmax };
110 static const char* GetInputPropertyName(
vtkSMProxy* proxy,
int port = 0);
119 static const char* GetStringForCellType(
int cellType);
static bool AdjustRange(double range[2])
Adjust the given range to make it suitable for use with color maps.
static bool AlmostEqual(const double range[2], int ulpsDiff)
Compares val1 and val2 and returns true is the two numbers are within ulpsDiff ULPs (units in last pl...
#define VTKREMOTINGSERVERMANAGER_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
static bool AdjustRangeForLog(double range[2])
Given a range, converts it to be a valid range to switch to log space.
static bool AdjustRangeForLog(double &rmin, double &rmax)
Given a range, converts it to be a valid range to switch to log space.
static bool AdjustRange(double &rmin, double &rmax)
Adjust the given range to make it suitable for use with color maps.
CellTypeInDataSet cellType(vtkDataSet *input)
proxy for a VTK object(s) on a server
void operator=(const vtkObjectBase &)
static bool AlmostEqual(double rmin, double rmax, int ulpsDiff)
Compares val1 and val2 and returns true is the two numbers are within ulpsDiff ULPs (units in last pl...