Typedefs | |
typedef int | FastMutexType |
typedef igtlUint64 | igtlUnit |
typedef float | Matrix4x4[4][4] |
typedef class MessageBase | MessageHeader |
typedef int | MultiThreaderIDType |
typedef int | MutexType |
typedef void(* | ThreadFunctionType) (void *) |
typedef int | ThreadProcessIDType |
Functions | |
void IGTLCommon_EXPORT | Cross (float *a, float *b, float *c) |
void IGTLCommon_EXPORT | IdentityMatrix (igtl::Matrix4x4 &matrix) |
void IGTLCommon_EXPORT | MatrixToQuaternion (Matrix4x4 &m, float *q) |
template<typename T > | |
std::ostream & | operator<< (std::ostream &os, SmartPointer< T > p) |
void IGTLCommon_EXPORT | PrintMatrix (igtl::Matrix4x4 &matrix) |
void IGTLCommon_EXPORT | PrintVector3 (float v[3]) |
void IGTLCommon_EXPORT | PrintVector3 (float x, float y, float z) |
void IGTLCommon_EXPORT | PrintVector4 (float v[4]) |
void IGTLCommon_EXPORT | PrintVector4 (float x, float y, float z, float w) |
void IGTLCommon_EXPORT | QuaternionToMatrix (float *q, Matrix4x4 &m) |
void IGTLCommon_EXPORT | Sleep (int millisecond) |
The "igtl" namespace contains all OpenIGTLink classes. There are several nested namespaces within the igtl:: namespace.
igtlMacro.h defines standard system-wide macros, constants, and other parameters. One of its most important functions is to define macros used to interface to instance variables in a standard fashion. For example, these macros manage modified time, debugging information, and provide a standard interface to set and get instance variables. Macros are available for built-in types; for string classe; vector arrays; object pointers; and debug, warning, and error printout information.
typedef int igtl::FastMutexType |
Definition at line 71 of file igtlSimpleFastMutexLock.h.
typedef igtlUint64 igtl::igtlUnit |
Definition at line 28 of file igtlUnit.h.
typedef float igtl::Matrix4x4[4][4] |
Definition at line 23 of file igtlMath.h.
typedef class MessageBase igtl::MessageHeader |
Definition at line 74 of file igtlMessageHeader.h.
typedef int igtl::MultiThreaderIDType |
Definition at line 127 of file igtlMultiThreader.h.
typedef int igtl::MutexType |
Definition at line 69 of file igtlMutexLock.h.
typedef void(* igtl::ThreadFunctionType) (void *) |
Definition at line 125 of file igtlMultiThreader.h.
typedef int igtl::ThreadProcessIDType |
Definition at line 126 of file igtlMultiThreader.h.
void IGTLCommon_EXPORT igtl::Cross | ( | float * | a, |
float * | b, | ||
float * | c | ||
) |
Calculates the cross products of 3-element vectors 'b' and 'c'. The result is substituted into a 3-element vector a.
void IGTLCommon_EXPORT igtl::IdentityMatrix | ( | igtl::Matrix4x4 & | matrix | ) |
Initialize a 4-by-4 matrix as an identity matrix.
void IGTLCommon_EXPORT igtl::MatrixToQuaternion | ( | Matrix4x4 & | m, |
float * | q | ||
) |
Converts a 3-by-3 rotation matrix a quaternion. Only the 3-by-3 rotation matrix part in the 4-by-4 matrix is used.
std::ostream& igtl::operator<< | ( | std::ostream & | os, |
SmartPointer< T > | p | ||
) |
Definition at line 171 of file igtlSmartPointer.h.
References igtl::SmartPointer< TObjectType >::Print().
void IGTLCommon_EXPORT igtl::PrintMatrix | ( | igtl::Matrix4x4 & | matrix | ) |
Prints out a 4-by-4 matrix on the standard output.
void IGTLCommon_EXPORT igtl::PrintVector3 | ( | float | v[3] | ) |
Prints out a 3-element vector on the standard output.
void IGTLCommon_EXPORT igtl::PrintVector3 | ( | float | x, |
float | y, | ||
float | z | ||
) |
Prints out a 3-element vector on the standard output.
void IGTLCommon_EXPORT igtl::PrintVector4 | ( | float | v[4] | ) |
Prints out a 4-element vector on the standard output.
void IGTLCommon_EXPORT igtl::PrintVector4 | ( | float | x, |
float | y, | ||
float | z, | ||
float | w | ||
) |
Prints out a 4-element vector on the standard output.
void IGTLCommon_EXPORT igtl::QuaternionToMatrix | ( | float * | q, |
Matrix4x4 & | m | ||
) |
Converts a quaternion to a 3-by-3 rotation matrix. Only the 3-by-3 rotation matrix part in the 4-by-4 matrix is used.
void IGTLCommon_EXPORT igtl::Sleep | ( | int | millisecond | ) |
Stop the program for the duration specified in millisecond The maximum dulation is
vcl_size_t IGTLCommon_EXPORT igtl::Strnlen | ( | const char * | s, |
vcl_size_t | maxlen | ||
) |
Just in case strnlen() is not defined (e.g. Mac OS X Snow Leopard)