![]() |
open_iA 2021.08
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
parameters for csv loading configuraton More...
#include <iACsvConfig.h>
Public Types | |
| enum | MappedColumn { NotMapped = -1 , StartX , StartY , StartZ , EndX , EndY , EndZ , CenterX , CenterY , CenterZ , Length , Diameter , Phi , Theta , DimensionX , DimensionY , DimensionZ , MappedCount } |
| enum | VisualizationType { UseVolume , Lines , Cylinders , Ellipses , NoVis , VisTypeCount } |
Public Member Functions | |
| iACsvConfig () | |
| bool | isValid (QString &errorMsg) const |
| bool | load (QSettings const &settings, const QString &formatName) |
| Load a given configuration name. More... | |
| void | save (QSettings &settings, const QString &formatName) |
| Save this configuration under the given name in the given settings object. More... | |
Static Public Member Functions | |
| static iACsvConfig const & | getFCPFiberFormat (QString const &fileName) |
| whether to add class ID at the end. This setting is not stored, rather this is a use-case dependent setting More... | |
| static iACsvConfig const & | getFCVoidFormat (QString const &fileName) |
| static QString | getFormatKey (QString const &formatName) |
| Return base key for a given format. More... | |
| static QStringList | getListFromRegistry () |
| Return list of all csv configs stored in registry, list is empty if no format definitions exist. More... | |
Public Attributes | |
| bool | addAutoID |
| whether to add an automatic ID column More... | |
| bool | addClassID |
| value to use as diameter for all objects More... | |
| QMap< uint, uint > | columnMapping |
| curved fiber optimization: if 1, all points along the fiber will be used; if larger, points will be skipped More... | |
| QString | columnSeparator |
| string separating the columns in the csv More... | |
| bool | computeAngles |
| bool | computeCenter |
| bool | computeLength |
| bool | computeStartEnd |
| flags whether to compute additional columns More... | |
| bool | computeTensors |
| bool | containsHeader |
| whether the file contains a header More... | |
| QStringList | currentHeaders |
| current headers of the table More... | |
| QString | curvedFiberFileName |
| filename for curved fiber information, also not stored in registry More... | |
| int | cylinderQuality |
| how to visualize the given objects More... | |
| QString | decimalSeparator |
| string separating the integer from the fractional part in the numbers More... | |
| QString | encoding |
| text encoding of the csv file More... | |
| QString | fileName |
| filename, not stored in registrys More... | |
| double | fixedDiameterValue |
| whether to insert a fixed diameter (given by fixedDiameterValue) More... | |
| bool | isDiameterFixed |
| offset to apply to all coordinates (start, end, center) More... | |
| iAObjectType | objectType |
| type of objects to be analyzed More... | |
| double | offset [3] |
| map a specific value (denoted by an ID from MappedColumn) to the number of the column where it's stored More... | |
| size_t | segmentSkip |
| how much sides are used for the cylinder visualization; the higher the number, the worse the quality (default=12) More... | |
| QStringList | selectedHeaders |
| names of the selected headers More... | |
| size_t | skipLinesEnd |
| how many lines to skip at start and end of the file More... | |
| size_t | skipLinesStart |
| float | spacing |
| volume spacing to be used, currently unused More... | |
| QString | unit |
| unit of measurement for the values given in the csv More... | |
| VisualizationType | visType |
Static Public Attributes | |
| static const QString | FCPFiberFormat |
| static const int | FCPFormatStartSkipLines = 5 |
| static const QString | FCVoidFormat |
parameters for csv loading configuraton
| iACsvConfig::iACsvConfig | ( | ) |
|
static |
whether to add class ID at the end. This setting is not stored, rather this is a use-case dependent setting
|
static |
|
static |
Return base key for a given format.
|
static |
Return list of all csv configs stored in registry, list is empty if no format definitions exist.
| bool iACsvConfig::isValid | ( | QString & | errorMsg | ) | const |
| bool iACsvConfig::load | ( | QSettings const & | settings, |
| const QString & | formatName | ||
| ) |
Load a given configuration name.
| void iACsvConfig::save | ( | QSettings & | settings, |
| const QString & | formatName | ||
| ) |
Save this configuration under the given name in the given settings object.
| bool iACsvConfig::addAutoID |
whether to add an automatic ID column
| bool iACsvConfig::addClassID |
value to use as diameter for all objects
| QMap<uint, uint> iACsvConfig::columnMapping |
curved fiber optimization: if 1, all points along the fiber will be used; if larger, points will be skipped
| QString iACsvConfig::columnSeparator |
string separating the columns in the csv
| bool iACsvConfig::computeAngles |
| bool iACsvConfig::computeCenter |
| bool iACsvConfig::computeLength |
| bool iACsvConfig::computeStartEnd |
flags whether to compute additional columns
| bool iACsvConfig::computeTensors |
| bool iACsvConfig::containsHeader |
whether the file contains a header
| QStringList iACsvConfig::currentHeaders |
current headers of the table
| QString iACsvConfig::curvedFiberFileName |
filename for curved fiber information, also not stored in registry
| int iACsvConfig::cylinderQuality |
how to visualize the given objects
| QString iACsvConfig::decimalSeparator |
string separating the integer from the fractional part in the numbers
| QString iACsvConfig::encoding |
text encoding of the csv file
|
static |
|
static |
|
static |
| QString iACsvConfig::fileName |
filename, not stored in registrys
| double iACsvConfig::fixedDiameterValue |
whether to insert a fixed diameter (given by fixedDiameterValue)
| bool iACsvConfig::isDiameterFixed |
offset to apply to all coordinates (start, end, center)
| iAObjectType iACsvConfig::objectType |
type of objects to be analyzed
| double iACsvConfig::offset[3] |
map a specific value (denoted by an ID from MappedColumn) to the number of the column where it's stored
| size_t iACsvConfig::segmentSkip |
how much sides are used for the cylinder visualization; the higher the number, the worse the quality (default=12)
| QStringList iACsvConfig::selectedHeaders |
names of the selected headers
| size_t iACsvConfig::skipLinesEnd |
how many lines to skip at start and end of the file
| size_t iACsvConfig::skipLinesStart |
| float iACsvConfig::spacing |
volume spacing to be used, currently unused
| QString iACsvConfig::unit |
unit of measurement for the values given in the csv
| VisualizationType iACsvConfig::visType |