3dpcp/.svn/pristine/fb/fbd61f7e8c377d327a980c1f6ded7424129e248c.svn-base

21 lines
472 B
Text
Raw Normal View History

2012-09-16 12:33:11 +00:00
#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