| Public Member Functions | |
| Tracker (ThebaGUI f) | |
| short | getCurrentId () | 
| void | log (String line) | 
| abstract void | mouseClicked (Point3D point3D) | 
| void | paint (Graphics g, int selectedSlice) | 
| void | pause (boolean var) | 
| abstract void | reset () | 
| abstract void | setup () | 
| abstract void | stop () | 
| abstract void | track () | 
| Protected Attributes | |
| ThebaGUI | control | 
| boolean | keepTracking = false | 
| PrintStream | log = null | 
| boolean | paused = false | 
This is the interface representing all tracker-modules. Trackers must implement this interface and be placed in the trackers package to be identified by the ThebaGUI framework
Definition at line 19 of file Tracker.java.
| theba.core.Tracker.Tracker | ( | ThebaGUI | f | ) | 
This is the only allowed constructor for trackers, as trackers are automatically instantiated based on class-file inspection in the current tracker-directory
Definition at line 33 of file Tracker.java.
References theba.core.Tracker.control.
| short theba.core.Tracker.getCurrentId | ( | ) | 
This function is called by the imagePane to indicate the id of the currently tracked fiber. A 0-value indicates that no id is currently active
Definition at line 42 of file Tracker.java.
Referenced by theba.core.gui.ImagePane.setData().
| void theba.core.Tracker.log | ( | String | line | ) | 
This is simple a log-function that stores a string in a file called log.txt
| line | 
Definition at line 52 of file Tracker.java.
References theba.core.Tracker.log.
| abstract void theba.core.Tracker.mouseClicked | ( | Point3D | point3D | ) |  [pure virtual] | 
This function is called whenever a user indicates a point in the stack, such as when a region is clicked
Implemented in theba.trackers.BackTracker, theba.trackers.FiberTracker, theba.trackers.FloodTracker3D, and theba.trackers.HHTracker.
| void theba.core.Tracker.paint | ( | Graphics | g, | |
| int | selectedSlice | |||
| ) | 
This method is called by the imagePane, after the current slice has been rendered. It allows the currently selected tracker to display tracker-specific information such as overlays etc.
| g | The current graphicscontext | |
| selectedSlice | The currently viewed slice | 
Definition at line 80 of file Tracker.java.
| void theba.core.Tracker.pause | ( | boolean | var | ) | 
This function is called whenever a user selects or unselects the pause-button in the main toolbar. It should temporarily stop any ongoing operation
Definition at line 88 of file Tracker.java.
References theba.core.Tracker.paused.
| abstract void theba.core.Tracker.reset | ( | ) |  [pure virtual] | 
This method is called after setup, and each time the tracker is restarted
Implemented in theba.trackers.BackTracker, theba.trackers.FiberTracker, theba.trackers.FloodTracker3D, and theba.trackers.HHTracker.
Referenced by theba.core.gui.ThebaGUI.flipVolume().
| abstract void theba.core.Tracker.setup | ( | ) |  [pure virtual] | 
This function is called every time a new tracker is selected, and can be used to set up custom buttons or menuitems, as well as initializing any removed data
Implemented in theba.trackers.BackTracker, theba.trackers.FiberTracker, theba.trackers.FloodTracker3D, and theba.trackers.HHTracker.
| abstract void theba.core.Tracker.stop | ( | ) |  [pure virtual] | 
This function is called whenever a user indicates that the current operation should be terminated
Implemented in theba.trackers.BackTracker, theba.trackers.FiberTracker, theba.trackers.FloodTracker3D, and theba.trackers.HHTracker.
Referenced by theba.core.gui.ThebaGUI.actionPerformed().
| abstract void theba.core.Tracker.track | ( | ) |  [pure virtual] | 
This function should initiate a track, and is called after setup()
Implemented in theba.trackers.BackTracker, theba.trackers.FiberTracker, theba.trackers.FloodTracker3D, and theba.trackers.HHTracker.
| ThebaGUI theba.core.Tracker.control  [protected] | 
Definition at line 20 of file Tracker.java.
Referenced by theba.trackers.FiberTracker.autoSegment(), theba.trackers.BackTracker.autoSegment(), theba.trackers.HHTracker.dilate3d_toWhite(), theba.trackers.FiberTracker.dilate3d_toWhite(), theba.trackers.BackTracker.dilate3d_toWhite(), theba.trackers.HHTracker.setup(), theba.trackers.FloodTracker3D.setup(), theba.trackers.FiberTracker.setup(), theba.trackers.BackTracker.setup(), theba.trackers.HHTracker.track(), theba.trackers.FloodTracker3D.track(), theba.trackers.FiberTracker.track(), and theba.core.Tracker.Tracker().
| boolean theba.core.Tracker.keepTracking = false  [protected] | 
Definition at line 22 of file Tracker.java.
Referenced by theba.trackers.HHTracker.traceWalls(), theba.trackers.BackTracker.traceWalls(), theba.trackers.HHTracker.track(), theba.trackers.FiberTracker.track(), and theba.trackers.BackTracker.track().
| PrintStream theba.core.Tracker.log = null  [protected] | 
Definition at line 24 of file Tracker.java.
Referenced by theba.core.Tracker.log(), theba.trackers.HHTracker.removeStuff(), theba.trackers.FiberTracker.removeStuff(), theba.trackers.BackTracker.removeStuff(), theba.trackers.HHTracker.track(), theba.trackers.FiberTracker.track(), and theba.trackers.BackTracker.track().
| boolean theba.core.Tracker.paused = false  [protected] | 
Definition at line 26 of file Tracker.java.
Referenced by theba.core.Tracker.pause(), theba.trackers.HHTracker.track(), and theba.trackers.BackTracker.track().
 1.6.1
 1.6.1