Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 63 (100.0%) | 334 (100.0%) | 5.3 |
bigler | 7 (11.1%) | 113 (33.8%) | 16.1 |
worthen | 40 (63.5%) | 86 (25.7%) | 2.1 |
mjc | 1 (1.6%) | 32 (9.6%) | 32.0 |
boulos | 2 (3.2%) | 28 (8.4%) | 14.0 |
callahan | 4 (6.3%) | 27 (8.1%) | 6.7 |
sparker | 6 (9.5%) | 24 (7.2%) | 4.0 |
mdavis | 3 (4.8%) | 24 (7.2%) | 8.0 |
Dataflow/Modules/Render/Painter.cc
Dataflow/Modules/Render/Painter.h:
- *Major rewrite* to allow arbitrary number of nrrds with different resolutions ans spacing. Navigates through space instead of slices. Allows viewing overlapping volumes acquired at different resolutions (such as PET vs CT).
- Render volumes at true position in space and scale instead of always at origin.
- Chaged text to display spatial mouse position in XYZ coordinates, and current volume slice coordinates as Saggital, Axial, Coronal indices. Only display slice coordinates when mouse is over volume.
- Added methods to transform between index space and world space (and vice versa): NrrdVolume:index_to_world(vector<int> &), and NrrdVolume::world_to_slice(Point &). Other conveince methods for center, min, max of NrrdVolume.
- Remove error checking for nrrds of non matching dimensions/scale.
- Added templated NrrdVolume::get/set_value method to Painter.h to allow for slightly more optimized painting code.
Dataflow/Modules/Render/PainterTools.cc:
- Updated Crop, Floodfill, & PixelPaint Tools to handle new volumes that reside anywhere in space (not necessarily at origin)
Core/Geom/ColorMappedNrrdTextureObj.h
Core/Geom/ColorMappedNrrdTextureObj.cc:
- Updated code to remove NrrdPad and instead use clever OpenGL pixel transfer offsets to load non-power-of-2 textures and overlapping textures. Code support for adding tiled textures in future for textures larger than card supports.
1 lines of code changed in 2 files:
Added findFactorsNearRoot function that finds two factors of a number closest to the square root.
24 lines of code changed in 3 files:
SCIRun/Core/Containers/Array1.h
SCIRun/Core/Containers/Array2.h
SCIRun/Core/Containers/Array3.h
Added #ifdef SCI_NOPERSISTENT to allow these classes to be compiled
without Pio stuff.
SCIRun/Core/Math/MiscMath.h
Added float versions of Floor and Ceil.
37 lines of code changed in 1 file:
Remove Core/Volume/Util.cc and move IsPowerOf2 and LargestPowerOf2 functions to Core/Math/MiscMath.h
23 lines of code changed in 1 file:
Added double version of Sqrt, and moved the float version to the
bottom of the file.
0 lines of code changed in 2 files:
Per Steve's suggestion do the cast after the divide so the compiler
will do the division in double precision and then truncate the value.
Also use parenthesis to encourage the compiler to precompute the const
values at compile time.
4 lines of code changed in 1 file:
Added float versions of Tan and Atan. Modified how casts were done for DtoR and RtoD.
12 lines of code changed in 1 file:
MiscMath.h
Added float version of Abs and Clamp.
Trig.h
Changed PI to M_PI.
Added double version of Atan2.
Added float versions of Sin, Cos, Sqrt, Atan2, Acos, DtoR, and RtoD.
60 lines of code changed in 2 files:
A new Ceil function similar to the previously
added faster Floor function (same trick).
13 lines of code changed in 1 file:
Adding a faster Floor function that takes an
offset value as well. Twice as fast as the
default version, and more than 15x faster
than (int)floor(value);
15 lines of code changed in 1 file:
Added Exp function for doubles and floats
0 lines of code changed in 2 files:
Retire .cvsignore files
0 lines of code changed in 1 file:
checkpoint merge from branch for bux fixes
32 lines of code changed in 1 file:
Get rid of unnecesesary SCICORESHARE
86 lines of code changed in 40 files:
Merge v1_24_0_release
27 lines of code changed in 4 files: