NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Enumerations | Functions | Variables
niftkTransformPoint3Dto2D.cxx File Reference
Include dependency graph for niftkTransformPoint3Dto2D.cxx:

Enumerations

enum  {
  O_INPUT_GLOBAL_AFFINE_TRANSFORM_3D, O_INPUT_DOF_TRANSFORM_3D, O_INPUT_DISPLACEMENT_TRANSFORM_3D, O_INPUT_PERSPECTIVE,
  O_K1, O_K2, O_FOCAL_LENGTH, O_NORMAL_POSITION,
  O_INPUT_COORDINATE_3D
}
 

Functions

int main (int argc, char *argv[])
 

Variables

struct
niftk::CommandLineArgumentDescription 
clArgList []
 

Enumeration Type Documentation

anonymous enum
Enumerator
O_INPUT_GLOBAL_AFFINE_TRANSFORM_3D 
O_INPUT_DOF_TRANSFORM_3D 
O_INPUT_DISPLACEMENT_TRANSFORM_3D 
O_INPUT_PERSPECTIVE 
O_K1 
O_K2 
O_FOCAL_LENGTH 
O_NORMAL_POSITION 
O_INPUT_COORDINATE_3D 

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Variable Documentation

Initial value:
= {
{OPT_STRING, "g", "filename", "The input global (affine) 3D transformation."},
{OPT_STRING, "df", "filename", "Deformation DOF (degrees of freedom) file name."},
{OPT_STRING, "di", "filename", "Deformation vector image transformation file name."},
{OPT_STRING, "p", "filename", "The input perspective projection transformation."},
{OPT_SWITCH, "k1", NULL, "Invert the 'x' dimension of the 2D projection"},
{OPT_SWITCH, "k2", NULL, "Invert the 'y' dimension of the 2D projection"},
{OPT_DOUBLE, "f", "focalLength", "Focal length of the projection in mm [1000]"},
{OPT_DOUBLEx2, "uv", "u0,v0", "The location of the projection normal on the 2D plane in mm [0,0]"},
{OPT_DOUBLEx3|OPT_REQ, "pt3D", "x,y,z", "The input 3D coordinate to transform and project into 2D"},
{OPT_DONE, NULL, NULL,
"Program to load a 2D-3D transformation and transform a 3D point into 2D.\n"
}
}
#define OPT_DONE
No more options - must terminate array.
Definition: niftkCommandLineParser.h:103
#define OPT_DOUBLEx3
Option takes three doubles '(,,)'.
Definition: niftkCommandLineParser.h:101
#define OPT_DOUBLEx2
Option takes two double '(,)'.
Definition: niftkCommandLineParser.h:100
#define OPT_REQ
Option is always required.
Definition: niftkCommandLineParser.h:116
#define OPT_STRING
Option takes one string.
Definition: niftkCommandLineParser.h:89
#define OPT_SWITCH
Option is boolean switch.
Definition: niftkCommandLineParser.h:86
#define OPT_DOUBLE
Simliar to OPT_FLOAT but returns double.
Definition: niftkCommandLineParser.h:92