Child pages
  • Measure CT Marker Coordinates in Maya

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Get marker coordinates from the marker models

  1. Select all bone models (but not the markers). Hit ctrl+h on the keyboard to hide all of the bones. Only the markers are showing. OR use Layers to hide and show objects (preferred).
  2. Select the marker object
  3. right Right click-hold and select vertex select vertex from the marking menu
  4. drag select the vertices for Drag your mouse over a single marker click (it should become yellow).
  5. Click vAvg on the XROMM tool shelf or type vertAvg on the command line.
  6. If you are using XROMM_Maya_tools_2.0.6 or later, the window will look like this:
    Image Removed
  7. Image Added
  8. Wiki Markup
    In the *Marker Name* box, enter a name that you want all of the markers to have.  Typically markers are named m01_\[OptionalMarkerInformation\], m02_\[OptionalMarkerInformation\], etc. 
  9. With the markers in vertex mode, select all of the vertices of the marker you want to create a locator for.
  10. In the Marker Number window, enter the number of the marker you want to create a locator for.
  11. Press the Calculate Centroid button and a locator will be created.
  12. Repeat this process for all of your makers.

...

  1. steps 3 - 8 for each marker.

Export the CT marker locator data

  1. Click

...

If you are using XROMM_Maya_tools_2.0.5 or earlier, the window will look like this: 

  • Image Removed
  • Type in the number of markers you have and press enter. In the above example, we had 10 markers.
  • Select the marker number from the list that corresponds to the vertices you selected and hit the "calculate centroid" button.
  • A locator is created with the xyz coordinates of the marker centroid. It will be name "marker##" where ## is the number you typed.
  • repeat for all markers
  • (hint: if you need to see the bones to determine marker numbers Shift+h will unhide the bones)
  1. Export the CT marker locator data
    • This step can be done in the vAvg window if you are using the older version. Once you have created centroid locators for all of the makers, the "export centroids" button will become black. Press this button and save the file it produces.
    • If you closed the vAvg window, you can also export the marker locations by doing the following:
      • select all of the locators that you just created.
      • click the CTex from the XROMMtools Shelf, or type CTMexport in the MEL box
      • Save the .csv file
    • Save the scene.

Converting .wrl (VRML) models into Maya-friendly format (Windows only). Note: it is more convenient to export 3D models in .obj format from Amira (or Microscan Tools) because .obj files can be imported directly into Maya. These instructions are provided in case only VRML models are available.

If using older SmoothData MATLAB script, then Reset Bone element pivots(**this step omitted if using rigidBody MATLAB script)

  1. Select all marker locators for single bone (using shift select for multiple selection)
  2. Shift select the bone associated with the selected locators
  3. click the mvPv button on the XROMMtools shelf
  4. repeat for each bone
  1. the CTex from the XROMMtools Shelf, or type CTMexport in the MEL box

...

  1. Image Added
  2. Select the first marker name in the list, and click Move Right.
  3. Repeat for each marker. It is important that the markers stay in the right order.
  4. Click Export to .csv File