VTK  9.2.6
vtkOpenGLVolumeMaskGradientOpacityTransferFunction2D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLVolumeMaskGradientOpacityTransferFunction2D.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 vtkOpenGLVolumeMaskGradientOpacityTransferFunction2D_h
17 #define vtkOpenGLVolumeMaskGradientOpacityTransferFunction2D_h
18 
20 #include "vtkRenderingVolumeOpenGL2Module.h" // For export macro
21 
22 // Forward declarations
24 
35 class VTKRENDERINGVOLUMEOPENGL2_EXPORT vtkOpenGLVolumeMaskGradientOpacityTransferFunction2D
37 {
38 public:
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
43 
44 protected:
46 
50  void InternalUpdate(vtkObject* func, int blendMode, double sampleDistance, double unitDistance,
51  int filterValue) override;
52 
58  vtkObject* func, int& width, int& height, vtkOpenGLRenderWindow* renWin) override;
59 
60 private:
63  void operator=(const vtkOpenGLVolumeMaskGradientOpacityTransferFunction2D&) = delete;
64 };
65 
66 #endif // vtkOpenGLVolumeMaskTransferFunction2D_h
OpenGL rendering window.
abstract base class for most VTK objects
Definition: vtkObject.h:62
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:39
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.