Cloned library of VTK-5.0.0 with extra build files for internal package management.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

66 lines
2.0 KiB

/*=========================================================================
Program: Visualization Toolkit
Module: $RCSfile: vtkCompositeRenderManager.h,v $
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
// .NAME vtkCompositeRenderManager - An object to control sort-last parallel rendering.
//
// .SECTION Description:
// vtkCompositeRenderManager is a subclass of vtkParallelRenderManager that
// uses compositing to do parallel rendering. This class has
// replaced vtkCompositeManager.
//
#ifndef __vtkCompositeRenderManager_h
#define __vtkCompositeRenderManager_h
#include "vtkParallelRenderManager.h"
class vtkCompositer;
class vtkFloatArray;
class VTK_PARALLEL_EXPORT vtkCompositeRenderManager : public vtkParallelRenderManager
{
public:
vtkTypeRevisionMacro(vtkCompositeRenderManager, vtkParallelRenderManager);
static vtkCompositeRenderManager *New();
virtual void PrintSelf(ostream &os, vtkIndent indent);
// Description:
// Set/Get the composite algorithm.
void SetCompositer(vtkCompositer *c);
vtkGetObjectMacro(Compositer, vtkCompositer);
// Description:
// Get rendering metrics.
vtkGetMacro(ImageProcessingTime, double);
protected:
vtkCompositeRenderManager();
~vtkCompositeRenderManager();
vtkCompositer *Compositer;
virtual void PreRenderProcessing();
virtual void PostRenderProcessing();
vtkFloatArray *DepthData;
vtkUnsignedCharArray *TmpPixelData;
vtkFloatArray *TmpDepthData;
private:
vtkCompositeRenderManager(const vtkCompositeRenderManager &);//Not implemented
void operator=(const vtkCompositeRenderManager &); //Not implemented
};
#endif //__vtkCompositeRenderManager_h