VTK  9.3.1
vtkOpenGLVolumeMaskGradientOpacityTransferFunction2D.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
3 
4 #ifndef vtkOpenGLVolumeMaskGradientOpacityTransferFunction2D_h
5 #define vtkOpenGLVolumeMaskGradientOpacityTransferFunction2D_h
6 
8 #include "vtkRenderingVolumeOpenGL2Module.h" // For export macro
9 
10 // Forward declarations
11 VTK_ABI_NAMESPACE_BEGIN
13 
24 class VTKRENDERINGVOLUMEOPENGL2_EXPORT vtkOpenGLVolumeMaskGradientOpacityTransferFunction2D
26 {
27 public:
29  void PrintSelf(ostream& os, vtkIndent indent) override;
30 
32 
33 protected:
35 
39  void InternalUpdate(vtkObject* func, int blendMode, double sampleDistance, double unitDistance,
40  int filterValue) override;
41 
47  vtkObject* func, int& width, int& height, vtkOpenGLRenderWindow* renWin) override;
48 
49 private:
52  void operator=(const vtkOpenGLVolumeMaskGradientOpacityTransferFunction2D&) = delete;
53 };
54 
55 VTK_ABI_NAMESPACE_END
56 #endif // vtkOpenGLVolumeMaskTransferFunction2D_h
OpenGL rendering window.
abstract base class for most VTK objects
Definition: vtkObject.h:51
Base class for OpenGL texture management of scalar color, opacity and gradient opacity lookup tables...
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual void InternalUpdate(vtkObject *func, int blendMode, double sampleDistance, double unitDistance, int filterValue)
Internal method to actually update the texture object.
virtual void ComputeIdealTextureSize(vtkObject *func, int &width, int &height, vtkOpenGLRenderWindow *renWin)
Compute ideal width and height for the texture based on function provided.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
2D Transfer function container for label map mask gradient opacity.