You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
2.2 KiB
C++
61 lines
2.2 KiB
C++
/*=========================================================================
|
|
|
|
Program: Visualization Toolkit
|
|
Module: vtkFixedPointVolumeRayCastCompositeShadeHelper.h
|
|
Language: C++
|
|
|
|
Copyright (c) 1993-2002 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.
|
|
|
|
=========================================================================*/
|
|
|
|
/**
|
|
* @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
|
|
*/
|
|
|
|
#ifndef vtkFixedPointVolumeRayCastCompositeShadeHelper_h
|
|
#define vtkFixedPointVolumeRayCastCompositeShadeHelper_h
|
|
|
|
#include "vtkFixedPointVolumeRayCastHelper.h"
|
|
#include "vtkRenderingVolumeModule.h" // For export macro
|
|
|
|
class vtkFixedPointVolumeRayCastMapper;
|
|
class vtkVolume;
|
|
|
|
class VTKRENDERINGVOLUME_EXPORT vtkFixedPointVolumeRayCastCompositeShadeHelper
|
|
: public vtkFixedPointVolumeRayCastHelper
|
|
{
|
|
public:
|
|
static vtkFixedPointVolumeRayCastCompositeShadeHelper* New();
|
|
vtkTypeMacro(vtkFixedPointVolumeRayCastCompositeShadeHelper, vtkFixedPointVolumeRayCastHelper);
|
|
void PrintSelf(ostream& os, vtkIndent indent) override;
|
|
|
|
void GenerateImage(int threadID, int threadCount, vtkVolume* vol,
|
|
vtkFixedPointVolumeRayCastMapper* mapper) override;
|
|
|
|
protected:
|
|
vtkFixedPointVolumeRayCastCompositeShadeHelper();
|
|
~vtkFixedPointVolumeRayCastCompositeShadeHelper() override;
|
|
|
|
private:
|
|
vtkFixedPointVolumeRayCastCompositeShadeHelper(
|
|
const vtkFixedPointVolumeRayCastCompositeShadeHelper&) = delete;
|
|
void operator=(const vtkFixedPointVolumeRayCastCompositeShadeHelper&) = delete;
|
|
};
|
|
|
|
#endif
|