/*=========================================================================

  Program:   Visualization Toolkit
  Module:    vtkImageRenderManager.h

  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 vtkImageRenderManager - An object to control sort-first parallel rendering.
//
// .SECTION Description:
// vtkImageRenderManager is a subclass of vtkParallelRenderManager that
// uses RGBA compositing (blending) to do parallel rendering.
// This is the exact opposite of vtkCompositeRenderManager.
// It actually does nothing special. It relies on the rendering pipeline to be
// initialized with a vtkCompositeRGBAPass.
// Compositing makes sense only for renderers in layer 0.
// .SECTION See Also
// vtkCompositeRGBAPass

#ifndef __vtkImageRenderManager_h
#define __vtkImageRenderManager_h

#include "vtkParallelRenderManager.h"

class VTK_PARALLEL_EXPORT vtkImageRenderManager : public vtkParallelRenderManager
{
public:
  vtkTypeMacro(vtkImageRenderManager, vtkParallelRenderManager);
  static vtkImageRenderManager *New();
  virtual void PrintSelf(ostream &os, vtkIndent indent);

protected:
  vtkImageRenderManager();
  ~vtkImageRenderManager();

  virtual void PreRenderProcessing();
  virtual void PostRenderProcessing();

private:
  vtkImageRenderManager(const vtkImageRenderManager &);//Not implemented
  void operator=(const vtkImageRenderManager &);  //Not implemented
};

#endif //__vtkImageRenderManager_h
