Comprehensive Example #1: MR Physics Visualization

In Chapter 3, we developed a fairly simple Java 2D application to plot a trajectory through Kspace as part of the KspaceModeller application. We now begin to expand on this application using Java 3D models.

Our goal in this part of the ongoing example is to create a model voxel to examine the behavior of spins in magnetic resonance. Briefly, let's begin by sketching the scene graph for the part of the application we will do here (shown in Figure 11.11).

Figure 11.11. Scene graph diagram for MRVector.java.

We begin by creating a 3D axis in a separate class MRAxis.java (see Listing 11.16).

Listing ...

Get Java™ Media APIs: Cross-Platform Imaging, Media, and Visualization now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.