CRCInitOptions

Detailed Description

class CRCInitOptions

Initialization option for the result calculator.

Public Functions

inline virtual ~CRCInitOptions()
virtual const CRCString &initString() const = 0

A user defined string to configure the calculator. Passed unchanged from the host. Might contain e.g. a mathematical expression.

A user defined string to configure the calculator.

Passed unchanged from the host. Might contain e.g. a mathematical expression

virtual const CRCString &resultIdString() const = 0

The optionally prescribed idString for the result. If non-empty, the output idString set in CRCCalculatorMetaData::setOutputResultIdString() must either match this or be empty.

The optionally prescribed idString for the result.

If non-empty, the output idString set in CRCCalculatorMetaData::setOutputResultIdString() must either match this or be empty

virtual const CRCString &coordinateSystemString() const = 0

Coordinate system string: “type=<type>;origin=<x,y,z>;orientation=<m00,m01,m02,m10,m11,m12,m20,m21,m22>” (orientation row-major). Example: “type=cylindrical;origin=10.0,5.0,0.0;orientation=1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0”. Empty if unspecified.

Returns a consolidated string representation of the coordinate system specification.

Coordinate system string format: “type=<type>;origin=<x,y,z>;orientation=<m00,m01,m02,m10,m11,m12,m20,m21,m22>” orientation = [m00 m01 m02; m10 m11 m12; m20 m21 m22] row-major; columns form X,Y,Z basis vectors. where:

  • type: “cartesian”, “cylindrical”, or “spherical”
  • origin: Three comma-separated values representing x, y, z coordinates
  • orientation: Nine comma-separated values representing a 3x3 rotation matrix in row-major order

Example: “type=cylindrical;origin=10.0,5.0,0.0;orientation=1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0”

If empty, the user did not provide a coordinate system via options.