qCC  version 2.5.4 (Qt) - 19 Apr. 2014
 All Classes Functions Variables Typedefs Enumerations
Classes | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
ccCommandLineParser Class Reference

Command line parser. More...

#include <ccCommandLineParser.h>

Collaboration diagram for ccCommandLineParser:
Collaboration graph
[legend]

Classes

struct  CloudDesc
 Loaded cloud description. More...
 
struct  EntityDesc
 Loaded entity description. More...
 
struct  MeshDesc
 Loaded mesh description. More...
 

Static Public Member Functions

static int Parse (int nargs, char **args)
 

Protected Member Functions

bool commandLoad (QStringList &arguments)
 
bool commandSubsample (QStringList &arguments, ccProgressDialog *pDlg=0)
 
bool commandCurvature (QStringList &arguments, QDialog *parent=0)
 
bool commandDensity (QStringList &arguments, QDialog *parent=0)
 
bool commandApproxDensity (QStringList &arguments, QDialog *parent=0)
 
bool commandSFGradient (QStringList &arguments, QDialog *parent=0)
 
bool commandRoughness (QStringList &arguments, QDialog *parent=0)
 
bool commandSampleMesh (QStringList &arguments, ccProgressDialog *pDlg=0)
 
bool commandBundler (QStringList &arguments)
 
bool commandDist (QStringList &arguments, bool cloud2meshDist, QDialog *parent=0)
 
bool commandFilterSFByValue (QStringList &arguments)
 
bool commandMergeClouds (QStringList &arguments)
 
bool commandStatTest (QStringList &arguments, ccProgressDialog *pDlg=0)
 
bool commandBestFitPlane (QStringList &arguments)
 
bool commandCrop (QStringList &arguments)
 
bool commandCrop2D (QStringList &arguments)
 
bool matchBBCenters (QStringList &arguments)
 
bool commandICP (QStringList &arguments, QDialog *parent=0)
 
bool commandChangeCloudOutputFormat (QStringList &arguments)
 
bool commandChangeMeshOutputFormat (QStringList &arguments)
 
bool setActiveSF (QStringList &arguments)
 
 ccCommandLineParser ()
 Default constructor. More...
 
 ~ccCommandLineParser ()
 Destructor. More...
 
int parse (QStringList &arguments, QDialog *parent=0)
 Parses command line.
 
bool saveClouds (QString suffix=QString())
 Saves all clouds. More...
 
bool saveMeshes (QString suffix=QString())
 Saves all meshes. More...
 
void removeClouds ()
 Removes all clouds.
 
void removeMeshes ()
 Removes all meshes.
 

Static Protected Member Functions

static QString Export (EntityDesc &cloudDesc, QString suffix=QString(), QString *outputFilename=0)
 Exports a cloud or a mesh. More...
 
static CC_FILE_TYPES getFileFormat (QStringList &arguments)
 Reads out file format.
 

Protected Attributes

std::vector< CloudDescm_clouds
 Currently opened point clouds and their filename.
 
std::vector< MeshDescm_meshes
 Currently opened meshes and their filename.
 
QString m_meshFilename
 Mesh filename.
 

Detailed Description

Command line parser.

Constructor & Destructor Documentation

ccCommandLineParser::ccCommandLineParser ( )
protected

Default constructor.

Shouldn't be called by user.

ccCommandLineParser::~ccCommandLineParser ( )
protected

Destructor.

Shouldn't be called by user.

Member Function Documentation

QString ccCommandLineParser::Export ( EntityDesc cloudDesc,
QString  suffix = QString(),
QString *  outputFilename = 0 
)
staticprotected

Exports a cloud or a mesh.

Returns
error string (if any)
bool ccCommandLineParser::saveClouds ( QString  suffix = QString())
protected

Saves all clouds.

Parameters
suffixoptional suffix
Returns
success
bool ccCommandLineParser::saveMeshes ( QString  suffix = QString())
protected

Saves all meshes.

Parameters
suffixoptional suffix
Returns
success

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