vtkFixedPointVolumeRayCastCompositeShadeHelper.h 2.16 KB
Newer Older
1 2 3 4 5 6
/*=========================================================================

  Program:   Visualization Toolkit
  Module:    vtkFixedPointVolumeRayCastCompositeShadeHelper.h
  Language:  C++

7
  Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
8 9 10
  All rights reserved.
  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.

11 12
     This software is distributed WITHOUT ANY WARRANTY; without even
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13 14 15 16
     PURPOSE.  See the above copyright notice for more information.

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

17 18 19 20 21 22 23 24 25 26 27
/**
 * @class   vtkFixedPointVolumeRayCastCompositeShadeHelper
 * @brief   A helper that generates composite images for the volume ray cast mapper
 *
 * This is one of the helper classes for the vtkFixedPointVolumeRayCastMapper.
 * It will generate composite images using an alpha blending operation.
 * This class should not be used directly, it is a helper class for
 * the mapper and has no user-level API.
 *
 * @sa
 * vtkFixedPointVolumeRayCastMapper
28
 */
29

30 31
#ifndef vtkFixedPointVolumeRayCastCompositeShadeHelper_h
#define vtkFixedPointVolumeRayCastCompositeShadeHelper_h
32 33

#include "vtkFixedPointVolumeRayCastHelper.h"
34
#include "vtkRenderingVolumeModule.h" // For export macro
35 36 37 38

class vtkFixedPointVolumeRayCastMapper;
class vtkVolume;

39 40
class VTKRENDERINGVOLUME_EXPORT vtkFixedPointVolumeRayCastCompositeShadeHelper
  : public vtkFixedPointVolumeRayCastHelper
41 42
{
public:
43 44 45
  static vtkFixedPointVolumeRayCastCompositeShadeHelper* New();
  vtkTypeMacro(vtkFixedPointVolumeRayCastCompositeShadeHelper, vtkFixedPointVolumeRayCastHelper);
  void PrintSelf(ostream& os, vtkIndent indent) override;
46

47 48
  void GenerateImage(int threadID, int threadCount, vtkVolume* vol,
    vtkFixedPointVolumeRayCastMapper* mapper) override;
49 50 51

protected:
  vtkFixedPointVolumeRayCastCompositeShadeHelper();
52
  ~vtkFixedPointVolumeRayCastCompositeShadeHelper() override;
53 54

private:
55 56
  vtkFixedPointVolumeRayCastCompositeShadeHelper(
    const vtkFixedPointVolumeRayCastCompositeShadeHelper&) = delete;
57
  void operator=(const vtkFixedPointVolumeRayCastCompositeShadeHelper&) = delete;
58 59 60
};

#endif