4#ifndef _direction_cosines_h_
5#define _direction_cosines_h_
11#ifndef PLM_CUDA_COMPILE
16#define DIRECTION_COSINES_IDENTITY_THRESH 1e-9
17#define DIRECTION_COSINES_EQUALITY_THRESH 1e-9
19namespace itk {
template<
class T,
unsigned int NRows,
unsigned int NColumns>
class Matrix; }
21class Direction_cosines_private;
25 Direction_cosines_private *
d_ptr;
30#ifndef PLM_CUDA_COMPILE
36 operator const float* ()
const;
43 void set_rotated_1 ();
44 void set_rotated_2 ();
45 void set_rotated_3 ();
48 const float* get_matrix()
const;
50 const float* get_inverse ()
const;
51 void set (
const float dc[]);
52#ifndef PLM_CUDA_COMPILE
55 bool set_from_string (std::string& str);
57 std::string get_string ()
const;
59 void solve_inverse ();
Definition direction_cosines.h:23
Direction_cosines_private * d_ptr
Definition direction_cosines.h:25
Definition direction_cosines.h:19
Definition direction_cosines.h:19
#define PLMBASE_API
Definition plmbase_config.h:19