24 #ifndef __vtkOpenGLTextureImage_h 25 #define __vtkOpenGLTextureImage_h 30 #include "vtkOpenGL.h" 32 #include "vtkImageData.h" 65 virtual void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
77 vtkGetObjectMacro(ImageData, vtkImageData);
78 vtkSetObjectMacro(ImageData, vtkImageData);
86 vtkGetMacro(TextureName, vtkTypeUInt32);
90 vtkGetMacro(Interpolate,
int);
91 vtkSetMacro(Interpolate,
int);
106 void Activate(vtkTypeUInt32 unit);
110 bool UpdateTexture();
125 ColorAttachmentPoint = 0,
128 DepthStencilAttachmentPoint
130 void AttachAsDrawTarget(
int layer=0,
int attachement=0,
int attachmentIndex=0);
146 static GLenum vtkScalarTypeToGLType(
int vtk_scalar_type);
159 vtkImageData *ImageData;
160 vtkTypeUInt32 TextureName;
162 unsigned long TextureMTime;