.. _program_listing_file__tmp_ws_src_sick_safetyscanners_base_include_sick_safetyscanners_base_datastructure_ScanPoint.h: Program Listing for File ScanPoint.h ==================================== |exhale_lsh| :ref:`Return to documentation for file ` (``/tmp/ws/src/sick_safetyscanners_base/include/sick_safetyscanners_base/datastructure/ScanPoint.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*- // -- BEGIN LICENSE BLOCK ---------------------------------------------- // -- END LICENSE BLOCK ------------------------------------------------ //---------------------------------------------------------------------- //---------------------------------------------------------------------- #ifndef SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_SCANPOINT_H #define SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_SCANPOINT_H #include namespace sick { namespace datastructure { class ScanPoint { public: ScanPoint(); ScanPoint(float angle, uint16_t& distance, uint8_t& reflectivity, bool& valid_bit, bool& infinite_bit, bool& glare_bit, bool& reflector_bit, bool& contamination_bit, bool& contamination_warning_bit); float getAngle() const; uint16_t getDistance() const; uint8_t getReflectivity() const; bool getValidBit() const; bool getInfiniteBit() const; bool getGlareBit() const; bool getReflectorBit() const; bool getContaminationBit() const; bool getContaminationWarningBit() const; private: float m_angle; uint16_t m_distance; // in mm uint8_t m_reflectivity; bool m_valid_bit; bool m_infinite_bit; bool m_glare_bit; bool m_reflector_bit; bool m_contamination_bit; bool m_contamination_warning_bit; }; } // namespace datastructure } // namespace sick #endif // SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_SCANPOINT_H