1 #ifndef NUITRACK_FRAME_H_ 
    2 #define NUITRACK_FRAME_H_ 
    4 #include "nuitrack/types/ObjectData.h" 
   14 template<
typename TImpl, 
typename TData>
 
   18     typedef TData DataType;
 
   25     virtual int getRows() 
const = 0;
 
   30     virtual int getCols() 
const = 0;
 
   35     virtual uint64_t 
getID() 
const = 0;
 
   40     virtual const DataType* 
getData() 
const = 0;
 
Generalized template for data with a timestamp. 
Definition: ObjectData.h:39
 
virtual uint64_t getID() const =0
Returns the frame ID. 
 
Represents a generalized frame. 
Definition: Frame.h:15
 
virtual int getCols() const =0
Returns the number of columns in the frame. 
 
virtual int getRows() const =0
Returns the number of rows in the frame. 
 
virtual const DataType * getData() const =0
Returns the frame data.