Abstraction of an reading, can be derived for different images or acquisition devices Provides Halcon Image and IplImage. More...
#include <Reading.h>
Public Member Functions | |
| virtual Reading * | Clone ()=0 |
| Reading * | ConvertTo (ReadingType_t type) |
| virtual unsigned long | date () const |
| void | Free () |
| RelPose * | GetPose () const |
| ReadingType_t | GetType () const |
| void | Hold () |
| Reading (ReadingType_t type) | |
| virtual XMLTag * | Save ()=0 |
| virtual void | SetData (XMLTag *tag) |
| void | SetPose (RelPose *parent) |
| virtual | ~Reading () |
Static Public Member Functions | |
| static Reading * | ReadingFactory (XMLTag *tag) |
Public Attributes | |
| ReadingType_t | m_readingType |
| RelPose * | m_relPose |
| unsigned long | m_timestamp |
| int | m_usageCount |
Static Public Attributes | |
| static std::map< std::pair < ReadingType_t, ReadingType_t > , ReadingConverter * > | s_conv |
Abstraction of an reading, can be derived for different images or acquisition devices Provides Halcon Image and IplImage.
****************************************************************
| cop::Reading::Reading | ( | ReadingType_t | type | ) | [inline] |
| Reading::~Reading | ( | ) | [virtual] |
Empty Destructor
| char* | with an error message in case of failure |
Definition at line 33 of file Reading.cpp.
| virtual Reading* cop::Reading::Clone | ( | ) | [pure virtual] |
Copy the image
| Reading * Reading::ConvertTo | ( | ReadingType_t | type | ) |
Definition at line 85 of file Reading.cpp.
| virtual unsigned long cop::Reading::date | ( | ) | const [inline, virtual] |
| void cop::Reading::Free | ( | ) | [inline] |
| RelPose* cop::Reading::GetPose | ( | ) | const [inline] |
| ReadingType_t cop::Reading::GetType | ( | ) | const [inline] |
| void cop::Reading::Hold | ( | ) | [inline] |
| Reading * Reading::ReadingFactory | ( | XMLTag * | tag | ) | [static] |
Constructor Reading
| tag | contains a file name or similar information |
| char* | with an error message in case of failure |
Definition at line 47 of file Reading.cpp.
| virtual XMLTag* cop::Reading::Save | ( | ) | [pure virtual] |
Save the image in a file and put a string in the xml
| virtual void cop::Reading::SetData | ( | XMLTag * | tag | ) | [inline, virtual] |
| void Reading::SetPose | ( | RelPose * | parent | ) |
Set pose stamp of this image
Definition at line 67 of file Reading.cpp.
| unsigned long cop::Reading::m_timestamp |
std::map< std::pair< ReadingType_t, ReadingType_t >, ReadingConverter * > Reading::s_conv [static] |