GithubHelp home page GithubHelp logo

sankaushik / x Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xtk/x

0.0 0.0 0.0 173.96 MB

The X Toolkit

Home Page: http://www.goXTK.com

License: Other

JavaScript 53.58% Python 35.96% CSS 0.90% HTML 9.48% Shell 0.08%

x's Introduction

The X Toolkit: WebGL™ for Scientific Visualization

  • XTK is easy, lightweight and fast !
  • Native reading of a variety of scientific file formats (see File formats)
  • Volume rendering, thresholding and cross-sectional slicing of 3d image data
  • Label maps, color tables and surface overlays are supported, as well as Constructive Solid Geometry
  • CDash + Google Closure driven build and test system

Demos

lesson00
KneeAtlas
lesson00
FiberAtlas
lesson00
Aneuriskweb
lesson00
BrainAtlas
lesson00
Mindboggle
lesson00
Slice:Drop

Lessons

lesson00 Lesson 00: Hello cube!
The most simple XTK lesson displays a white cube.
lesson01 Lesson 01: Skin the cube and rotate it!
This one adds a texture to the cube and activates spinning.
lesson02 Lesson 02: Constructive Solid Geometry is fun!
Mesh primitives can be combined using boolean operations.
lesson03 Lesson 03: We need more cubes!
One thousand objects are rendered in a single scene.
lesson04 Lesson 04: The magic Porsche!
This lesson loads a mesh from a .STL file and shows off the magic mode.
lesson05 Lesson 05: Rotate the skull!
A visualization of a mesh loaded from a .VTK file.
lesson06 Lesson 06: Connectivity!
Load and render brain fibers from a .TRK file.
lesson07 Lesson 07: One renderer is not enough!
Here multiple 3D renderers are showing the same object with different camera positions.
lesson08 Lesson 08: Surf free!
Loading freesurfer meshes and brain fibers at the same time.
lesson09 Lesson 09: Points to Spheres!
Point data is loaded from a .VTK file and each point is displayed as a sphere.
lesson10 Lesson 10: Slice it!
Load a .NRRD single-file DICOM volume and a segmentation mesh from a .VTK file.
lesson11 Lesson 11: Slice it with colors!
This one loads a .NRRD single-file DICOM volume and the corresponding segmentation as a label map colorized using a color lookup-table.
lesson12 Lesson 12: Curvature!
Here we load a freesurfer mesh (.SMOOTHWM) and different curvature (.CRV) values as an overlay.
lesson13 Lesson 13: I want 2D!
This lesson links three 2D renderers to one 3D renderer and loads a .NRRD single-file DICOM and a label map.
lesson14 Lesson 14: Is it a cube?
Zoom in to see the particles and some great effects!
lesson15 Lesson 15: D-I-C-O-M!
Here we visualize a brain MR scan read from DICOM files.
lesson16 Lesson 16: 10 PRINT 3D
A 3D version of the excellent 10 PRINT pattern showcasing advanced XTK object generation.
lesson17 Lesson 17: (RE)Slice it!
New arbitrary reslicing capabilities. Everything is happening in Real Time!
Leap Motion Ready!

Download

       
Get it right here: xtk.js or include it like this:

<script type="text/javascript" src="http://get.goXTK.com/xtk.js"></script>

Example Usage

// create a new 3d renderer
var r = new X.renderer3D();
r.init();
    
// create a mesh from a .vtk file
var skull = new X.mesh();
skull.file = 'skull.vtk';
    
// add the object
r.add(skull);
    
// .. and render it
r.render();

Check out the live version!

API Documentation

The full documentation of the API is available here.

More information...

...is available at Project X, the X Toolkit wiki system.

Need help?

We use http://stackoverflow.com/questions/tagged/xtk for user support. Please ask and tag ([xtk]) your question there!

Contribute?

Yes, please! See the Developer's Heads Up and the X:Future page.

License

Copyright (c) 2012 The X Toolkit Developers <[email protected]>

The X Toolkit (XTK) is licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php

Publications

  • Hähn D, Rannou N, Ahtam B, Grant PE, Pienaar R: Neuroimaging in the Browser using the X Toolkit. NeuroInformatics, September 2012. Abstract and Poster.
  • more..

Affiliations and Sponsors

Boston Children's Hospital Boston      Harvard Medical School

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.