Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
|
Bial global functions and classes. More...
Namespaces | |
Bial | |
Adjacency relation with indexes following gray code sequency. Future add-on's: none. | |
Classes | |
class | Bial::Common |
Commonly used macros, types, static variables and functions. More... | |
Macros | |
#define | DIR_SEPARATOR '/' |
Functions | |
static void | Bial::Common::Randomize (bool random) |
Generates numbers in pseudo-random or fixed sequence. More... | |
bool | Bial::Equals (float value, float other, float factor) |
Useful function to compare floating point numbers. More... | |
bool | Bial::Equals (double value, double other, double factor) |
float | Bial::Radians (float angle) |
Useful function to convert degrees ro radians. More... | |
double | Bial::Radians (double angle) |
float | Bial::Degrees (float rad) |
Useful function to convert radians to degrees. More... | |
double | Bial::Degrees (double rad) |
FILE * | Bial::Bial_popen (const char *command, const char *type) |
Same as popen for Linux and Apple, and _popen for Windows. More... | |
int | Bial::Bial_pclose (FILE *stream) |
Same as pclose for Linux and Apple, and _pclose for Windows. More... | |
std::string | Bial::DirectoryExistsCommand (const std::string &dirname) |
Generates a command for terminal to check if directory exists. More... | |
std::string | Bial::FileDirectoryListCommand (const std::string &dirname) |
Generates a command for terminal to list files and directories in given directory. More... | |
std::string | Bial::DirectoryListCommand (const std::string &dirname) |
Generates a command for terminal to list subdirectories in given directory. More... | |
std::string | Bial::FileListCommand (const std::string &dirname) |
Generates a command for terminal to list files in given directory. More... | |
std::string | Bial::FileListCommand (const std::string &dirname, const std::string &extension) |
Generates a command for terminal to list files in given directory with a given extension. More... | |
std::string | Bial::MakeDirCommand (const std::string &dirname) |
Generates a command for terminal to create a directory. More... | |
Variables | |
int | Bial::verbose |
Determines the COMMENT macro verbosity. More... | |
const double | Bial::Pi = std::atan( 1.0 ) * 4.0 |
Bial global functions and classes.
class Bial::Common |
Commonly used macros, types, static variables and functions.
Definition at line 187 of file Common.hpp.
Static Public Member Functions | |
static void | Randomize (bool random) |
Generates numbers in pseudo-random or fixed sequence. More... | |
#define DIR_SEPARATOR '/' |
Definition at line 340 of file Common.hpp.
int Bial::Bial_pclose | ( | FILE * | stream | ) |
Same as pclose for Linux and Apple, and _pclose for Windows.
Same as popen for Linux and Apple, and _popen for Windows.
|
inline |
Useful function to convert radians to degrees.
Definition at line 243 of file Common.hpp.
|
inline |
Definition at line 246 of file Common.hpp.
std::string Bial::DirectoryExistsCommand | ( | const std::string & | dirname | ) |
Generates a command for terminal to check if directory exists.
dirname | name of a directory. |
std::string Bial::DirectoryListCommand | ( | const std::string & | dirname | ) |
Generates a command for terminal to list subdirectories in given directory.
dirname | name of a directory. |
|
inline |
Useful function to compare floating point numbers.
Definition at line 217 of file Common.hpp.
|
inline |
Definition at line 220 of file Common.hpp.
std::string Bial::FileDirectoryListCommand | ( | const std::string & | dirname | ) |
Generates a command for terminal to list files and directories in given directory.
dirname | name of a directory. |
std::string Bial::FileListCommand | ( | const std::string & | dirname | ) |
Generates a command for terminal to list files in given directory.
dirname | name of a directory. |
Generates a command for terminal to list files in given directory with a given extension.
dirname | name of a directory. |
extension | a file extension. |
std::string Bial::MakeDirCommand | ( | const std::string & | dirname | ) |
Generates a command for terminal to create a directory.
dirname | name of a directory. |
|
inline |
Useful function to convert degrees ro radians.
Definition at line 230 of file Common.hpp.
|
inline |
Definition at line 233 of file Common.hpp.
|
inlinestatic |
Generates numbers in pseudo-random or fixed sequence.
randomize | Fixed or variable pseudo-random sampling. |
Definition at line 198 of file Common.hpp.
const double Bial::Pi = std::atan( 1.0 ) * 4.0 |
Definition at line 209 of file Common.hpp.
int Bial::verbose |
Determines the COMMENT macro verbosity.