VTK
9.1.0
Rendering
VolumeOpenGL2
vtkOpenGLVolumeRGBTable.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkOpenGLVolumeRGBTable.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 vtkOpenGLVolumeRGBTable_h
17
#define vtkOpenGLVolumeRGBTable_h
18
#ifndef __VTK_WRAP__
19
20
#include "
vtkOpenGLVolumeLookupTable.h
"
21
#include "vtkRenderingVolumeOpenGL2Module.h"
// For export macro
22
23
// Forward declarations
24
class
vtkOpenGLRenderWindow
;
25
26
//----------------------------------------------------------------------------
27
class
VTKRENDERINGVOLUMEOPENGL2_EXPORT
vtkOpenGLVolumeRGBTable
:
public
vtkOpenGLVolumeLookupTable
28
{
29
public
:
30
vtkTypeMacro(
vtkOpenGLVolumeRGBTable
,
vtkOpenGLVolumeLookupTable
);
31
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
32
33
static
vtkOpenGLVolumeRGBTable
*
New
();
34
35
protected
:
36
vtkOpenGLVolumeRGBTable
();
37
41
void
InternalUpdate
(
vtkObject
* func,
int
blendMode,
double
sampleDistance,
double
unitDistance,
42
int
filterValue)
override
;
43
44
private
:
45
vtkOpenGLVolumeRGBTable
(
const
vtkOpenGLVolumeRGBTable
&) =
delete
;
46
void
operator=(
const
vtkOpenGLVolumeRGBTable
&) =
delete
;
47
};
48
49
#endif // __VTK_WRAP__
50
#endif // vtkOpenGLVolumeRGBTable_h
vtkOpenGLVolumeRGBTable::InternalUpdate
void InternalUpdate(vtkObject *func, int blendMode, double sampleDistance, double unitDistance, int filterValue) override
Update the internal texture object using the color transfer function.
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:82
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:113
vtkOpenGLVolumeRGBTable
Definition:
vtkOpenGLVolumeRGBTable.h:28
vtkOpenGLVolumeLookupTable
Base class for OpenGL texture management of scalar color, opacity and gradient opacity lookup tables.
Definition:
vtkOpenGLVolumeLookupTable.h:37
vtkOpenGLVolumeRGBTable::New
static vtkOpenGLVolumeRGBTable * New()
vtkOpenGLVolumeRGBTable::vtkOpenGLVolumeRGBTable
vtkOpenGLVolumeRGBTable()
vtkOpenGLVolumeRGBTable::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition:
vtkOpenGLRenderWindow.h:83
vtkOpenGLVolumeLookupTable.h
Generated on Fri Nov 5 2021 00:11:18 for VTK by
1.8.20