Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef mitkNeverTranslucentTexture_h
18 #define mitkNeverTranslucentTexture_h
19 
20 #include <MitkCoreExports.h>
21 
22 #include <vtkOpenGLTexture.h>
23 
24 #include <vtkObjectFactory.h>
25 
51 /* NOT exported, this is a 2D image mapper helper */
52 
53 class MITKCORE_EXPORT vtkNeverTranslucentTexture : public vtkOpenGLTexture
54 {
55 public:
57  vtkTypeMacro(vtkNeverTranslucentTexture, vtkTexture);
58  void PrintSelf(ostream &os, vtkIndent indent) override;
59 
69  virtual int IsTranslucent() override;
70 
71 protected:
73 
74 private:
75  vtkNeverTranslucentTexture(const vtkNeverTranslucentTexture &); // Not implemented.
76  void operator=(const vtkNeverTranslucentTexture &); // Not implemented.
77 };
78 
88 class vtkNeverTranslucentTextureFactory : public vtkObjectFactory
89 {
90 public:
92 
94  virtual const char *GetVTKSourceVersion() override;
95  const char *GetDescription() override;
96 
97 protected:
100 };
101 
102 #endif
VTK Fix to speed up our image rendering.
#define MITKCORE_EXPORT
static vtkNeverTranslucentTextureFactory * New()
Factory for vtkNeverTranslucentTexture (see this class!).
void operator=(const vtkNeverTranslucentTextureFactory &)
virtual const char * GetVTKSourceVersion() override
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.