[root]/Packages/Teem/Dataflow/Modules/DataIO
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 43 (100.0%) | 809 (100.0%) | 18.8 |
callahan | 24 (55.8%) | 467 (57.7%) | 19.4 |
darbyb | 4 (9.3%) | 240 (29.7%) | 60.0 |
mjc | 10 (23.3%) | 94 (11.6%) | 9.4 |
worthen | 3 (7.0%) | 5 (0.6%) | 1.6 |
mdavis | 1 (2.3%) | 2 (0.2%) | 2.0 |
dmw | 1 (2.3%) | 1 (0.1%) | 1.0 |
Clean up newlines on error messsages
1 lines of code changed in 2 files:
Use NrrdData Nrrd constructor, clean up all the nrrdNew() memory leaks associated with old usage
1 lines of code changed in 2 files:
Use send_and_detach instead of just send on the OPorts for better caching behavior. Remove empty tcl_command functions
22 lines of code changed in 5 files:
Use airStrdup, fixes null pointer crash bugs
1 lines of code changed in 1 file:
initial commit of H_O_Basis branch merge
92 lines of code changed in 3 files:
Nrrds can now represent general orientation information using a spaceOrigin and per-axis vectors (spaceDirection vectors).The following code now handles the spaceOrigin and spaceDirection vectors fields in Nrrds.
NOTE: volume rendering Nrrds with spaceDirections does not work yet.
Packages/Teem/Dataflow/Modules/Converters/ConvertToNrrd.h
----------------------------------------------------------
When converting a LatVol, Image, or Scanline Field to a Nrrd, get the transform and if the data is not axis aligned, create a Nrrd with spaceOrigin and spaceDirection vectors. The spaceOrigin is a per Nrrd field and can be taken from the 4th column of the transform. The spaceDirection vectors are a per axis field and can be taken from the transform columns 0, 1, and 2. If the data is axis aligned, create a Nrrd that uses min/max/spacing. A Nrrd can use either min/max/spacing, or spaceDirection, but not both.
Packages/Teem/Dataflow/Modules/Converters/NrrdToField.cc
Packages/Teem/Dataflow/Modules/Converters/NrrdToField.h
-----------------------------------------------------------
When converting just data (which makes LatVol, Image, or Scanline fields), if the spaceDirection vectors are defined, create the mesh and apply the appropriate transform. The spaceDirection vectors make up columns 0, 1, and 2 and the spaceOrigin can be used to set the 4th column of the transform. If the data is axis aligned (only the diagonals of the transform are defined), create the mesh as it was created before with a min/max point. If the data has orientation information, set the transform to be what was pulled out of the space information of the Nrrd. If the Nrrd had a Transform property (old way of storing transform info), apply that transform.
Packages/Teem/Dataflow/XML/UnuAxinfo.xml
Packages/Teem/Dataflow/GUI/UnuAxinfo.tcl
Packages/Teem/Dataflow/Modules/Unu/UnuAxinfo.cc
-----------------------------------------
Add ability to modify only certain fields instead of all fields. Add ability to set the spaceOrigin (which is per Nrrd) and the spaceDirection vectors. SpaceDirection vectors should be doubles separated by commas.
Packages/Teem/Dataflow/GUI/NrrdInfo.tcl
Packages/Teem/Dataflow/Modules/NrrdData/NrrdInfo.cc
----------------------------------------------------
Show spaceOrigin and spaceDirection vector values if available.
Packages/Teem/Dataflow/Modules/DataIO/NrrdReader.cc
---------------------------------------------------
Only call nrrdAxisInfoMinMaxSet if the space information hasn't been set.
3 lines of code changed in 1 file:
Replace ASSERT with warning when standalone converters fail, might be using crash on exit workaround
4 lines of code changed in 1 file:
Bug #2684: Fix convert of files with spaces in the filename
2 lines of code changed in 1 file:
Fix braces around Dicom series uids.
3 lines of code changed in 1 file:
Use ProgressReporter interface to report errors in the Pstream system
1 lines of code changed in 1 file:
use airStrdup, handles NULL better
18 lines of code changed in 2 files:
use airStrdup, handles NULL better
17 lines of code changed in 1 file:
Enable NrrdWriter plugins
121 lines of code changed in 2 files:
Add NrrdReader plugin support
99 lines of code changed in 3 files:
Minor cleanups
86 lines of code changed in 2 files:
Allow file names to have spaces. Instead of tcl strings being separated by spaces, each filename is now wrapped with curly braces. Old saved .net files are fixed to format filename appropriately. (sync with branch)
140 lines of code changed in 1 file:
- Need to explicitly link Insight libs for Mac (syncs with branch)
1 lines of code changed in 1 file:
Merge v1_24_1_release into trunk
2 lines of code changed in 1 file:
checkpoint merge from branch for bux fixes
2 lines of code changed in 7 files:
remove unnecessary SCICORESHARE
5 lines of code changed in 3 files:
(2 more)