Class CWrp::Cli
In: ../lib/roller.rb
Parent: Object

Command line interface for processing 4WVR/8WVR files.

Methods

Constants

EXT_CONFIG = '.yaml'
DEFAULT_EXPORT_OBJECTS = '_objects.txt'
DEFAULT_EXPORT_WRP = '_export.wrp'
DEFAULT_EXPORT_XYZ = '.xyz'
DEFAULT_EXPORT_MASK = '_mask.png'
DEFAULT_EXPORT_UNIQUE_OBJECTS = '_unique_objects.txt'
DEFAULT_SATELLITE_CELL_SIZE = 2
DESC_WIDTH = 42

Public Class methods

Finds the file to export, adding extension if missing. Alternatively, just use a default filename based on the base name of the wrp.

Use command line options to process a WRP file.

Returns TRUE if files were processed properly. FALSE on error.

Protected Class methods

Returns true if user allows file to be overwritten (or if file doesn‘t exist).

Finds default yaml files. Returns the filename to use, otherwise nil if no file si found.

Run a block and output time it took.

[Validate]