MCPcopy Create free account
hub / github.com/OSVR/OSVR-Core / getOneBasedID

Method getOneBasedID

plugins/videobasedtracker/LED.h:77–77  ·  view source on GitHub ↗

@brief Gets either the raw negative sentinel ID or a 1-based ID (for display purposes)

Source from the content-addressed store, hash-verified

75 /// @brief Gets either the raw negative sentinel ID or a 1-based ID (for
76 /// display purposes)
77 int getOneBasedID() const { return (m_id < 0) ? m_id : m_id + 1; }
78
79 /// @brief Do we have a positive identification as a known LED?
80 bool identified() const { return !(m_id < 0); }

Callers 1

processImageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected