-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvtkMultiTextureObjectHelper.h
More file actions
25 lines (18 loc) · 903 Bytes
/
Copy pathvtkMultiTextureObjectHelper.h
File metadata and controls
25 lines (18 loc) · 903 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//
// Created by ruoyan on 03.05.23.
//
#ifndef VTKMULTITEXTUREOBJECTHELPER__VTKMULTITEXTUREOBJECTHELPER_H_
#define VTKMULTITEXTUREOBJECTHELPER__VTKMULTITEXTUREOBJECTHELPER_H_
// VTK includes
#include <vtkTextureObject.h>
class vtkOpenGLHelper;
class VTKRENDERINGOPENGL2_EXPORT vtkMultiTextureObjectHelper : public vtkTextureObject {
public:
static vtkMultiTextureObjectHelper* New();
vtkTypeMacro(vtkMultiTextureObjectHelper, vtkTextureObject);
void PrintSelf(ostream& os, vtkIndent indent) override;
bool CreateSeq3DFromRaw(unsigned int width, unsigned int height, unsigned int depth,
int numComps, int dataType, void* data, int texUnit=0);
bool CreateSeq2DFromRaw(unsigned int width, unsigned int height, int numComps, int dataType, void* data, int texUnit=0);
void CreateSeqTexture(int texUnit=0);
#endif //VTKMULTITEXTUREOBJECTHELPER__VTKMULTITEXTUREOBJECTHELPER_H_