stity / threejs-atlas-viewer Goto Github PK
View Code? Open in Web Editor NEWThis repository hosts the files for an atlas viewer application.
This repository hosts the files for an atlas viewer application.
Description of the problem
Raw formatted NRRD format won't read.
NRRD0004
'# Complete NRRD file format specification at:
'# http://teem.sourceforge.net/nrrd/format.html
type: short
dimension: 3
space: left-posterior-superior
sizes: 512 512 33
space directions: (1.171875,0.000000,0.000000) (0.000000,1.171875,0.000000) (0.000000,0.000000,-10.000000)
kinds: domain domain domain
endian: little
encoding: raw
space origin: (-300.000000,-230.000000,1415.500000)
XXXXX binary data starts on this line XXXXX
file size (17.301.897) bytes. Gives error:
SCRIPT5084: Invalid offset/length when creating typed array
NRRDLoader.js (309,3)
Apparently the header is incorrectly stripped from the _data passed there. The file reads OK in Seg3D2, but not in Slice Drop.
Three.js version
Dev
r78
...
Browser
All of them
Chrome
Firefox
Internet Explorer
OS
All of them
Windows
Linux
Android
IOS
Hardware Requirements (graphics card, VR Device, ...)
Non-hardware specific
Error produced when left-clicking or right-clicking on the scene meshes and no key modifiers (ctrl/alt/shift) are active:
objectSelectorProvider.js:32
Uncaught The given object is not selectable
_select @ objectSelectorProvider.js:32
select @ objectSelectorProvider.js:62
onSceneMouseUp @ app.js:422
Quick fix: Change line 422 of app.js:
objectSelector.select(object);
to
objectSelector.select(object.atlasStructure);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.