MW Source

pschwed's Avatar


14 Oct, 2011 11:57 AM

Hi Chris,

I am trying to extend the Fixation Point Stimulus to take a third "watch" variable (the z eye position) and to apply some other changes for 3D stimulus presentation.

Right now I am confused since I can't find the Fixation Point Stimulus code anywhere. Is it online? I do find the Point Stimulus that is presumably used for drawing the stimulus, but that's only half of what the Fixation Point is doing..

I would appreciate if you could point me to the sources for the build-in stimuli, especially to the editor definitions.

Thank you,

  1. Support Staff 1 Posted by Christopher Sta... on 14 Oct, 2011 03:20 PM

    Christopher Stawarz's Avatar

    Hi Philipp,

    Yeah, that code isn't easy to find.

    The FixationPoint class is part of the MWorksCore project. It's declared in Core/Transforms/EyeCalibrators.h and implemented in EyeCalibrators.cpp. You'll notice that it derives from three base classes, which makes it challenging to figure out where all the pieces of its functionality are implemented. One Xcode feature that I find helpful in such cases is to highlight the name of a class in the source, then right-click on it and select "Jump to Definition" from the context menu that pops up.

    The editor definition is in the MWEditor project in the file MWLibrary.xml.

    If you need more help, please let me know.


  2. Christopher Stawarz closed this discussion on 24 Oct, 2011 03:17 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

17 May, 2022 02:12 PM
16 May, 2022 03:12 PM
04 May, 2022 06:02 PM
03 May, 2022 01:30 PM
02 May, 2022 10:47 PM