VTK
9.2.6
Rendering
VolumeOpenGL2
vtkOpenGLVolumeGradientOpacityTable.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkOpenGLVolumeGradientOpacityTable.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
15
16
#ifndef vtkOpenGLVolumeGradientOpacityTable_h
17
#define vtkOpenGLVolumeGradientOpacityTable_h
18
19
#include "
vtkOpenGLVolumeLookupTable.h
"
20
#include "vtkRenderingVolumeOpenGL2Module.h"
// For export macro
21
22
// Forward declarations
23
class
vtkOpenGLRenderWindow
;
24
25
//----------------------------------------------------------------------------
26
class
VTKRENDERINGVOLUMEOPENGL2_EXPORT
vtkOpenGLVolumeGradientOpacityTable
27
:
public
vtkOpenGLVolumeLookupTable
28
{
29
public
:
30
vtkTypeMacro(
vtkOpenGLVolumeGradientOpacityTable
,
vtkOpenGLVolumeLookupTable
);
31
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
32
33
static
vtkOpenGLVolumeGradientOpacityTable
*
New
();
34
35
protected
:
36
vtkOpenGLVolumeGradientOpacityTable
() =
default
;
37
42
void
InternalUpdate
(
vtkObject
* func,
int
blendMode,
double
sampleDistance,
double
unitDistance,
43
int
filterValue)
override
;
44
45
private
:
46
vtkOpenGLVolumeGradientOpacityTable
(
const
vtkOpenGLVolumeGradientOpacityTable
&) =
delete
;
47
void
operator=(
const
vtkOpenGLVolumeGradientOpacityTable
&) =
delete
;
48
};
49
50
#endif
// vtkOpenGLVolumeGradientOpacityTable_h
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:40
vtkObject::vtkObject
vtkObject()
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition
vtkOpenGLRenderWindow.h:57
vtkOpenGLVolumeGradientOpacityTable::New
static vtkOpenGLVolumeGradientOpacityTable * New()
vtkOpenGLVolumeGradientOpacityTable::InternalUpdate
void InternalUpdate(vtkObject *func, int blendMode, double sampleDistance, double unitDistance, int filterValue) override
Update the internal texture object using the gradient opacity transfer function.
vtkOpenGLVolumeGradientOpacityTable::vtkOpenGLVolumeGradientOpacityTable
vtkOpenGLVolumeGradientOpacityTable()=default
vtkOpenGLVolumeGradientOpacityTable::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkOpenGLVolumeLookupTable::vtkOpenGLVolumeLookupTable
vtkOpenGLVolumeLookupTable()=default
vtkOpenGLVolumeLookupTable.h
Generated on Sun Mar 23 2025 00:00:00 for VTK by
1.13.2