BrainVoyager
Methods
The content-based methods that can be used in the BrainVoyager QX Script
Editor are BrainVoyager methods.
These methods are used for BrainVoyager
objects, like the BrainVoyager document (a AMR/VMR/FMR project) or the
application itself. A list of all available BrainVoyager methods can be
found here.
QSA methods can be applied to QSA objects or self created variables, dependent
from the method.
Classes
Creating own objects can be done by using the keyword 'class'. The syntax
is the following: 'class
nameOfClass { variables; constructor; functions; }'. The functions
of the class can be used by other functions when first an instantiation
of the class is made. For an example, see the function 'testPathClass()'
in the example below, where an instantiation of the class 'BVQXPath' is
made. In the following example a BrainVoyager path class is created. This
class can then later be instantiated from other functions.
See also the Trolltech documentation on classes in the QSA language.
In the example below the BVQXPath class is used by another function. The
latest messagebox that is created in the 'testPathClass()' function is
also shown.
![]() ![]() |
Self-made functions do not always have to belong to a class, as shown in the Factorial example.
Next:
2. Characteristics
Index