Class CameraSysPrefix

Class Documentation

class CameraSysPrefix

Camera coordinate system prefix

Used for coordinate systems that are detector-based before the detector name is known (e.g. for constants such as PIXELS).

This is Jim Bosch’s clever idea for simplifying Detector.convert; CameraSys is always complete and CameraSysPrefix is not.

Public Functions

CameraSysPrefix(std::string const &sysName)

Parameters
  • sysName: coordinate system name

~CameraSysPrefix()
CameraSysPrefix(CameraSysPrefix const&)
CameraSysPrefix(CameraSysPrefix&&)
CameraSysPrefix &operator=(CameraSysPrefix const&)
CameraSysPrefix &operator=(CameraSysPrefix&&)
std::string getSysName() const

Get coordinate system name

bool operator==(CameraSysPrefix const &rhs) const
bool operator!=(CameraSysPrefix const &rhs) const
std::size_t hash_value() const

Hash function for this object.

Return

a value that is guaranteed equal for any two equal CameraSysPrefix, and unlikely to be equal for any two unequal CameraSysPrefix.

Note

Workhorse for std::hash<CameraSysPrefix>.