Medical Imaging Interaction Toolkit  2024.12.00
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
vtkNeverTranslucentTexture.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkNeverTranslucentTexture_h
14 #define mitkNeverTranslucentTexture_h
15 
16 #include <MitkCoreExports.h>
17 
18 #include <vtkOpenGLTexture.h>
19 
20 #include <vtkObjectFactory.h>
21 
47 /* NOT exported, this is a 2D image mapper helper */
48 
49 class MITKCORE_EXPORT vtkNeverTranslucentTexture : public vtkOpenGLTexture
50 {
51 public:
52  static vtkNeverTranslucentTexture *New();
53  vtkTypeMacro(vtkNeverTranslucentTexture, vtkOpenGLTexture);
54  void PrintSelf(ostream &os, vtkIndent indent) override;
55 
65  int IsTranslucent() override;
66 
67 protected:
69 
70 private:
71  vtkNeverTranslucentTexture(const vtkNeverTranslucentTexture &); // Not implemented.
72  void operator=(const vtkNeverTranslucentTexture &); // Not implemented.
73 };
74 
84 class vtkNeverTranslucentTextureFactory : public vtkObjectFactory
85 {
86 public:
88 
90  const char *GetVTKSourceVersion() override;
91  const char *GetDescription() override;
92 
93 protected:
96 };
97 
98 #endif
vtkNeverTranslucentTextureFactory::operator=
void operator=(const vtkNeverTranslucentTextureFactory &)
vtkNeverTranslucentTextureFactory
Factory for vtkNeverTranslucentTexture (see this class!).
Definition: vtkNeverTranslucentTexture.h:84
vtkNeverTranslucentTextureFactory::GetDescription
const char * GetDescription() override
MitkCoreExports.h
vtkNeverTranslucentTextureFactory::New
static vtkNeverTranslucentTextureFactory * New()
vtkNeverTranslucentTextureFactory::GetVTKSourceVersion
const char * GetVTKSourceVersion() override
vtkNeverTranslucentTextureFactory::vtkNeverTranslucentTextureFactory
vtkNeverTranslucentTextureFactory()
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15
vtkNeverTranslucentTexture
VTK Fix to speed up our image rendering.
Definition: vtkNeverTranslucentTexture.h:49