52 #include <vtkObjectFactory.h>
53 #include <vtkObject.h>
54 #include <vtkGlobFileNames.h>
55 #include <vtkStringArray.h>
56 #include <vtkDirectory.h>
62 #define MAXPATHLEN 260
64 #include <sys/param.h>
87 static bool FilePathExists(
const char* path );
88 static string GetCurrentWorkingDirectory();
89 static string GetHomeDirectory();
90 static string GetUserName();
91 static bool CanWriteToPath(
const char* path );
92 static int CopyFile(
const char* input,
const char* output );
93 static int MoveFile(
const char* input,
const char* output );
94 static bool PrintFile(
const char* fileName,
const char* printerName );
95 static vector<string> GetFileNamesFromPattern(
100 static string GetDefaultSecondaryCaptureDirectory(
104 static string GetDefaultSecondaryCaptureFilePattern(
108 static int GetNextPower2(
int x );
109 static void StringToColorArray(
double color[3],
string colorString );
110 static string Double3x3ToString(
double doubleMatrix[][3] );
111 static string ColorArrayToString(
double color[3] );
112 static vector<string> SplitString(
string str,
string token );
113 static string GetFilenameFromFullPath(
string fullPath );
114 static int NearestInt(
double x);
115 static bool UncompressFiles( vtkStringArray *filenames );
116 static bool UncompressFile( vtkstd::string filename );
117 static bool IsFileCompressed( vtkstd::string filename );
118 static string SpacesTo_(
string inputString );
119 static bool AreValuesClose(
double x,
double y,
double maxRatio = 0.01 );
120 static bool AreValuesClose(
double x[3],
double y[3],
double maxRatio = 0.01 );
121 static int GetNumberOfDigits(
int value,
bool isMinusDigit =
false );
122 static void GetRealpath(
const char * path,
int size,
char* realpath );
123 static void ReadLine(ifstream* fs, istringstream* iss);
Definition: svkUtils.h:74
Definition: svk4DImageData.h:69
Definition: svkMriImageData.h:72