CRAN Release 0.2.9
threeBrain 0.2.9
This version plans for a major update. Here are some highlights:
- Electrode localization can be done from original
CT
instead of re-sampled ones - Completely isolate
JavaScript
engine fromR
code. TheJavaScript
code is available asnpm
package and is used via sub-module - Implemented file readers directly from
JavaScript
, this allows reading files directly in viewer, and no cache is needed - No home-brew version of
threejs
is required: standardnpm
distribution is used - New controller
GUI
is implemented - The viewer can be driven via
JavaScript
directly via event dispatchers - Anatomical segmentation map is visible from the side panels; the
voxel
values are displayed when settingcrosshair
Detailed Changes
- Added step size in
datacube2
material uniforms - Upgraded
threejs
tor148
, and usenpm
distribution "three" - Massive code re-factory (variable names, trackball controls, legacy classes...)
- Removed
data-GUI
and uselil-GUI
- Fixed compass (finally...)
- Added title to the viewer
- Reworked the whole message signal system, added
ThrottledEventDispatcher.js
- Added
MouseKeyboard
class to track mouse and keyboard events, greatly reduced canvas burden - Added
animParameter
object to canvas to keep track of the animation parameters - reworked shiny drivers
- fixed one-voxel shift issues
- Added format support for
nii
,mgh/mgz
,FreeSurfer
surface,FreeSurfer
node value binary formats - Added function
threeBrain
to allow 3D viewer to run without cache (with fs only) - Fixed memory leak issues in
JavaScript
code - Geometry groups can now change its storage path
- JS is completely independent now (available on
npm
now) - Peel event dispatcher from the canvas class so the events can be managed separately
- Hide time-stamps when there is no data/animation available
- Added experimental support to show labels on regular electrodes; currently no depth-test is turned on
- Added
GUI
support to change electrode label visibility and size - Electrode label size adjusts along with electrode radius
handle_resize
now put off resizing function when detecting widget size is too small
Bug fixes
- Fixing
xfm
not parsed correctly when the line starts with blank spaces - Stopped rendering canvas when canvas is too small (less than 10 pixels)