Class CameraSys

Class Documentation

class CameraSys

Camera coordinate system; used as a key in in TransformMap

Public Functions

CameraSys(std::string const &sysName, std::string const &detectorName = "")

Parameters
  • sysName: coordinate system name

  • detectorName: detector name

Construct a CameraSys from a sysName and a detectorName

CameraSys(CameraSysPrefix const &sysPrefix, std::string const &detectorName = "")

Parameters
  • sysPrefix: coordinate system prefix

  • detectorName: detector name

Construct a CameraSys from a CameraSysPrefix and a detectorName

~CameraSys()
CameraSys(CameraSys const&)
CameraSys(CameraSys&&)
CameraSys &operator=(CameraSys const&)
CameraSys &operator=(CameraSys&&)
void swap(CameraSys &other)
std::string getSysName() const

Get coordinate system name

std::string getDetectorName() const

Get detector name, or “” if not a detector-specific coordinate system

bool hasDetectorName() const

Does this have a non-blank detector name?

bool operator==(CameraSys const &rhs) const
bool operator!=(CameraSys const &rhs) const
bool operator<(CameraSys const &rhs) const
size_t hash_value() const

Hash function for this object.

Return

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

Note

Workhorse for std::hash<CameraSys>.