3dpcp/include/slam6d/frame.h
2012-09-16 14:33:11 +02:00

21 lines
No EOL
472 B
C++

#ifndef FRAME_H
#define FRAME_H
/**
* @brief Simple frame class containing a transformation and type
*/
class Frame {
public:
double transformation[16];
unsigned int type;
Frame() {}
Frame(double* transformation, unsigned int type) { set(transformation, type); }
void set(double* transformation, unsigned int type) {
for(unsigned int i = 0; i < 16; ++i)
this->transformation[i] = transformation[i];
this->type = type;
}
};
#endif //FRAME_H