GPU-Accelerated Coverage  0.1.0
Compute coverage tours for known environment with articulated objects on GPU
Public Member Functions | Protected Types | Protected Attributes | List of all members
gpu_coverage::VideoTask Class Reference
Inheritance diagram for gpu_coverage::VideoTask:
Inheritance graph
[legend]

Public Member Functions

 VideoTask (Scene *const scene, const size_t threadNr, SharedData *const sharedData, const size_t startFrame, const size_t endFrame)
 
virtual void run ()
 Method doing the main work of the task.
 
- Public Member Functions inherited from gpu_coverage::AbstractTask
 AbstractTask (SharedData *const sharedData, const size_t threadNr)
 Constructor. More...
 
virtual ~AbstractTask ()
 Destructor.
 
virtual void finish ()
 Method called after all parallel tasks have finished their run() method.
 
bool isReady () const
 
void setSeed (unsigned int seed)
 

Protected Types

typedef std::vector< AbstractRenderer * > Renderers
 

Protected Attributes

Scene *const scene
 
const size_t startFrame
 
const size_t endFrame
 
const size_t captureFrame
 
const bool writeVideo
 
Renderers renderers
 
TexturecostmapTexture
 
int pbufferWidth
 
int pbufferHeight
 
int panoWidth
 
int panoHeight
 
cv::Mat mat
 
cv::Mat flip
 
cv::Mat panoMat
 
cv::Mat panoFlip
 
cv::VideoWriter * outputVideo
 
cv::VideoWriter * outputCubemapVideo
 
GLuint panoTexture
 
- Protected Attributes inherited from gpu_coverage::AbstractTask
const size_t threadNr
 Thread number.
 
bool ready
 Set to true when renderer is ready, see isReady().
 
SharedData *const sharedData
 Task synchronization objects.
 
unsigned int seed
 Random seed.
 

The documentation for this class was generated from the following file: