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.
60 lines
2.3 KiB
60 lines
2.3 KiB
/*=========================================================================
|
|
|
|
Program: Visualization Toolkit
|
|
Module: $RCSfile: vtkFixedPointVolumeRayCastCompositeGOShadeHelper.h,v $
|
|
Language: C++
|
|
Date: $Date: 2005/05/04 14:13:58 $
|
|
Version: $Revision: 1.1 $
|
|
|
|
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.
|
|
|
|
=========================================================================*/
|
|
|
|
// .NAME vtkFixedPointVolumeRayCastCompositeGOShadeHelper - A helper that generates composite images for the volume ray cast mapper
|
|
// .SECTION Description
|
|
// 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.
|
|
//
|
|
// .SECTION see also
|
|
// vtkFixedPointVolumeRayCastMapper
|
|
|
|
#ifndef __vtkFixedPointVolumeRayCastCompositeGOShadeHelper_h
|
|
#define __vtkFixedPointVolumeRayCastCompositeGOShadeHelper_h
|
|
|
|
#include "vtkFixedPointVolumeRayCastHelper.h"
|
|
|
|
class vtkFixedPointVolumeRayCastMapper;
|
|
class vtkVolume;
|
|
|
|
class VTK_VOLUMERENDERING_EXPORT vtkFixedPointVolumeRayCastCompositeGOShadeHelper : public vtkFixedPointVolumeRayCastHelper
|
|
{
|
|
public:
|
|
static vtkFixedPointVolumeRayCastCompositeGOShadeHelper *New();
|
|
vtkTypeRevisionMacro(vtkFixedPointVolumeRayCastCompositeGOShadeHelper,vtkFixedPointVolumeRayCastHelper);
|
|
void PrintSelf( ostream& os, vtkIndent indent );
|
|
|
|
virtual void GenerateImage( int threadID,
|
|
int threadCount,
|
|
vtkVolume *vol,
|
|
vtkFixedPointVolumeRayCastMapper *mapper);
|
|
|
|
protected:
|
|
vtkFixedPointVolumeRayCastCompositeGOShadeHelper();
|
|
~vtkFixedPointVolumeRayCastCompositeGOShadeHelper();
|
|
|
|
private:
|
|
vtkFixedPointVolumeRayCastCompositeGOShadeHelper(const vtkFixedPointVolumeRayCastCompositeGOShadeHelper&); // Not implemented.
|
|
void operator=(const vtkFixedPointVolumeRayCastCompositeGOShadeHelper&); // Not implemented.
|
|
};
|
|
|
|
#endif
|
|
|
|
|
|
|