MNE-CPP  0.1.9
A Framework for Electrophysiology
Static Public Member Functions | List of all members
UTILSLIB::LayoutMaker Class Reference

Make layout files from given 3D points. More...

#include <layoutmaker.h>

Static Public Member Functions

static bool makeLayout (const QList< QVector< float > > &inputPoints, QList< QVector< float > > &outputPoints, const QStringList &names, QFile &outFile, bool do_fit, float prad, float w, float h, bool writeFile=false, bool mirrorXAxis=false, bool mirrorYAxis=false)
 
static bool makeLayout (const std::vector< std::vector< float > > &inputPoints, std::vector< std::vector< float > > &outputPoints, const std::vector< std::string > &names, const std::string &outFilePath, bool do_fit, float prad, float w, float h, bool writeFile=false, bool mirrorXAxis=false, bool mirrorYAxis=false)
 

Detailed Description

Make layout files from given 3D points.

Make layout files from given 3D points

Definition at line 88 of file layoutmaker.h.

Member Function Documentation

◆ makeLayout() [1/2]

bool LayoutMaker::makeLayout ( const QList< QVector< float > > &  inputPoints,
QList< QVector< float > > &  outputPoints,
const QStringList &  names,
QFile &  outFile,
bool  do_fit,
float  prad,
float  w,
float  h,
bool  writeFile = false,
bool  mirrorXAxis = false,
bool  mirrorYAxis = false 
)
static

Reads the specified ANT elc-layout file.

Parameters
[in]inputPointsThe input points in 3D space.
[in,out]outputPointsThe output layout points in 2D space.
[in]namesThe channel names.
[in]outFileThe outout file.
[in]do_fitThe flag whether to do a sphere fitting.
[in]prad.
[in]w.
[in]h.
[in]writeFileThe flag whether to write to file.
[in]mirrorXAxisMirror points at x axis.
[in]mirrorYAxisMirror points at y axis.
Returns
true if making layout was successful, false otherwise.

Definition at line 75 of file layoutmaker.cpp.

◆ makeLayout() [2/2]

bool LayoutMaker::makeLayout ( const std::vector< std::vector< float > > &  inputPoints,
std::vector< std::vector< float > > &  outputPoints,
const std::vector< std::string > &  names,
const std::string &  outFilePath,
bool  do_fit,
float  prad,
float  w,
float  h,
bool  writeFile = false,
bool  mirrorXAxis = false,
bool  mirrorYAxis = false 
)
static

Reads the specified ANT elc-layout file.

Parameters
[in]inputPointsThe input points in 3D space.
[in,out]outputPointsThe output layout points in 2D space.
[in]namesThe channel names.
[in]outFileThe outout file.
[in]do_fitThe flag whether to do a sphere fitting.
[in]prad.
[in]w.
[in]h.
[in]writeFileThe flag whether to write to file.
[in]mirrorXAxisMirror points at x axis.
[in]mirrorYAxisMirror points at y axis.
Returns
true if making layout was successful, false otherwise.

Definition at line 225 of file layoutmaker.cpp.


The documentation for this class was generated from the following files: