ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkSMCoreUtilities Class Reference

collection of utilities. More...

#include <vtkSMCoreUtilities.h>

Inherits vtkObject.

Public Types

typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 

Static Public Member Functions

static vtkSMCoreUtilitiesNew ()
 
static int IsTypeOf (const char *type)
 
static vtkSMCoreUtilitiesSafeDownCast (vtkObject *o)
 
static const char * GetFileNameProperty (vtkSMProxy *)
 Given a proxy (or proxy prototype), returns the name of the property that ParaView application will be use as the default FileName property. More...
 
static vtkStdString SanitizeName (const char *)
 Sanitize a label/name to be remove spaces, delimiters etc. More...
 
static bool AdjustRangeForLog (double range[2])
 Given a range, converts it to be a valid range to switch to log space. More...
 
static bool AdjustRangeForLog (double &rmin, double &rmax)
 Given a range, converts it to be a valid range to switch to log space. More...
 
static bool AdjustRange (double range[2])
 Given a range, adjusts it so that it is a valid range i.e. More...
 
static bool AdjustRange (double &rmin, double &rmax)
 Given a range, adjusts it so that it is a valid range i.e. More...
 

Protected Member Functions

 vtkSMCoreUtilities ()
 
 ~vtkSMCoreUtilities ()
 

Detailed Description

collection of utilities.

vtkSMCoreUtilities provides miscellaneous utility functions.

Definition at line 31 of file vtkSMCoreUtilities.h.

Member Typedef Documentation

§ Superclass

typedef vtkObject vtkSMCoreUtilities::Superclass

Definition at line 35 of file vtkSMCoreUtilities.h.

Constructor & Destructor Documentation

§ vtkSMCoreUtilities()

vtkSMCoreUtilities::vtkSMCoreUtilities ( )
protected

§ ~vtkSMCoreUtilities()

vtkSMCoreUtilities::~vtkSMCoreUtilities ( )
protected

Member Function Documentation

§ New()

static vtkSMCoreUtilities* vtkSMCoreUtilities::New ( )
static

§ 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()

static vtkSMCoreUtilities* vtkSMCoreUtilities::SafeDownCast ( vtkObject *  o)
static

§ 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: