
Slicer plugins to facilitate the definition of landmarks and bone sections for PIPER
***********************************************************************************

Installation
************
- Put the python scripts and the template files by order of appearance in the menu (e.g. "18_C7_template.fcsv" will be the 18th name 
  in the list displayed by the plugin) in the same folder
- add this folder to the extension folders of Slicer

- Put slicer in dual view mode
- Rename the views View3D_ref and View3D_subject
- load the reference model (its name must start by "CCTs635")
- load the reference landamrks. Their filenames must end by "_selection.fcsv"
- start the module

If the module was already running, use the reload button.


Instructions: landmarks
***********************

Module to identifiy PIPER landmarks on a subject with visualization of landamrks on reference model
Selection of bones (markup name of the fiducial list) 
Selection of landmark in the fiducial list 
Navigate Landmark: 
> : got to the next landmark 
>> : go to the next undefined landmark 

Display option: define landamrks to be displayed on both subject and reference
current : only current landmark is shown 
bone : all landmarks of current bone are shown and the current landmark is highligthted 
all : all landmarks are shown and the current landmark is highligthted 
focus landmark: jump view slices on current landmark if it is defined on subject 

Define landmark: [Ctrl+D]
- activate the landmark definition. On each laft click, the new landmark is created (if alread existing, first it is deleted). The new landmark is blocked. 
- after each click (= landmark definition), go to the next (undefined or not depending on "Navigate option") landmark to define. 

Navigate Option: 
one: Define only one landmark
>: go to the next landmark to define after each click when "Define Landmark" is active 
>>: go to the next undefined landmark to define after each click when "Define Landmark" is active 

Move landmark: [Ctrl+M]
- If the current landmark is defined, it can be moved. 
Select point for camera focus: [Ctrl+Q]
- select a new point on subject to set new camera focus.

Instructions: bone section
**************************
Helper module to place fiducial on long bone section 

1- select a fiducial list, if the selected list correspond to a long bone 
2 - you can navigate to section with Next and Preview button, red slice are set in the riht location and orientation 
3 - push the "Define section Fiducials" and place them. When finish, press Ctrl+D, you can move to next section. 
If some section fiducials are already defined, they are deleted.