VTK  9.0.1
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 #ifndef __VTK_WRAP__
19 
21 
22 #include "vtkNew.h"
23 
24 // Forward declarations
26 
38 {
39 public:
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
44 
45 protected:
47 
51  void InternalUpdate(vtkObject* func, int blendMode, double sampleDistance, double unitDistance,
52  int filterValue) override;
53 
59  vtkObject* func, int& width, int& height, vtkOpenGLRenderWindow* renWin) override;
60 
61 private:
65 };
66 
67 #endif // __VTK_WRAP__
68 #endif // vtkOpenGLVolumeMaskTransferFunction2D_h
69 // VTK-HeaderTest-Exclude: vtkOpenGLVolumeMaskGradientOpacityTransferFunction2D.h
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:62
vtkOpenGLVolumeMaskGradientOpacityTransferFunction2D::vtkOpenGLVolumeMaskGradientOpacityTransferFunction2D
vtkOpenGLVolumeMaskGradientOpacityTransferFunction2D()
vtkOpenGLVolumeMaskGradientOpacityTransferFunction2D::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkX3D::height
@ height
Definition: vtkX3D.h:260
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkOpenGLVolumeLookupTable
Base class for OpenGL texture management of scalar color, opacity and gradient opacity lookup tables.
Definition: vtkOpenGLVolumeLookupTable.h:35
vtkNew.h
vtkOpenGLVolumeMaskGradientOpacityTransferFunction2D::InternalUpdate
void InternalUpdate(vtkObject *func, int blendMode, double sampleDistance, double unitDistance, int filterValue) override
Update the internal texture object using the 2D image data.
vtkOpenGLVolumeMaskGradientOpacityTransferFunction2D
2D Transfer function container for label map mask gradient opacity.
Definition: vtkOpenGLVolumeMaskGradientOpacityTransferFunction2D.h:37
vtkOpenGLVolumeMaskGradientOpacityTransferFunction2D::New
static vtkOpenGLVolumeMaskGradientOpacityTransferFunction2D * New()
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition: vtkOpenGLRenderWindow.h:51
vtkOpenGLVolumeMaskGradientOpacityTransferFunction2D::ComputeIdealTextureSize
void ComputeIdealTextureSize(vtkObject *func, int &width, int &height, vtkOpenGLRenderWindow *renWin) override
Compute the ideal texture size based on the number of labels and transfer functions in the label map.
vtkOpenGLVolumeLookupTable.h