vtkImageRenderManager.h 1.83 KB
Newer Older
Francois Bertel's avatar
Francois Bertel committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
/*=========================================================================

  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.

=========================================================================*/
15 16 17 18 19 20 21 22 23 24 25 26 27 28
/**
 * @class   vtkImageRenderManager
 * @brief   An object to control sort-first parallel rendering.
 *
 *
 * 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.
 * @sa
 * vtkCompositeRGBAPass
*/
Francois Bertel's avatar
Francois Bertel committed
29

30 31
#ifndef vtkImageRenderManager_h
#define vtkImageRenderManager_h
Francois Bertel's avatar
Francois Bertel committed
32

33
#include "vtkRenderingParallelModule.h" // For export macro
Francois Bertel's avatar
Francois Bertel committed
34 35
#include "vtkParallelRenderManager.h"

36
class VTKRENDERINGPARALLEL_EXPORT vtkImageRenderManager : public vtkParallelRenderManager
Francois Bertel's avatar
Francois Bertel committed
37 38
{
public:
39
  vtkTypeMacro(vtkImageRenderManager, vtkParallelRenderManager);
Francois Bertel's avatar
Francois Bertel committed
40 41 42 43 44 45 46 47 48 49 50
  static vtkImageRenderManager *New();
  virtual void PrintSelf(ostream &os, vtkIndent indent);

protected:
  vtkImageRenderManager();
  ~vtkImageRenderManager();

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

private:
51
  vtkImageRenderManager(const vtkImageRenderManager &) VTK_DELETE_FUNCTION;
52
  void operator=(const vtkImageRenderManager &) VTK_DELETE_FUNCTION;
Francois Bertel's avatar
Francois Bertel committed
53 54
};

55
#endif //vtkImageRenderManager_h