mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
47
src/OpenGl/OpenGl_ImageBox.hxx
Executable file
47
src/OpenGl/OpenGl_ImageBox.hxx
Executable file
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* Fonction
|
||||
* ~~~~~~~~
|
||||
* Gestion des images sous OpenGL
|
||||
*
|
||||
*
|
||||
* Attention:
|
||||
* ~~~~~~~~~~~
|
||||
* Ce package a ete teste sur SGI, OSF, SUN, HP et WNT.
|
||||
*
|
||||
*
|
||||
* Historique des modifications
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
* 22-05-97: PCT ; creation
|
||||
* 19-06-98: FMN ; Portage Optimizer (C++)
|
||||
* 22-06-98: FGU ; Ajout ReadScaledImage et ReadSizeImage
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
#ifndef _OPENGL_IMAGEBOX_H__
|
||||
#define _OPENGL_IMAGEBOX_H__
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
/*
|
||||
* Prototypes
|
||||
*/
|
||||
|
||||
/*
|
||||
* Points d'entree Public du module
|
||||
*/
|
||||
|
||||
unsigned * read_texture(char *name, int *width, int *height, int *components);
|
||||
|
||||
void ReadScaledImage(char *file, int xsize, int ysize, char *buf, unsigned short *zsize);
|
||||
|
||||
void ReadSizeImage(char *, int *, int *);
|
||||
|
||||
void bwtorgba(unsigned char *b,unsigned char *l,int n);
|
||||
|
||||
void rgbtorgba(unsigned char *r,unsigned char *g,unsigned char *b,unsigned char *l,int n);
|
||||
|
||||
void rgbatorgba(unsigned char *r,unsigned char *g,unsigned char *b,unsigned char *a,unsigned char *l,int n);
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
#endif /* _OPENGL_IMAGEBOX_H__ */
|
Reference in New Issue
Block a user