|
| virtual const char * | GetClassName () |
| |
| virtual int | IsA (const char *type) |
| |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| |
| | vtkBaseTypeMacro (vtkObject, vtkObjectBase) |
| |
| virtual void | DebugOn () |
| |
| virtual void | DebugOff () |
| |
| bool | GetDebug () |
| |
| void | SetDebug (bool debugFlag) |
| |
| virtual void | Modified () |
| |
| virtual vtkMTimeType | GetMTime () |
| |
| void | RemoveObserver (unsigned long tag) |
| |
| void | RemoveObservers (unsigned long event) |
| |
| void | RemoveObservers (const char *event) |
| |
| void | RemoveAllObservers () |
| |
| int | HasObserver (unsigned long event) |
| |
| int | HasObserver (const char *event) |
| |
| int | InvokeEvent (unsigned long event) |
| |
| int | InvokeEvent (const char *event) |
| |
| unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| |
| unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| |
| vtkCommand * | GetCommand (unsigned long tag) |
| |
| void | RemoveObserver (vtkCommand *) |
| |
| void | RemoveObservers (unsigned long event, vtkCommand *) |
| |
| void | RemoveObservers (const char *event, vtkCommand *) |
| |
| int | HasObserver (unsigned long event, vtkCommand *) |
| |
| int | HasObserver (const char *event, vtkCommand *) |
| |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| |
| unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| |
| int | InvokeEvent (unsigned long event, void *callData) |
| |
| int | InvokeEvent (const char *event, void *callData) |
| |
| unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| |
| unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| |
| vtkCommand * | GetCommand (unsigned long tag) |
| |
| void | RemoveObserver (vtkCommand *) |
| |
| void | RemoveObservers (unsigned long event, vtkCommand *) |
| |
| void | RemoveObservers (const char *event, vtkCommand *) |
| |
| int | HasObserver (unsigned long event, vtkCommand *) |
| |
| int | HasObserver (const char *event, vtkCommand *) |
| |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| |
| unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| |
| int | InvokeEvent (unsigned long event, void *callData) |
| |
| int | InvokeEvent (const char *event, void *callData) |
| |
| const char * | GetClassName () const |
| |
| virtual void | Delete () |
| |
| virtual void | FastDelete () |
| |
| void | Print (ostream &os) |
| |
| virtual void | Register (vtkObjectBase *o) |
| |
| virtual void | UnRegister (vtkObjectBase *o) |
| |
| void | SetReferenceCount (int) |
| |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| |
| int | GetReferenceCount () |
| |
| void | PrintRevisions (ostream &) |
| |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| |
| int | GetReferenceCount () |
| |
| void | PrintRevisions (ostream &) |
| |
|
| static vtkSMCoreUtilities * | New () |
| |
| static int | IsTypeOf (const char *type) |
| |
| static vtkSMCoreUtilities * | SafeDownCast (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 std::vector< std::string > | GetFileNameProperties (vtkSMProxy *proxy) |
| | Returns list of all properties that accept filenames in order that they are defined. More...
|
| |
| static std::string | SanitizeName (const char *) |
| | Sanitize a label/name to be remove spaces, delimiters etc. More...
|
| |
| static std::string | SanitizeName (const std::string &name) |
| |
| static const char * | GetStringForCellType (int cellType) |
| | Given a VTK cell type value from the enum in vtkCellTypes.h, returns a string describing that cell type for use if ParaView's GUI. More...
|
| |
| static std::string | FindLargestPrefix (const std::vector< std::string > &files) |
| | Find the largest prefix that matches all file names in files, and then append a '*' to signify that it is a collection of files. More...
|
| |
| static std::optional< std::string > | RecoverRegistrationName (vtkSMProxy *proxy) |
| | Return the registration name assigned to the given proxy by looking for a property called "RegistrationName". 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]) |
| | Adjust the given range to make it suitable for use with color maps. More...
|
| |
| static bool | AdjustRange (double &rmin, double &rmax) |
| | Adjust the given range to make it suitable for use with color maps. More...
|
| |
|
| 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 place) from each other. More...
|
| |
| 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 place) from each other. More...
|
| |
|
| static const char * | GetInputPropertyName (vtkSMProxy *proxy, int port=0) |
| | Given a proxy and a port number get the name of the input. More...
|
| |
|
| static void | ReplaceReaderFileName (vtkSMProxy *proxy, const std::vector< std::string > &files, const char *propName) |
| | Replaces input proxy, which should be a reader proxy, by a new proxy in the pipeline. More...
|
| |
| static void | ReplaceReaderFileName (vtkSMProxy *proxy, const std::vector< std::string > &files, const char *propName, bool userModifiedName) |
| | Replaces input proxy, which should be a reader proxy, by a new proxy in the pipeline. More...
|
| |
|
| static std::string | GetFileNameFromFileNameList (const std::vector< std::string > &fileNames) |
| | Return the name that the proxy will take depending on a list of files given by te fileNames parameter or stringVectorProperty. More...
|
| |
| static std::string | GetFileNameFromFileNameList (vtkSMStringVectorProperty *stringVectorProperty) |
| | Return the name that the proxy will take depending on a list of files given by te fileNames parameter or stringVectorProperty. More...
|
| |
| static vtkObject * | New () |
| |
| static void | BreakOnError () |
| |
| static void | SetGlobalWarningDisplay (int val) |
| |
| static void | GlobalWarningDisplayOn () |
| |
| static void | GlobalWarningDisplayOff () |
| |
| static int | GetGlobalWarningDisplay () |
| |
| static void | SetGlobalWarningDisplay (int val) |
| |
| static void | GlobalWarningDisplayOn () |
| |
| static void | GlobalWarningDisplayOff () |
| |
| static int | GetGlobalWarningDisplay () |
| |
| static vtkTypeBool | IsTypeOf (const char *name) |
| |
| static vtkObjectBase * | New () |
| |
| static vtkObjectBase * | New () |
| |
collection of utilities.
vtkSMCoreUtilities provides miscellaneous utility functions.
Definition at line 23 of file vtkSMCoreUtilities.h.
Replaces input proxy, which should be a reader proxy, by a new proxy in the pipeline.
The new input files are stored in files, and propName should be the file name property in the reader (usually "FileName" or "FileNames"). Optionally, the userModifiedName flag can be specified to tell if the proxy name has been modified by the user. In case the user modified the name, we keep it in the replacement process. userModifiedName is set to false when calling the function without the flag argument.
Definition at line 132 of file vtkSMCoreUtilities.h.
Replaces input proxy, which should be a reader proxy, by a new proxy in the pipeline.
The new input files are stored in files, and propName should be the file name property in the reader (usually "FileName" or "FileNames"). Optionally, the userModifiedName flag can be specified to tell if the proxy name has been modified by the user. In case the user modified the name, we keep it in the replacement process. userModifiedName is set to false when calling the function without the flag argument.