Questions tagged [xtk]

The X Toolkit (XTK) is a WebGL framework for Scientific Visualization.

XTK is a WebGL framework providing an easy-to-use API to visualize scientific data on the web. No background or knowledge in Computer Graphics is required.

158 questions
1
vote
1 answer

With XTK, can we generate an MPR slice in any position and orientation through the 3D volume

Xtk provide an MPR slice in x,y and z position. I would to know if we can generate an MPR slice in any position and orientation through the 3D volume Best,AMAL
AMAL JERBI
  • 89
  • 1
  • 8
1
vote
1 answer

Light source changing in XTK

Can I change scene light source (location or brightness)? My scene by XTK is too dark: https://dl.dropbox.com/u/84856120/xtkskull.png I want like by Paraview https://dl.dropbox.com/u/84856120/paraviewskull.png I use .stl file and 'ffffff' color
stasovlas
  • 7,136
  • 2
  • 28
  • 29
1
vote
2 answers

Get the value of a voxel from a volume

I need a function to get the value of a voxel (3d pixel) from a X.volume object, given the x,y,z coords as an input. This is to use a lablemap as a reference for an atlas function. Is there a way to do this? Many thanks, Edward
neurovis
  • 21
  • 5
1
vote
1 answer

Tracking camera movement and object orientation in xtk

This is a followup to Matt's previous question about camera orientation. I'm working with him on a javascript interface for a python analysis code for 3D hydro simulations. We've successfully used xtk to build a 3D model of the mesh structure in…
ngoldbaum
  • 5,430
  • 3
  • 28
  • 35
1
vote
1 answer

draw outlines to a volume in webgl (xtk)

i want to achieve that the user can go through the slices of a volume but to guarantee a little bit more of orientation i'd like to draw the outlines of a cube which represent the dimensions of a volume. what i think i need to do: 1) get the…
p0rter
  • 961
  • 2
  • 13
  • 28
1
vote
2 answers

Transmit raw vertex information to XTK?

We're using XTK to display data processed and created on a server. In our particular case, it's a parallel isocontouring application. As it currently stands we're converting to the (textual) VTK format and passing the entire (imaginary) VTK file…
Matt
  • 737
  • 5
  • 10
1
vote
1 answer

Colors for overlaying volumes

I'm trying to overlay several NRRD (volume) files to show ROIs etc on top of a volume. Is there a way to set the color of a volume to, say, red? Any suggestions on approaching this? Thanks
1
vote
1 answer

xtk-deps.js file missing?

I am ref to https://github.com/xtk/X/wiki/X:DevelopersHeadsUp I tried Running XTK during development. I did the following steps 1) Fork XTK on Github to get the latest sources http://github.com/XTK/X 2) Clone it to your hard drive But i couldn't…
George Neil
  • 357
  • 1
  • 4
  • 14
1
vote
1 answer

Not able to visualize a loaded data

I just start to test xtk, and no problem with the first sample of the cube. I now try to load an external data, but stored locally into my filesystem (just download skull sample of example 05) and put in the same directory of the html. I'm not able…
D.Giunchi
  • 1,900
  • 3
  • 19
  • 23
1
vote
1 answer

Loaded objects altered by render() with multiple views?

I'm still in my attempt to visualize a scene with 3 views (one full interactive, one from right with only zoom, one from top with only zoom, see here : Change the 'config' attribute of an interactor for disabling some user events). The handling of…
Ricola3D
  • 2,402
  • 17
  • 16
1
vote
1 answer

How do I visualize a remote, url accessible vtk file in XTK?

Does anyone have an example of rendering a remote file in XTK (https://github.com/xtk/X)? Is this currently possible? I tried swapping in a URL for the file location, like so: // load a .vtk file var skull = new…
0
votes
2 answers

xtk object transforms

Great toolkit and great demos! I want to use XTK with an existing system. Is there any way to set an object's transform directly from a 4x4 affine transform matrix (ie not by rotations, translations etc)?
billhill00
  • 166
  • 1
  • 3
0
votes
1 answer

Render edges of VTK object possible?

Firstly, XTK is a very nice library! Is it currently possible to render VTK object with surface + edges (in different color) with XTK? If this is not possible at the moment is it planned to be implemented in the future versions? I tried to use…
0
votes
1 answer

How to export vtkVolume data to XTK as MIP rendering

we are using VTK to render data in a regular desktop application, e.g. for images such as this one: http://www.invicro.com/images/stories/NasalMergeSolidLabeled.gif and I was very excited to learn about xtk, which does an awesome job to produce the…
Christian
  • 73
  • 3
0
votes
1 answer

xtk and jquery issues

I've tried xtk release 2 as well as built xtk.js from source and there seems to be an issue (that wasn't there in release 1) when xtk is used alongside jquery. No matter what I do, I always get a "Uncaught Error: Could not find the given container…