USAGE:
MeshFromTracts [--returnparameterfile <std::string>]
[--processinformationaddress <std::string>] [--xml]
[--echo] [--debug] [-p] [--nonormal] [--zoom <double>]
[--png <std::string>] [--angle <std::vector<double>>]
[--size <std::vector<int>>] [--flip <std::vector<int>>]
[--scalarimage <std::string>] [--scalarrange
<std::vector<double>>] [--radius <double>] [--color
<std::vector<int>>] [--colorscheme <FIXED|DIRECTION
|MEAN_DIRECTION|END_POINTS|IMAGE|SCALARS|PROPERTY>] [-o
<std::string>] [--] [--version] [-h] <std::string>
Where:
--returnparameterfile <std::string>
Filename in which to write simple return parameters (int, float,
int-vector, etc.) as opposed to bulk return parameters (image,
geometry, transform, measurement, table).
--processinformationaddress <std::string>
Address of a structure to store process information (progress, abort,
etc.). (value: 0)
--xml
Produce xml description of command line arguments (value: 0)
--echo
Echo the command line arguments (value: 0)
--debug
debug (value: 0)
-p, --progress
show progress of processing (value: 0)
--nonormal
Do not use vtkPolyDataNormals. (value: 0)
--zoom <double>
zoom factor. Used when visualzing the vtk file.
--png <std::string>
output png file. Used when visualzing the vtk file.
--angle <std::vector<double>>
azimuth,elevation. Used when visualzing the vtk file. (value: 0.0,0.0)
--size <std::vector<int>>
window size. Used when visualzing the vtk file. (value: 600,600)
--flip <std::vector<int>>
Flip x/y/z-axis for spherical functions. 1 means flip, 0 means
no-flip. (value: 0,0,0)
--scalarimage <std::string>
Input file. (value: "")
--scalarrange <std::vector<double>>
Range of scalar used for coloring. If they are -1.0, then use minimal
and maximal values. (value: -1.0,-1.0)
--radius <double>
Tube radius. If it is negative or zero, use lines instead of tubes.
(value: 0.2)
--color <std::vector<int>>
Use fixed color for peaks when --colorscheme FIXED is set. (value: 255
,255,0)
--colorscheme <FIXED|DIRECTION|MEAN_DIRECTION|END_POINTS|IMAGE|SCALARS
|PROPERTY>
Color scheme. (value: DIRECTION)
-o <std::string>, --output <std::string>
Output vtk file. If it is not set, visualize the vtk file. (value: "")
--, --ignore_rest
Ignores the rest of the labeled arguments following this flag.
--version
Displays version information and exits.
-h, --help
Displays usage information and exits.
<std::string>
(required) Input file.
Description: Create a mesh from fiber tracts for visualization.
Examples:
MeshFromTracts tracts.trk -o tracts_vis.vtk --colorscheme DIRECTION
MeshFromTracts tracts.trk -o tracts_vis.vtk --colorscheme DIRECTION
--radius 0.2
Author(s): Jian Cheng (jian.cheng.1983@gmail.com)
Acknowledgements: Thank you everyone.